Loading [Contrib]/a11y/accessibility-menu.js
pyvss.helper
This helper module contains complimentary functions
to the pyvss.manager
module
-
class
pyvss.helper.
HTTPBasicAuth
(username, password)[source]
Bases: requests.auth.HTTPBasicAuth
-
pyvss.helper.
compress_encode_string
(string_data)[source]
Compresses and encodes in base64 a given
string
Parameters: | string_data (str) – string to compress and encode |
Returns: | compressed and encoded string |
-
pyvss.helper.
decode_uncompress_string
(string_gz_encoded)[source]
Decompress and decodes a given string
Parameters: | string_gz_encoded (str) – string to decompress and decode |
Returns: | string |
-
pyvss.helper.
hash_string
(string_to_hash)[source]
Hashes string using SHA-512
Parameters: | string_to_hash (str) – string to hash |
Returns: | hashed string |