Module Import alias Import alias Import alias Import alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad keyword NameLoad keyword SubscriptLoad NameLoad Index Str keyword NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Return NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Call AttributeLoad Call NameLoad NameLoad attr attr decorator_list Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If CompareEq AttributeLoad NameLoad attr Str body Return Call AttributeLoad Call AttributeLoad Call NameLoad NameLoad attr NameLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call NameLoad NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad Return AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str keyword ListLoad Str Str Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Num Return NameLoad decorator_list Call AttributeLoad NameLoad attr Str keyword ListLoad Str Str FunctionDef arguments args NameParam NameParam defaults body Return BinOpAdd BinOpAdd NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Assign SubscriptStore NameLoad Index Str Str Assign SubscriptStore NameLoad Index Str ListLoad Dict Str SubscriptLoad NameLoad Index Str Dict Str Call NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Expr Call NameLoad Num Str Return Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad keyword Num keyword Str Return NameLoad decorator_list Call AttributeLoad NameLoad attr Str keyword ListLoad Str If CompareEq NameLoad Str body Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Expr Call AttributeLoad NameLoad attr keyword Str keyword NameLoad
N/A N/A os N/A json N/A base64 N/A hmac hashlib redis Redis rq Queue flask Flask request abort make_response Response boto.s3.connection S3Connection zinc.catalog ZincCatalogPathHelper zinc.services ZincCatalog zinc.coordinators.redis RedisCatalogCoordinator zinc.storages.aws S3StorageBackend config CONFIG N/A API_VERSION 1.0 N/A REDIS_URL N/A N/A N/A os environ get REDISTOGO_URL redis://localhost:6379 N/A REDIS N/A N/A Redis from_url REDIS_URL N/A S3 N/A S3Connection N/A CONFIG N/A aws_key N/A CONFIG N/A aws_secret N/A Coordinator N/A RedisCatalogCoordinator redis REDIS N/A Q N/A Queue connection REDIS N/A Jobs N/A dict N/A Catalogs N/A dict N/A app N/A Flask __name__ get_catalog N/A N/A catalog_id N/A N/A N/A catalog N/A N/A Catalogs get catalog_id N/A N/A catalog None N/A N/A storage N/A S3StorageBackend s3connection S3 bucket N/A CONFIG N/A s3_bucket prefix catalog_id N/A catalog N/A ZincCatalog coordinator Coordinator storage storage N/A N/A Catalogs N/A catalog_id catalog N/A catalog N/A after_request N/A N/A response N/A N/A N/A N/A N/A N/A response headers add X-Zinc-API-Version API_VERSION N/A response N/A N/A app after_request catalog_index N/A N/A catalog_id N/A N/A N/A N/A N/A N/A N/A N/A get_catalog catalog_id get_index to_bytes N/A N/A N/A app route /<catalog_id> N/A N/A app route /<catalog_id>/index.json manifest N/A N/A catalog_id bundle version N/A None N/A N/A N/A N/A request method GET N/A N/A N/A N/A N/A N/A N/A get_catalog catalog_id get_manifest bundle version to_bytes N/A N/A N/A request method POST N/A N/A catalog N/A get_catalog catalog_id N/A filelist N/A N/A request form N/A files N/A force True N/A job N/A N/A Q enqueue N/A catalog update_bundle bundle filelist force force N/A N/A Jobs N/A N/A job id job N/A N/A job id N/A N/A N/A app route /<catalog_id>/<bundle> methods N/A GET POST N/A N/A app route /<catalog_id>/<bundle>/<int:version> tag N/A N/A catalog_id bundle tag N/A N/A N/A N/A N/A request method PUT N/A N/A catalog N/A get_catalog catalog_id N/A version N/A int N/A N/A request form N/A version N/A N/A N/A catalog update_distribution tag bundle version N/A N/A N/A request method DELETE N/A N/A catalog N/A get_catalog catalog_id N/A N/A N/A catalog delete_distribution tag bundle N/A response N/A make_response N/A N/A response status_code 200 N/A response N/A N/A N/A app route /<catalog_id>/<bundle>/tags/<tag> methods N/A PUT DELETE upload_key N/A N/A catalog_id sha N/A N/A N/A N/A N/A catalog_id /uploads/ sha N/A build_policy N/A N/A catalog_id sha N/A N/A N/A policy N/A dict N/A N/A policy N/A expiration 2014-01-01T00:00:00Z N/A N/A policy N/A conditions N/A N/A bucket N/A CONFIG N/A s3_bucket N/A key N/A upload_key catalog_id sha N/A policy N/A base64_policy N/A N/A policy N/A N/A N/A N/A N/A base64 b64encode N/A N/A json dumps policy N/A sign_policy N/A N/A policy64 N/A N/A N/A signature N/A N/A base64 b64encode N/A N/A N/A N/A hmac new N/A CONFIG N/A aws_secret policy64 N/A hashlib sha1 digest N/A signature N/A upload N/A N/A catalog_id sha N/A N/A N/A catalog N/A get_catalog catalog_id N/A info N/A N/A catalog _get_file_info sha N/A N/A info None N/A N/A N/A abort 409 File exists N/A N/A policy N/A build_policy catalog_id sha N/A policy64 N/A base64_policy policy N/A signature N/A sign_policy policy64 N/A response_data N/A dict N/A N/A response_data N/A policy policy64 N/A N/A response_data N/A signature signature N/A N/A response_data N/A AWSAccessKeyId N/A CONFIG N/A aws_key N/A N/A response_data N/A key N/A upload_key catalog_id sha N/A js N/A N/A json dumps response_data N/A resp N/A Response js status 200 mimetype application/json N/A resp N/A N/A N/A app route /<catalog_id>/files/<sha>/upload methods N/A POST N/A N/A __name__ __main__ N/A N/A port N/A int N/A N/A N/A os environ get PORT 5000 N/A N/A N/A app run host 0.0.0.0 port port