Module ImportFrom alias ImportFrom alias alias Import alias alias alias alias alias Import alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias alias alias Import alias Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults Num body Assign NameStore Call NameLoad NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Assign NameStore Call NameLoad NameLoad Assign NameStore BinOpDiv NameLoad NameLoad If BinOpMod NameLoad NameLoad body AugAssignAdd NameStore Num Assign NameStore Str Assign NameStore ListLoad Assign NameStore Num For NameStore Call NameLoad Num BinOpAdd NameLoad Num NameLoad body AugAssignAdd NameStore Num Assign NameStore BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice NameLoad BinOpAdd NameLoad NameLoad attr Print BinOpMod BinOpAdd Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice NameLoad BinOpAdd NameLoad NameLoad Expr Call AttributeLoad NameLoad attr If CompareNotEq NameLoad Str body Assign NameStore BinOpAdd NameLoad Str Assign NameStore BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd NameLoad Str Str Call NameLoad NameLoad Str Str NameLoad Str Str NameLoad Str Str Call NameLoad Call NameLoad SubscriptLoad NameLoad Slice NameLoad BinOpAdd NameLoad NameLoad Str Str Call NameLoad NameLoad Str Str Assign NameStore BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str NameLoad Str Call NameLoad NameLoad Str NameLoad Str NameLoad Str Print NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Global identifier If CompareEq NameLoad NameLoad body Assign NameStore ListLoad Call AttributeLoad Call NameLoad NameLoad keyword Str attr Str Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad attr TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Print NameLoad decorator_list FunctionDef arguments args defaults vararg body Global identifier identifier Assign NameStore Call NameLoad keyword Str keyword BinOpAdd BinOpAdd Str AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr If CompareNotEq Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr Str Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Index Num If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Print BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Num If AttributeLoad NameLoad attr body Assign NameStore Call NameLoad AttributeLoad NameLoad attr orelse Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore NameLoad Print AttributeLoad NameLoad attr Print NameLoad Print NameLoad Print Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index Str Expr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Expr Call NameLoad Num Expr Call NameLoad If AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore Call NameLoad Dict Str Str Str Str Call NameLoad NameLoad Str NameLoad NameLoad Str keyword NameLoad orelse Assign TupleStore NameStore NameStore Call NameLoad Dict Str Str Str Str Call NameLoad NameLoad Str NameLoad NameLoad Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore Str Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore NameLoad Assign NameStore Num While UnaryOpNot NameLoad body AugAssignAdd NameStore Num TryExcept body Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Assign NameStore NameLoad handlers ExceptHandler type NameLoad name NameStore body If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Print Str AttributeLoad NameLoad attr Assign NameStore NameLoad Assign NameStore NameLoad ExceptHandler type NameLoad name NameStore body If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Print Str AttributeLoad NameLoad attr Assign NameStore NameLoad Assign NameStore NameLoad If AttributeLoad NameLoad attr body Print BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A AgileCLU AgileCLU optparse OptionParser OptionGroup N/A sys os.path urllib subprocess time N/A hashlib poster.encode multipart_encode get_body_size poster.streaminghttp register_openers urllib2 Request urlopen URLError HTTPError N/A progressbar N/A pbar None N/A fname None splitMultipart N/A N/A fname pieceSize N/A 1048576 N/A N/A f N/A open fname rb N/A data N/A N/A f read N/A N/A N/A f close N/A sha256 N/A N/A N/A N/A hashlib sha256 data hexdigest N/A bytes N/A len data N/A pieces N/A bytes pieceSize N/A N/A bytes pieceSize N/A N/A pieces 1 N/A manifest N/A pieceNames N/A N/A pieceNum 0 N/A i N/A range 0 N/A bytes 1 pieceSize N/A N/A pieceNum 1 N/A fn1 N/A piece%s i N/A N/A N/A pieceNames append fn1 N/A f N/A open fn1 wb N/A fn1sha N/A N/A N/A N/A hashlib sha256 N/A data N/A i N/A i pieceSize hexdigest N/A N/A N/A pieces%s:  fn1sha i N/A N/A N/A f write N/A data N/A i N/A i pieceSize N/A N/A N/A f close N/A N/A manifest N/A N/A manifest N/A manifest , N/A manifest N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A manifest {  "piece":  N/A str pieceNum ,  "filename": " fn1 ",  "sha-256": " fn1sha ",  "size":  N/A str N/A len N/A data N/A i N/A i pieceSize ,  "offset":  N/A str i } N/A jsonstr N/A N/A N/A N/A N/A N/A N/A N/A { "filename": " fname ", "pieces":  N/A str pieces , "sha-256": " sha256 ", "manifest": [  manifest  ] } N/A jsonstr N/A progress_callback N/A N/A param current total N/A N/A N/A pbar N/A N/A pbar None N/A N/A widgets N/A N/A N/A N/A unicode fname errors ignore encode utf-8 N/A N/A progressbar FileTransferSpeed  [ N/A N/A progressbar Bar ]  N/A N/A progressbar Percentage N/A N/A progressbar ETA N/A pbar N/A N/A N/A N/A progressbar ProgressBar widgets widgets maxval total start N/A N/A N/A N/A N/A pbar update current N/A N/A N/A AssertionError N/A e N/A N/A e N/A main N/A N/A N/A arg N/A N/A fname pbar N/A parser N/A OptionParser usage usage: %prog [options] object path version N/A N/A %prog (AgileCLU  N/A AgileCLU __version__ ) N/A N/A N/A parser add_option -v --verbose action store_true dest verbose help be verbose default False N/A N/A N/A parser add_option -l --login dest username help use alternate profile N/A group N/A OptionGroup parser Handling Options N/A N/A N/A group add_option -r --rename dest filename help rename destination file N/A N/A N/A group add_option -c --mimetype dest mimetype help set MIME content-type N/A N/A N/A group add_option -t --time dest mtime help set optional mtime N/A N/A N/A group add_option -e --egress dest egress help set egress policy (PARTIAL, COMPLETE or POLICY) N/A N/A N/A group add_option -m --mkdir action store_true help create destination path, if it does not exist N/A N/A N/A group add_option -p --progress action store_true help show transfer progress bar N/A N/A N/A parser add_option_group group N/A config N/A OptionGroup parser Configuration Option N/A N/A N/A config add_option --username dest username help Agile username N/A N/A N/A config add_option --password dest password help Agile password N/A N/A N/A config add_option --mapperurl dest mapperurl help Agile MT URL base N/A N/A N/A config add_option --apiurl dest apiurl help Agile API URL N/A N/A N/A config add_option --posturl dest posturl help Agile POST URL N/A N/A N/A config add_option --postmultiurl dest postmultiurl help Agile POST URL N/A N/A N/A parser add_option_group config N/A N/A options args N/A N/A parser parse_args N/A N/A N/A len args 2 N/A N/A N/A N/A parser error Wrong number of arguments. Exiting. N/A object N/A args N/A 0 N/A path N/A args N/A 1 N/A N/A N/A N/A N/A os path isfile object N/A N/A N/A Local file object (%s) does not exist. Exiting. localfile N/A N/A N/A sys exit 1 N/A N/A options username N/A N/A agile N/A AgileCLU N/A options username N/A N/A agile N/A AgileCLU N/A localpath N/A N/A N/A os path dirname object N/A localfile N/A N/A N/A os path basename object N/A N/A options filename N/A N/A fname N/A options filename N/A N/A fname localfile N/A N/A agile token N/A fname N/A path N/A N/A N/A N/A os path join path fname N/A r N/A N/A agile createMultipart N/A N/A N/A os path join path fname N/A mpid N/A r N/A mpid N/A N/A splitMultipart fname 524288 N/A N/A N/A agile logout N/A N/A exit 1 N/A N/A register_openers N/A N/A options progress N/A N/A N/A datagen headers N/A multipart_encode N/A uploadFile directory basename expose_egress N/A open object rb path fname COMPLETE cb progress_callback N/A N/A N/A datagen headers N/A multipart_encode N/A uploadFile directory basename expose_egress N/A open object rb path fname COMPLETE N/A request N/A Request N/A agile posturl datagen headers N/A N/A N/A request add_header X-Agile-Authorization N/A agile token N/A N/A options mimetype N/A N/A mimetype N/A options mimetype N/A N/A mimetype auto N/A N/A N/A request add_header X-Content-Type mimetype N/A success False N/A attempt 0 N/A N/A success N/A N/A attempt 1 N/A N/A N/A result N/A N/A N/A urlopen request read N/A N/A options progress N/A N/A N/A N/A pbar finish N/A success True N/A N/A N/A HTTPError N/A e N/A N/A N/A options progress N/A N/A N/A N/A pbar finish N/A [!] HTTP Error:  N/A e code N/A pbar None N/A success False N/A N/A URLError N/A e N/A N/A N/A options progress N/A N/A N/A N/A pbar finish N/A [!] URL Error:  N/A e reason N/A pbar None N/A success False N/A N/A options verbose N/A N/A N/A %s%s N/A N/A N/A agile mapperurlstr N/A N/A urllib quote N/A N/A N/A os path join path fname N/A N/A N/A agile logout N/A N/A N/A __name__ __main__ N/A N/A N/A main