Module ImportFrom alias ImportFrom alias Import alias Import alias ImportFrom alias Import alias Import alias Import alias identifier Import alias identifier Import alias Import alias TryExcept body Import alias identifier handlers ExceptHandler body Import alias identifier ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr body Return NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Assert CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Num Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assert CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Num Str handlers ExceptHandler type TupleLoad NameLoad AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr Str Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list Assign NameStore NameLoad decorator_list TryExcept body ImportFrom alias alias handlers ExceptHandler type NameLoad body ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body ImportFrom alias decorator_list decorator_list orelse ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad For TupleStore NameStore NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If CompareIs NameLoad NameLoad body Return NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign TupleStore NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Assign TupleStore NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list Assign NameStore NameLoad decorator_list Assign NameStore Num FunctionDef arguments args NameParam defaults body Assert UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad NameLoad attr With Call NameLoad Call NameLoad NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpMult AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Return BinOpAdd BinOpAdd NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body If BoolOpAnd CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr Str body Return NameLoad Raise ExceptHandler type NameLoad body Return NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot Call NameLoad NameLoad Str body Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign TupleStore NameStore Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Num If CompareLt NameLoad Num body Raise Call NameLoad Call AttributeLoad Str attr NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad If NameLoad body Return Call AttributeLoad NameLoad attr NameLoad orelse With Call NameLoad Call NameLoad NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Str NameLoad Return Call NameLoad AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list Expr Call NameLoad AttributeLoad NameLoad attr Str Expr Call NameLoad AttributeLoad NameLoad attr Str Expr Call NameLoad AttributeLoad NameLoad attr Str Expr Call NameLoad AttributeLoad NameLoad attr Str Expr Call NameLoad AttributeLoad NameLoad attr Str Expr Call NameLoad AttributeLoad NameLoad attr Str Expr Call NameLoad AttributeLoad NameLoad attr Str decorator_list Assign NameStore Num Assign NameStore NameLoad Assign NameStore Call NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore NameLoad Expr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr keyword NameLoad NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Delete NameDel Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad NameStore body Assign NameStore AttributeLoad NameLoad attr TryFinally body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str BinOpAdd BinOpAdd BinOpAdd Num Num NameLoad BinOpAdd Num NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str NameLoad With Call NameLoad NameLoad Str NameStore body Expr Call NameLoad NameLoad AttributeLoad NameLoad attr finalbody Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad NameLoad Expr Call NameLoad NameLoad decorator_list
N/A cStringIO StringIO contextlib closing N/A errno N/A os shutil copyfileobj N/A struct N/A tempfile N/A numpy np N/A numpy.lib.format npy N/A cyflann N/A typedbytes N/A N/A N/A ctypedbytes tb N/A N/A N/A N/A typedbytes tb TypedbytesSequenceFileStreamingInput N/A N/A tb Input N/A N/A 
    Reads the format that's passed to hadoop streaming jobs when the input is
    a SequenceFile obtained via "loadtb" from a typedbytes file, and you used
    -inputformat org.apache.hadoop.mapred.SequenceFileAsBinaryInputFormat
    (see http://stackoverflow.com/a/15172498/344821).
     read N/A N/A self N/A N/A N/A N/A N/A key_length N/A N/A self read_int N/A N/A N/A N/A struct error N/A N/A None N/A N/A N/A key N/A N/A self _read N/A N/A N/A N/A N/A self file read 1 N/A val_length N/A N/A self read_int N/A val N/A N/A self _read N/A N/A N/A N/A N/A self file read 1 N/A N/A N/A N/A StopIteration N/A struct error N/A N/A N/A N/A struct error EOF before complete pair read N/A N/A key val N/A reads N/A N/A self N/A N/A N/A N/A iter N/A self read None N/A N/A __iter__ reads N/A N/A N/A hadoop.io InputStream SequenceFile N/A N/A N/A ImportError N/A SequenceFileLikeReader N/A object N/A __init__ N/A N/A self filelike N/A N/A hadoop.io SequenceFile N/A N/A N/A FileLikeInputStream N/A N/A InputStream FileInputStream N/A N/A 
        hadoop.io.FileInputStream for a filelike object, which *must* be
        seekable because the interface assumes it.
         __init__ N/A N/A self filelike N/A N/A N/A N/A self _fd filelike N/A curr_pos N/A N/A filelike tell N/A N/A N/A filelike seek 0 N/A os SEEK_END N/A N/A self _length N/A N/A filelike tell N/A N/A N/A filelike seek curr_pos N/A N/A SequenceFileLikeReader N/A N/A SequenceFile Reader N/A getStream N/A N/A self filelike N/A N/A N/A N/A N/A InputStream DataInputStream N/A FileLikeInputStream filelike N/A N/A TypedbytesSequenceFileInput N/A object N/A N/A 
    Reads a raw hadoop SequenceFile containing typedbytes keys and values.

    Requires the python-hadoop library:
        https://github.com/matteobertozzi/Hadoop/tree/master/python-hadoop
     __init__ N/A N/A self file_obj N/A N/A N/A N/A self reader N/A SequenceFileLikeReader file_obj N/A N/A self _file_seekable True N/A N/A self registrations N/A N/A _get_reader N/A N/A self f N/A N/A N/A inp N/A N/A typedbytes Input f N/A N/A register_read inp N/A N/A args kwargs N/A self registrations N/A N/A N/A N/A inp register args kwargs N/A inp N/A register N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A self registrations append N/A args kwargs N/A read N/A N/A self N/A N/A N/A raw_key N/A N/A N/A self reader nextRawKey N/A N/A raw_key None N/A N/A None N/A raw_val N/A N/A N/A self reader nextRawValue N/A N/A key N/A N/A N/A N/A self _get_reader raw_key reads N/A N/A val N/A N/A N/A N/A self _get_reader raw_val reads N/A N/A key val N/A reads N/A N/A self N/A N/A N/A N/A iter N/A self read None N/A N/A __iter__ reads N/A N/A NUMPY_CODE 170 _npy_size N/A N/A ary N/A N/A N/A N/A N/A N/A ary dtype hasobject N/A magic_len N/A npy MAGIC_LEN N/A N/A closing N/A StringIO sio N/A N/A N/A N/A npy write_array_header_1_0 sio N/A N/A npy header_data_from_array_1_0 ary N/A header_len N/A N/A sio tell N/A data_len N/A N/A N/A ary dtype itemsize N/A ary size N/A N/A N/A magic_len header_len data_len N/A _file_is_seekable N/A N/A f N/A N/A N/A N/A N/A N/A N/A f tell N/A N/A N/A IOError N/A e N/A N/A N/A N/A N/A e errno N/A errno ESPIPE N/A N/A e strerror Illegal seek N/A N/A False N/A N/A N/A AttributeError N/A N/A False N/A N/A True N/A check_seekable N/A N/A the_obj N/A N/A N/A N/A N/A hasattr the_obj _file_seekable N/A N/A N/A the_obj _file_seekable N/A _file_is_seekable N/A the_obj file N/A read_ndarray N/A N/A f file_is_seekable N/A None N/A N/A N/A length N/A N/A struct unpack >i N/A N/A f read 4 N/A N/A length 0 N/A N/A N/A ValueError N/A N/A bad length value {} format length N/A N/A file_is_seekable None N/A N/A file_is_seekable N/A _file_is_seekable f N/A file_is_seekable N/A N/A N/A N/A np load f N/A N/A N/A closing N/A StringIO sio N/A N/A N/A N/A sio write N/A N/A f read length N/A N/A N/A sio seek 0 N/A N/A N/A np load sio N/A _read_ndarray_in N/A N/A self N/A N/A N/A seekable N/A getattr self _file_seekable None N/A N/A read_ndarray N/A self file file_is_seekable seekable N/A register_read_ndarray N/A N/A input_object N/A N/A N/A N/A check_seekable input_object N/A N/A N/A input_object register NUMPY_CODE _read_ndarray_in N/A write_ndarray N/A N/A f ary N/A N/A N/A N/A N/A f write N/A N/A struct pack >B NUMPY_CODE N/A N/A N/A f write N/A N/A struct pack >i N/A _npy_size ary N/A N/A N/A np save f ary N/A _write_ndarray_out N/A N/A self ary N/A N/A N/A N/A write_ndarray N/A self file ary N/A register_write_ndarray N/A N/A output_object N/A N/A N/A N/A N/A output_object register N/A np ndarray _write_ndarray_out N/A register_np_writes N/A N/A output_object N/A N/A r N/A N/A typ f_name N/A N/A N/A N/A N/A output_object register typ N/A getattr N/A output_object __class__ f_name N/A N/A N/A r N/A np bool_ write_bool N/A N/A r N/A np bool8 write_bool N/A N/A r N/A np int32 write_int N/A N/A r N/A np int64 write_long N/A N/A r N/A np float32 write_float N/A N/A r N/A np float64 write_double N/A N/A r N/A np string_ write_string N/A N/A FLANN_CODE 171 N/A DEFAULT_TEMPDIR None N/A _not_passed N/A object flann_from_typedbytes N/A N/A inp tempdir N/A _not_passed N/A N/A N/A tempdir _not_passed N/A N/A tempdir DEFAULT_TEMPDIR N/A N/A register_read_ndarray inp N/A length N/A N/A inp read_int N/A pts N/A N/A inp _read N/A index_bytes N/A N/A inp read_bytestring N/A N/A N/A tempfile NamedTemporaryFile dir tempdir f N/A N/A N/A N/A f write index_bytes N/A N/A N/A f flush N/A index_bytes N/A index N/A N/A cyflann FLANNIndex N/A N/A N/A index load_index N/A f name pts N/A index N/A register_read_flann N/A N/A input_object N/A N/A N/A N/A register_read_ndarray input_object N/A N/A N/A input_object register FLANN_CODE flann_from_typedbytes N/A flann_to_typedbytes N/A N/A out index tempdir N/A _not_passed N/A N/A N/A tempdir _not_passed N/A N/A tempdir DEFAULT_TEMPDIR N/A npy_size N/A _npy_size N/A index data N/A N/A N/A tempfile NamedTemporaryFile dir tempdir delete False f N/A N/A tempname N/A f name N/A N/A N/A N/A N/A index save_index tempname N/A index_size N/A N/A N/A os path getsize tempname N/A N/A N/A N/A out file write N/A N/A struct pack >B FLANN_CODE N/A N/A N/A N/A out file write N/A N/A struct pack >i N/A N/A N/A 1 4 npy_size N/A 4 index_size N/A N/A N/A out _write N/A index data N/A N/A N/A N/A out file write N/A N/A struct pack >i index_size N/A N/A open tempname rb f N/A N/A N/A copyfileobj f N/A out file N/A N/A N/A N/A os remove tempname N/A register_write_flann N/A N/A output_object N/A N/A N/A N/A register_write_ndarray output_object N/A N/A N/A output_object register N/A cyflann FLANNIndex flann_to_typedbytes N/A register_read N/A N/A inp N/A N/A N/A N/A register_read_flann inp N/A register_write N/A N/A out N/A N/A N/A N/A register_write_flann out N/A N/A register_np_writes out N/A