Module ImportFrom alias ImportFrom alias alias ImportFrom alias Import alias Import alias Import alias Import alias Import alias Import alias FunctionDef arguments args defaults body Assign NameStore Call NameLoad keyword Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults Str body Assign NameStore Call NameLoad BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr Str Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Dict body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign SubscriptStore NameLoad Index Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Return NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad Expr Call NameLoad NameLoad Str Str Expr Call AttributeLoad NameLoad attr Assign NameStore Num Assert CompareIn Str Call AttributeLoad Call AttributeLoad NameLoad attr keyword Num attr NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Str Str Expr Call AttributeLoad NameLoad attr Assert CompareIs Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad keyword Dict Str Str Assign NameStore Call NameLoad Expr Call NameLoad NameLoad Str Str Expr Call AttributeLoad NameLoad attr Assign NameStore Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr keyword Num attr NameLoad Assert CompareNotIn Str NameLoad Assert CompareIn Call NameLoad Str NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr Str Str keyword Call NameLoad Call AttributeLoad NameLoad attr Str Num keyword Num Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call NameLoad NameLoad keyword Dict Str Str Expr Call NameLoad NameLoad Str Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str keyword Call NameLoad BinOpSub NameLoad Num keyword Call NameLoad BinOpAdd NameLoad Num keyword Num keyword Num Assert CompareEq Call NameLoad NameLoad Num Assert CompareEq Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Str decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr Str Str keyword Call NameLoad Call AttributeLoad NameLoad attr Str Num keyword Num Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad keyword Dict Str Str Expr Call NameLoad NameLoad Str Str Expr Call NameLoad NameLoad Str Str Expr Call AttributeLoad NameLoad attr Assert CompareEq Call AttributeLoad Call NameLoad BinOpMod Str BinOpSub NameLoad Num attr Str Assert CompareEq Call AttributeLoad Call NameLoad Str attr Str decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr Str Str keyword Call NameLoad Call AttributeLoad NameLoad attr Str Num keyword Num Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call NameLoad NameLoad keyword Dict Str Str Expr Call NameLoad NameLoad Str Str Expr Call NameLoad NameLoad Str Str Expr Call AttributeLoad NameLoad attr Assert CompareEq Call AttributeLoad Call NameLoad BinOpMod Str BinOpSub NameLoad Num attr Str Assert CompareEq Call AttributeLoad Call NameLoad Str attr Str decorator_list
N/A base64 b64encode geventhttpclient HTTPClient URL multiprocessing.pool ThreadPool N/A datetime N/A os N/A redis N/A subprocess N/A tempfile N/A time get_async N/A N/A N/A N/A N/A pool N/A ThreadPool processes 1 N/A async_result N/A N/A pool apply_async get N/A async_result N/A get N/A N/A path N/A /sub/channel N/A N/A url N/A URL N/A http://%s/%s N/A N/A N/A os getenv HTTP_HOST localhost path N/A http N/A N/A HTTPClient from_url url N/A response N/A N/A http get path N/A response N/A run_broadcaster N/A N/A frames_path envs N/A N/A N/A N/A env N/A N/A N/A os environ copy N/A N/A env N/A FRAMES_PATH frames_path N/A N/A N/A env update envs N/A p N/A N/A subprocess Popen N/A python broadcaster.py env env N/A N/A N/A time sleep 1 N/A p N/A create_image N/A N/A tempdir channel content N/A N/A N/A image_dir N/A N/A N/A os path join tempdir channel N/A N/A N/A N/A N/A os path exists image_dir N/A N/A N/A N/A os mkdir image_dir N/A image N/A N/A tempfile NamedTemporaryFile dir image_dir delete False N/A N/A N/A image write content N/A N/A N/A image close N/A N/A N/A time sleep 1 N/A image N/A test_when_file_is_created_its_contents_are_posted N/A N/A N/A N/A N/A tempdir N/A N/A tempfile mkdtemp N/A p N/A run_broadcaster tempdir N/A r N/A get_async N/A N/A create_image tempdir channel JPEG IMAGE N/A N/A N/A p terminate N/A buffer_size 45 N/A N/A JPEG IMAGE N/A N/A N/A N/A r get timeout 2 read buffer_size N/A test_file_is_deleted_after_post N/A N/A N/A N/A N/A tempdir N/A N/A tempfile mkdtemp N/A p N/A run_broadcaster tempdir N/A image N/A create_image tempdir channel JPEG IMAGE
 N/A N/A N/A p terminate N/A N/A N/A N/A N/A os path exists N/A image name False N/A test_contents_are_encoded N/A N/A N/A N/A N/A tempdir N/A N/A tempfile mkdtemp N/A p N/A run_broadcaster tempdir envs N/A BASE64_ENCODE 1 N/A r N/A get_async N/A N/A create_image tempdir channel JPEG IMAGE N/A N/A N/A p terminate N/A buffer_size 45 N/A data N/A N/A N/A N/A r get timeout 2 read buffer_size N/A N/A JPEG IMAGE data N/A N/A N/A b64encode JPEG IMAGE data N/A test_image_is_posted_to_redis_with_utctimestamp N/A N/A N/A N/A N/A tempdir N/A N/A tempfile mkdtemp N/A r N/A N/A redis StrictRedis host N/A N/A os getenv REDIS_HOST localhost port N/A int N/A N/A os getenv REDIS_PORT 7000 db 0 N/A N/A N/A r delete thumb/channel N/A now N/A int N/A N/A time mktime N/A N/A N/A N/A N/A datetime datetime utcnow timetuple N/A p N/A run_broadcaster tempdir envs N/A REDIS_SAMPLE_RATE 1 N/A N/A create_image tempdir channel JPEG IMAGE N/A N/A N/A p terminate N/A keys N/A N/A r zrangebyscore thumb/channel min N/A str N/A now 1 max N/A str N/A now 1 start 0 num 1 N/A N/A N/A len keys 1 N/A N/A N/A N/A r get N/A keys N/A 0 JPEG IMAGE N/A test_image_can_be_get_from_nginx N/A N/A N/A N/A N/A tempdir N/A N/A tempfile mkdtemp N/A r N/A N/A redis StrictRedis host N/A N/A os getenv REDIS_HOST localhost port N/A int N/A N/A os getenv REDIS_PORT 7000 db 0 N/A N/A N/A r delete thumb/channel N/A now N/A N/A time time N/A p N/A run_broadcaster tempdir envs N/A REDIS_SAMPLE_RATE 1 N/A N/A create_image tempdir channel JPEG IMAGE N/A N/A create_image tempdir channel NEW JPEG IMAGE N/A N/A N/A p terminate N/A N/A N/A N/A N/A get N/A /snapshot/channel?timestamp=%d N/A now 1 read JPEG IMAGE N/A N/A N/A N/A N/A get /snapshot/channel read NEW JPEG IMAGE N/A test_image_can_be_get_from_nginx_with_utctimestamp N/A N/A N/A N/A N/A tempdir N/A N/A tempfile mkdtemp N/A r N/A N/A redis StrictRedis host N/A N/A os getenv REDIS_HOST localhost port N/A int N/A N/A os getenv REDIS_PORT 7000 db 0 N/A N/A N/A r delete thumb/channel N/A utcnow N/A int N/A N/A time mktime N/A N/A N/A N/A N/A datetime datetime utcnow timetuple N/A p N/A run_broadcaster tempdir envs N/A REDIS_SAMPLE_RATE 1 N/A N/A create_image tempdir channel JPEG IMAGE N/A N/A create_image tempdir channel NEW JPEG IMAGE N/A N/A N/A p terminate N/A N/A N/A N/A N/A get N/A /snapshot/channel?utc=%d N/A utcnow 1 read JPEG IMAGE N/A N/A N/A N/A N/A get /snapshot/channel read NEW JPEG IMAGE N/A