Module ImportFrom alias Import alias Import alias Import alias ImportFrom alias alias alias alias alias alias alias alias alias alias alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Assign NameStore Call NameLoad Call NameLoad Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call NameLoad Call NameLoad Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call NameLoad Call NameLoad Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call NameLoad Call NameLoad Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call NameLoad keyword NameLoad decorator_list ClassDef bases NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad keyword Num Assign NameStore Call NameLoad Call NameLoad Str decorator_list ClassDef bases NameLoad body Assign NameStore Call NameLoad keyword Num keyword Str keyword NameLoad Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad Call NameLoad Assign NameStore Call NameLoad Call NameLoad Call NameLoad Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call NameLoad keyword NameLoad FunctionDef arguments args NameParam defaults body Return ListComp BinOpMod Str NameLoad comprehension NameStore AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore BinOpAdd ListComp Call AttributeLoad NameLoad attr NameLoad NameLoad comprehension NameStore AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return BinOpMod Str AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Call NameLoad NameLoad keyword NameLoad Assign NameStore Call NameLoad Call NameLoad Assign NameStore Call NameLoad keyword NameLoad FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Call NameLoad keyword Num keyword Str keyword NameLoad Assign NameStore Call NameLoad keyword Num keyword Str Assign NameStore Call NameLoad Call NameLoad NameLoad keyword Str Assign NameStore Call NameLoad Call NameLoad NameLoad keyword Str Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call NameLoad Call NameLoad NameLoad Assign NameStore Call NameLoad Call NameLoad NameLoad Assign NameStore Call NameLoad Call NameLoad Str FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body For NameStore AttributeLoad NameLoad attr body If CompareEq AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad GeneratorExp AttributeLoad AttributeLoad NameLoad attr attr comprehension NameStore AttributeLoad NameLoad attr ListLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore ListLoad For NameStore NameLoad body If UnaryOpNot Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Continue Assign NameStore BinOpAdd Str Str Expr Call AttributeLoad NameLoad attr BinOpMod NameLoad SubscriptLoad NameLoad Slice Call NameLoad Str Return Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Call NameLoad Call NameLoad GeneratorExp NameLoad comprehension NameStore AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults Num body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Return BinOpBitOr Call NameLoad ListComp NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr CompareGtE NameLoad NameLoad Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad attr Str attr If NameLoad body Return NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad attr Str attr If NameLoad body Expr Call AttributeLoad Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num BinOpSub Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Num If NameLoad body Return SubscriptLoad NameLoad Index Num Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body If CompareNotEq AttributeLoad NameLoad attr Num body Return Str Return Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr attr decorator_list NameLoad decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad If NameLoad body Return Call AttributeLoad NameLoad attr Str Str Return Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore Dict For NameStore Call AttributeLoad NameLoad attr keyword NameLoad body For NameStore SubscriptLoad NameLoad Index Str body Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad NameLoad Index Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Return AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Call NameLoad keyword Num keyword Str keyword NameLoad Assign NameStore Call NameLoad keyword Num keyword Str Assign NameStore Call NameLoad keyword Num Assign NameStore Call NameLoad Call NameLoad NameLoad Assign NameStore Call NameLoad Call NameLoad keyword Num Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call NameLoad keyword Num keyword Str Assign NameStore Call NameLoad NameLoad keyword NameLoad Assign NameStore Call NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad keyword Num keyword Str Assign NameStore Dict Str NameLoad FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Call NameLoad keyword Num Assign NameStore Call NameLoad NameLoad keyword NameLoad Assign NameStore Call NameLoad Call NameLoad NameLoad Assign NameStore Call NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list decorator_list
N/A collections Counter N/A datetime N/A random N/A jinja2 mongoengine StringField IntField DateTimeField ListField BooleanField ReferenceField EmbeddedDocument EmbeddedDocumentField FloatField CASCADE QuerySet flask.ext.mongoengine Document user User Features N/A EmbeddedDocument N/A N/A histogram_clean N/A ListField N/A IntField N/A height_mm N/A FloatField required True N/A histogram_full N/A ListField N/A IntField N/A width_mm N/A FloatField required True N/A area N/A IntField required True N/A dominant_colours N/A ListField N/A StringField N/A solidity N/A FloatField required True N/A colour_names N/A ListField N/A StringField N/A ratio N/A FloatField required True N/A width N/A IntField required True N/A height N/A IntField required True N/A ShredTags N/A EmbeddedDocument N/A N/A user N/A ReferenceField User N/A tags N/A ListField N/A StringField N/A recognizable_chars N/A StringField N/A angle N/A IntField default 0 N/A pages N/A ListField N/A ReferenceField Pages N/A Shred N/A Document N/A N/A id N/A StringField max_length 200 default primary_key True N/A name N/A IntField required True N/A features N/A EmbeddedDocumentField Features N/A tags N/A ListField N/A StringField N/A contour N/A ListField N/A ListField N/A IntField N/A sheet N/A StringField required True N/A piece_fname N/A StringField required True N/A piece_in_context_fname N/A StringField required True N/A mask_fname N/A StringField required True _feature_tags N/A N/A self N/A N/A N/A N/A N/A color:%s c N/A c N/A N/A self features dominant_colours N/A auto_tags N/A N/A self N/A N/A N/A mapping N/A N/A N/A Tags objects get_tag_synonyms N/A auto N/A N/A N/A N/A mapping get suggestion suggestion N/A suggestion N/A self tags N/A N/A self _feature_tags N/A auto N/A property __unicode__ N/A N/A self N/A N/A N/A N/A Shred: %s N/A self id N/A N/A ClusterMember N/A EmbeddedDocument N/A N/A Describes shred membership within a cluster.

    Relative shred position is stored as rotation angle (in radians) and
    (x, y) translation relative to cluster origin.
     N/A shred N/A ReferenceField Shred required True N/A position N/A ListField N/A FloatField N/A angle N/A FloatField required True __unicode__ N/A N/A self N/A N/A N/A N/A N/A self shred id N/A N/A Cluster N/A Document N/A N/A Cluster of one or more shreds.

    Shred membership described with a ClusterMember embedded document, which
    contains a reference to the shred and its relative position and angle in a
    cluster.

    Cluster also contains user-generated tagging results (tags field).
     N/A id N/A StringField max_length 200 default primary_key True N/A users_count N/A IntField default 0 db_field usersCount N/A users_skipped N/A ListField N/A ReferenceField User db_field usersSkipped N/A users_processed N/A ListField N/A ReferenceField User db_field usersProcessed N/A batch N/A StringField required True N/A tags N/A ListField N/A EmbeddedDocumentField ShredTags N/A members N/A ListField N/A EmbeddedDocumentField ClusterMember N/A parents N/A ListField N/A ReferenceField Cluster __unicode__ N/A N/A self N/A N/A N/A N/A self id N/A features N/A N/A self N/A N/A N/A N/A N/A N/A N/A self members N/A 0 shred features N/A property get_user_tags N/A N/A self user N/A N/A N/A shred_tags N/A self tags N/A N/A N/A N/A N/A shred_tags user id N/A user pk N/A N/A shred_tags N/A None N/A auto_tags N/A N/A self N/A N/A N/A N/A sum N/A N/A N/A member shred auto_tags N/A member N/A self members N/A N/A property render_auto_tags N/A N/A self N/A N/A N/A auto_tags N/A self auto_tags N/A res N/A N/A t auto_tags N/A N/A N/A N/A N/A t startswith color: N/A N/A N/A N/A res append N/A N/A jinja2 escape t N/A N/A color_tmpl N/A <span style='height:15px;width:40px;background-color:#%s;display:inline-block'> &nbsp;</span> N/A N/A N/A res append N/A color_tmpl N/A t N/A N/A len color: N/A N/A N/A jinja2 Markup N/A N/A ,  join res N/A property all_tags N/A N/A self N/A N/A N/A N/A sorted N/A set N/A t N/A st N/A self tags N/A t N/A st tags N/A property get_repeated_tags N/A N/A self repeats N/A 2 N/A N/A tags_counts N/A Counter N/A self all_tags N/A N/A N/A set N/A tag N/A N/A tag count N/A N/A tags_counts items N/A count repeats N/A set N/A self auto_tags N/A next_for_user N/A N/A user users_per_shred N/A N/A N/A cluster N/A N/A N/A N/A N/A N/A Cluster objects users_processed__ne N/A user id users_skipped__ne N/A user id users_count__lte users_per_shred order_by users_count first N/A cluster N/A N/A cluster N/A cluster N/A N/A N/A N/A N/A N/A Cluster objects users_skipped N/A user id users_count__lte users_per_shred order_by users_count first N/A cluster N/A N/A N/A N/A N/A N/A Cluster objects id N/A cluster id update_one pull__users_skipped N/A user id N/A cluster N/A staticmethod get_some N/A N/A cls batch N/A None N/A N/A qs N/A cls objects N/A N/A batch None N/A N/A qs N/A N/A qs filter batch batch N/A num N/A N/A random randint 0 N/A N/A N/A qs count 1 N/A some_clusters N/A N/A N/A N/A qs skip num limit 1 N/A some_clusters N/A N/A N/A some_clusters N/A 0 N/A None N/A classmethod num_members N/A N/A self N/A N/A N/A N/A len N/A self members N/A property image_html N/A N/A self N/A N/A N/A N/A N/A self num_members 1 N/A N/A N/A N/A N/A jinja2 Markup N/A <img src="%s" /> N/A N/A N/A N/A self members N/A 0 shred piece_fname N/A property N/A TagsQS N/A QuerySet N/A N/A _synonyms_cache None get_base_tags N/A N/A self order_by_category N/A False N/A N/A qs N/A N/A self filter is_base True N/A order_by_category N/A N/A N/A N/A qs order_by category -usages N/A N/A N/A qs order_by -usages N/A get_tag_synonyms N/A N/A self N/A N/A N/A N/A N/A self _synonyms_cache None N/A N/A mapping N/A N/A t N/A N/A self filter synonyms__exists True N/A N/A s N/A t N/A synonyms N/A N/A N/A mapping N/A s N/A t N/A title N/A N/A N/A self __class__ _synonyms_cache mapping N/A N/A self _synonyms_cache N/A N/A Tags N/A Document N/A N/A title N/A StringField max_length 200 default primary_key True N/A description N/A StringField max_length 200 default N/A usages N/A IntField default 0 N/A shreds N/A ListField N/A ReferenceField Cluster N/A synonyms N/A ListField N/A StringField max_length 200 N/A is_base N/A BooleanField default True N/A category N/A StringField max_length 200 default N/A created_by N/A ReferenceField User reverse_delete_rule CASCADE N/A created_at N/A DateTimeField default N/A N/A datetime datetime now N/A hotkey N/A StringField max_length 10 default N/A meta N/A queryset_class TagsQS __unicode__ N/A N/A self N/A N/A N/A N/A self title N/A N/A Pages N/A Document N/A N/A name N/A StringField max_length 200 N/A created_by N/A ReferenceField User reverse_delete_rule CASCADE N/A shreds N/A ListField N/A ReferenceField Cluster N/A created N/A DateTimeField default N/A N/A datetime datetime now __unicode__ N/A N/A self N/A N/A N/A N/A self name N/A N/A