Module ImportFrom alias Import alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assert CompareEq Call AttributeLoad Call NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assert CompareEq Call AttributeLoad Call NameLoad attr Num Num Num Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assert CompareEq Call AttributeLoad NameLoad attr Num Str Assert CompareEq Call AttributeLoad NameLoad attr Num Str Assert CompareEq Call AttributeLoad NameLoad attr Num Str Assert CompareEq Call AttributeLoad NameLoad attr Num Str Assert CompareEq Call AttributeLoad NameLoad attr Num Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assert CompareEq Call AttributeLoad NameLoad attr Num Num Num Num Str Assert CompareEq Call AttributeLoad NameLoad attr Num Num Num Str Assert CompareEq Call AttributeLoad NameLoad attr Num Num Num Str Assert CompareEq Call AttributeLoad NameLoad attr Num Num Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Str Assert CompareEq Call AttributeLoad NameLoad attr Num Num Num Num Str Assert CompareEq Call AttributeLoad NameLoad attr Num Num Num Str Assert CompareEq Call AttributeLoad NameLoad attr Num Num Num Str Assert CompareEq Call AttributeLoad NameLoad attr Num Num Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Str Assert CompareEq Call AttributeLoad NameLoad attr Num Num Num Num Str Assert CompareEq Call AttributeLoad NameLoad attr Num Num Num Str Assert CompareEq Call AttributeLoad NameLoad attr Num Str Assert CompareEq Call AttributeLoad NameLoad attr Num Num Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Num Assert CompareEq Call AttributeLoad NameLoad attr Num Num Num Str Assert CompareEq Call AttributeLoad NameLoad attr Num Num Num Str Assert CompareEq Call AttributeLoad NameLoad attr Num Str Assert CompareEq Call AttributeLoad NameLoad attr Num Num Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Num Str Assert CompareEq Call AttributeLoad NameLoad attr Num Num Num Str Assert CompareEq Call AttributeLoad NameLoad attr Num Num Num Str Assert CompareEq Call AttributeLoad NameLoad attr Num Str Assert CompareEq Call AttributeLoad NameLoad attr Num Num Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Str Assert CompareEq Call AttributeLoad NameLoad attr Num Num Num Str Assert CompareEq Call AttributeLoad NameLoad attr Num Num Num Str Assert CompareEq Call AttributeLoad NameLoad attr Num Str Assert CompareEq Call AttributeLoad NameLoad attr Num Num Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Str Assert CompareEq Call AttributeLoad NameLoad attr Num Num Num Str Assert CompareEq Call AttributeLoad NameLoad attr Num Num Num Str Assert CompareEq Call AttributeLoad NameLoad attr Num Str Assert CompareEq Call AttributeLoad NameLoad attr Num Num Str decorator_list FunctionDef arguments args NameParam defaults body Assert CompareEq Call AttributeLoad Call NameLoad attr Num Num Num Str decorator_list FunctionDef arguments args NameParam defaults body Assert CompareEq Call AttributeLoad Call NameLoad attr Num Num Num Str decorator_list FunctionDef arguments args NameParam defaults body Assert CompareEq Call AttributeLoad Call NameLoad attr Str Str Assert CompareGtE Call NameLoad Call AttributeLoad Call NameLoad keyword Num attr Str Num Assert CompareEq Call AttributeLoad Call NameLoad attr Str Str decorator_list FunctionDef arguments args NameParam defaults body Assert CompareEq Call AttributeLoad Call NameLoad attr Str Str Assert CompareEq Call AttributeLoad Call NameLoad attr Str Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assert CompareEq Call AttributeLoad Call NameLoad attr Str TupleLoad decorator_list FunctionDef arguments args NameParam defaults body Assert CompareEq Call AttributeLoad Call NameLoad attr Call NameLoad TupleLoad decorator_list FunctionDef arguments args NameParam defaults body Assert CompareEq Call AttributeLoad Call NameLoad attr Str TupleLoad Num Num Num decorator_list FunctionDef arguments args NameParam defaults body Assert CompareEq Call AttributeLoad Call NameLoad attr Str TupleLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assert CompareEq Call AttributeLoad NameLoad attr Str TupleLoad Num Assert CompareEq Call AttributeLoad NameLoad attr Str TupleLoad Num Assert CompareEq Call AttributeLoad NameLoad attr Str TupleLoad Num Assert CompareEq Call AttributeLoad NameLoad attr Str TupleLoad Num Assert CompareEq Call AttributeLoad NameLoad attr Str TupleLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assert CompareEq Call AttributeLoad NameLoad attr Str TupleLoad Num Num Num Num Assert CompareEq Call AttributeLoad NameLoad attr Str TupleLoad Num Num Num Assert CompareEq Call AttributeLoad NameLoad attr Str TupleLoad Num Num Num Assert CompareEq Call AttributeLoad NameLoad attr Str TupleLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Str Assert CompareEq Call AttributeLoad NameLoad attr Str TupleLoad Num Num Num Num Assert CompareEq Call AttributeLoad NameLoad attr Str TupleLoad Num Num Num Assert CompareEq Call AttributeLoad NameLoad attr Str TupleLoad Num Num Num Assert CompareEq Call AttributeLoad NameLoad attr Str TupleLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Str Assert CompareEq Call AttributeLoad NameLoad attr Str TupleLoad Num Num Num Num Assert CompareEq Call AttributeLoad NameLoad attr Str TupleLoad Num Num Num Assert CompareEq Call AttributeLoad NameLoad attr Str TupleLoad Num Assert CompareEq Call AttributeLoad NameLoad attr Str TupleLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Num Assert CompareEq Call AttributeLoad NameLoad attr Str TupleLoad Num Num Num Assert CompareEq Call AttributeLoad NameLoad attr Str TupleLoad Num Num Num Assert CompareEq Call AttributeLoad NameLoad attr Str TupleLoad Num Assert CompareEq Call AttributeLoad NameLoad attr Str TupleLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Num Str Assert CompareEq Call AttributeLoad NameLoad attr Str TupleLoad Num Num Num Assert CompareEq Call AttributeLoad NameLoad attr Str TupleLoad Num Num Num Assert CompareEq Call AttributeLoad NameLoad attr Str TupleLoad Num Assert CompareEq Call AttributeLoad NameLoad attr Str TupleLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Assert CompareEq Call AttributeLoad Call NameLoad keyword Str attr Str TupleLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Str Assert CompareEq Call AttributeLoad NameLoad attr Str TupleLoad Num Num Num Assert CompareEq Call AttributeLoad NameLoad attr Str TupleLoad Num Num Num Assert CompareEq Call AttributeLoad NameLoad attr Str TupleLoad Num Assert CompareEq Call AttributeLoad NameLoad attr Str TupleLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Str Assert CompareEq Call AttributeLoad NameLoad attr Str TupleLoad Num Num Num Assert CompareEq Call AttributeLoad NameLoad attr Str TupleLoad Num Num Num Assert CompareEq Call AttributeLoad NameLoad attr Str TupleLoad Num Assert CompareEq Call AttributeLoad NameLoad attr Str TupleLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Num Assert CompareEq Call AttributeLoad NameLoad attr BinOpAdd SubscriptLoad Call AttributeLoad NameLoad attr Num Slice Num Str TupleLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assert CompareEq Call AttributeLoad Call NameLoad attr Str NameLoad Assign NameStore Call NameLoad keyword Num Assert CompareEq Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Assert CompareEq Call AttributeLoad Call NameLoad attr Str Str decorator_list FunctionDef arguments args NameParam defaults body Assert CompareEq Call AttributeLoad Call NameLoad attr Str Str Assert CompareEq Call AttributeLoad Call NameLoad attr Str Str decorator_list decorator_list
N/A hashids Hashids N/A pytest TestConstructor N/A object N/A test_small_alphabet N/A N/A self N/A N/A N/A N/A N/A pytest raises ValueError Hashids alphabet abcabc N/A N/A TestEncoding N/A object N/A test_empty_call N/A N/A self N/A N/A N/A N/A N/A N/A N/A Hashids encode N/A test_default_salt N/A N/A self N/A N/A N/A N/A N/A N/A N/A Hashids encode 1 2 3 o2fXhV N/A test_single_number N/A N/A self N/A N/A N/A h N/A Hashids N/A N/A N/A N/A h encode 12345 j0gW N/A N/A N/A N/A h encode 1 jR N/A N/A N/A N/A h encode 22 Lw N/A N/A N/A N/A h encode 333 Z0E N/A N/A N/A N/A h encode 9999 w0rR N/A test_multiple_numbers N/A N/A self N/A N/A N/A h N/A Hashids N/A N/A N/A N/A h encode 683 94108 123 5 vJvi7On9cXGtD N/A N/A N/A N/A h encode 1 2 3 o2fXhV N/A N/A N/A N/A h encode 2 4 6 xGhmsW N/A N/A N/A N/A h encode 99 25 3lKfD N/A test_salt N/A N/A self N/A N/A N/A h N/A Hashids salt Arbitrary string N/A N/A N/A N/A h encode 683 94108 123 5 QWyf8yboH7KT2 N/A N/A N/A N/A h encode 1 2 3 neHrCa N/A N/A N/A N/A h encode 2 4 6 LRCgf2 N/A N/A N/A N/A h encode 99 25 JOMh1 N/A test_alphabet N/A N/A self N/A N/A N/A h N/A Hashids alphabet !"#%&',-/0123456789:;<=>ABCDEFGHIJKLMNOPQRSTUVWXYZ_`abcdefghijklmnopqrstuvwxyz~ N/A N/A N/A N/A h encode 2839 12 32 5 _nJUNTVU3 N/A N/A N/A N/A h encode 1 2 3 7xfYh2 N/A N/A N/A N/A h encode 23832 Z6R> N/A N/A N/A N/A h encode 99 25 AYyIB N/A test_min_length N/A N/A self N/A N/A N/A h N/A Hashids min_length 25 N/A N/A N/A N/A h encode 7452 2967 21401 pO3K69b86jzc6krI416enr2B5 N/A N/A N/A N/A h encode 1 2 3 gyOwl4B97bo2fXhVaDR0Znjrq N/A N/A N/A N/A h encode 6097 Nz7x3VXyMYerRmWeOBQn6LlRG N/A N/A N/A N/A h encode 99 25 k91nqP3RBe3lKfDaLJrvy8XjV N/A test_all_parameters N/A N/A self N/A N/A N/A h N/A Hashids arbitrary salt 16 abcdefghijklmnopqrstuvwxyz N/A N/A N/A N/A h encode 7452 2967 21401 wygqxeunkatjgkrw N/A N/A N/A N/A h encode 1 2 3 pnovxlaxuriowydb N/A N/A N/A N/A h encode 60125 jkbgxljrjxmlaonp N/A N/A N/A N/A h encode 99 25 erdjpwrgouoxlvbx N/A test_alphabet_without_standard_separators N/A N/A self N/A N/A N/A h N/A Hashids alphabet abdegjklmnopqrvwxyzABDEGJKLMNOPQRVWXYZ1234567890 N/A N/A N/A N/A h encode 7452 2967 21401 X50Yg6VPoAO4 N/A N/A N/A N/A h encode 1 2 3 GAbDdR N/A N/A N/A N/A h encode 60125 5NMPD N/A N/A N/A N/A h encode 99 25 yGya5 N/A test_alphabet_with_two_standard_separators N/A N/A self N/A N/A N/A h N/A Hashids alphabet abdegjklmnopqrvwxyzABDEGJKLMNOPQRVWXYZ1234567890uC N/A N/A N/A N/A h encode 7452 2967 21401 GJNNmKYzbPBw N/A N/A N/A N/A h encode 1 2 3 DQCXa4 N/A N/A N/A N/A h encode 60125 38V1D N/A N/A N/A N/A h encode 99 25 373az N/A test_negative_call N/A N/A self N/A N/A N/A N/A N/A N/A N/A Hashids encode 1 -2 3 N/A test_float_call N/A N/A self N/A N/A N/A N/A N/A N/A N/A Hashids encode 1 2.5 3 N/A test_encode_hex N/A N/A self N/A N/A N/A N/A N/A N/A N/A Hashids encode_hex 507f1f77bcf86cd799439011 y42LW46J9luq3Xq9XMly N/A N/A N/A len N/A N/A N/A Hashids min_length 1000 encode_hex 507f1f77bcf86cd799439011 1000 N/A N/A N/A N/A N/A Hashids encode_hex f000000000000000000000000000000000000000000000000000000000000000000000000000000000000f WxMLpERDrmh25Lp4L3xEfM6WovWYO3IjkRMKR2ogCMVzn4zQlqt1WK8jKq7OsEpy2qyw1Vi2p N/A test_illegal_hex N/A N/A self N/A N/A N/A N/A N/A N/A N/A Hashids encode_hex N/A N/A N/A N/A N/A Hashids encode_hex 1234SGT8 N/A N/A TestDecoding N/A object N/A test_empty_string N/A N/A self N/A N/A N/A N/A N/A N/A N/A Hashids decode N/A N/A test_non_string N/A N/A self N/A N/A N/A N/A N/A N/A N/A Hashids decode N/A object N/A N/A test_default_salt N/A N/A self N/A N/A N/A N/A N/A N/A N/A Hashids decode o2fXhV N/A 1 2 3 N/A test_empty_call N/A N/A self N/A N/A N/A N/A N/A N/A N/A Hashids decode N/A N/A test_single_number N/A N/A self N/A N/A N/A h N/A Hashids N/A N/A N/A N/A h decode j0gW N/A 12345 N/A N/A N/A N/A h decode jR N/A 1 N/A N/A N/A N/A h decode Lw N/A 22 N/A N/A N/A N/A h decode Z0E N/A 333 N/A N/A N/A N/A h decode w0rR N/A 9999 N/A test_multiple_numbers N/A N/A self N/A N/A N/A h N/A Hashids N/A N/A N/A N/A h decode vJvi7On9cXGtD N/A 683 94108 123 5 N/A N/A N/A N/A h decode o2fXhV N/A 1 2 3 N/A N/A N/A N/A h decode xGhmsW N/A 2 4 6 N/A N/A N/A N/A h decode 3lKfD N/A 99 25 N/A test_salt N/A N/A self N/A N/A N/A h N/A Hashids salt Arbitrary string N/A N/A N/A N/A h decode QWyf8yboH7KT2 N/A 683 94108 123 5 N/A N/A N/A N/A h decode neHrCa N/A 1 2 3 N/A N/A N/A N/A h decode LRCgf2 N/A 2 4 6 N/A N/A N/A N/A h decode JOMh1 N/A 99 25 N/A test_alphabet N/A N/A self N/A N/A N/A h N/A Hashids alphabet !"#%&',-/0123456789:;<=>ABCDEFGHIJKLMNOPQRSTUVWXYZ_`abcdefghijklmnopqrstuvwxyz~ N/A N/A N/A N/A h decode _nJUNTVU3 N/A 2839 12 32 5 N/A N/A N/A N/A h decode 7xfYh2 N/A 1 2 3 N/A N/A N/A N/A h decode Z6R> N/A 23832 N/A N/A N/A N/A h decode AYyIB N/A 99 25 N/A test_min_length N/A N/A self N/A N/A N/A h N/A Hashids min_length 25 N/A N/A N/A N/A h decode pO3K69b86jzc6krI416enr2B5 N/A 7452 2967 21401 N/A N/A N/A N/A h decode gyOwl4B97bo2fXhVaDR0Znjrq N/A 1 2 3 N/A N/A N/A N/A h decode Nz7x3VXyMYerRmWeOBQn6LlRG N/A 6097 N/A N/A N/A N/A h decode k91nqP3RBe3lKfDaLJrvy8XjV N/A 99 25 N/A test_all_parameters N/A N/A self N/A N/A N/A h N/A Hashids arbitrary salt 16 abcdefghijklmnopqrstuvwxyz N/A N/A N/A N/A h decode wygqxeunkatjgkrw N/A 7452 2967 21401 N/A N/A N/A N/A h decode pnovxlaxuriowydb N/A 1 2 3 N/A N/A N/A N/A h decode jkbgxljrjxmlaonp N/A 60125 N/A N/A N/A N/A h decode erdjpwrgouoxlvbx N/A 99 25 N/A test_invalid_hash N/A N/A self N/A N/A N/A N/A N/A N/A N/A Hashids alphabet abcdefghijklmnop decode qrstuvwxyz N/A N/A test_alphabet_without_standard_separators N/A N/A self N/A N/A N/A h N/A Hashids alphabet abdegjklmnopqrvwxyzABDEGJKLMNOPQRVWXYZ1234567890 N/A N/A N/A N/A h decode X50Yg6VPoAO4 N/A 7452 2967 21401 N/A N/A N/A N/A h decode GAbDdR N/A 1 2 3 N/A N/A N/A N/A h decode 5NMPD N/A 60125 N/A N/A N/A N/A h decode yGya5 N/A 99 25 N/A test_alphabet_with_two_standard_separators N/A N/A self N/A N/A N/A h N/A Hashids alphabet abdegjklmnopqrvwxyzABDEGJKLMNOPQRVWXYZ1234567890uC N/A N/A N/A N/A h decode GJNNmKYzbPBw N/A 7452 2967 21401 N/A N/A N/A N/A h decode DQCXa4 N/A 1 2 3 N/A N/A N/A N/A h decode 38V1D N/A 60125 N/A N/A N/A N/A h decode 373az N/A 99 25 N/A test_only_one_valid N/A N/A self N/A N/A N/A h N/A Hashids min_length 6 N/A N/A N/A N/A h decode N/A N/A N/A N/A h encode 1 N/A -1 0 N/A N/A test_decode_hex N/A N/A self N/A N/A N/A hex_str 507f1f77bcf86cd799439011 N/A N/A N/A N/A N/A Hashids decode_hex y42LW46J9luq3Xq9XMly hex_str N/A h N/A Hashids min_length 1000 N/A N/A N/A N/A h decode_hex N/A N/A h encode_hex hex_str hex_str N/A N/A N/A N/A N/A Hashids decode_hex WxMLpERDrmh25Lp4L3xEfM6WovWYO3IjkRMKR2ogCMVzn4zQlqt1WK8jKq7OsEpy2qyw1Vi2p f000000000000000000000000000000000000000000000000000000000000000000000000000000000000f N/A test_illegal_decode_hex N/A N/A self N/A N/A N/A N/A N/A N/A N/A Hashids decode_hex N/A N/A N/A N/A N/A Hashids decode_hex WxMLpERDrmh25Lp4L3xEfM6WovWYO3IjkRMKR2ogCMVlqt1WK8jKq7OsEp1Vi2p N/A N/A