Popular recipes by Simeon Shpiz http://code.activestate.com/recipes/users/4178609/2012-07-29T13:01:39-07:00ActiveState Code RecipesRepresenting a Graph with different connection types on GAE using PolyModel (Python) 2012-07-29T13:01:39-07:00Simeon Shpizhttp://code.activestate.com/recipes/users/4178609/http://code.activestate.com/recipes/578229-representing-a-graph-with-different-connection-typ/ <p style="color: grey"> Python recipe 578229 by <a href="/recipes/users/4178609/">Simeon Shpiz</a> (<a href="/recipes/tags/appengine/">appengine</a>). Revision 3. </p> <p>A recipe to represent a Directed Graph between different Entities (models), such that different connection types are supported. Allows for easy querying on connections. For example a social graph with Users and Images as entities; the connections are Follow and Like</p> handling embedded email images in python (Python) 2011-10-26T15:31:45-07:00Simeon Shpizhttp://code.activestate.com/recipes/users/4178609/http://code.activestate.com/recipes/577923-handling-embedded-email-images-in-python/ <p style="color: grey"> Python recipe 577923 by <a href="/recipes/users/4178609/">Simeon Shpiz</a> (<a href="/recipes/tags/appengine/">appengine</a>, <a href="/recipes/tags/email/">email</a>, <a href="/recipes/tags/embedded_image/">embedded_image</a>, <a href="/recipes/tags/python/">python</a>). Revision 2. </p> <p>this code finds all embedded images in the email and replaces them with an appropriate img tag.</p>