Quick methods for everyday Python programming
Project description
Mikatools
Mikatools provides fast and easy methods for common Python coding tasks. Some functionality:
- script_path() gives the location of the current Python script
- json_dump(data, file_path) saves a dictionary in UTF-8 in a pretty format with indentation, real unicode characters (no unreadable escaped letters) and sorts the keys.
- json_load(file_path) loads json with UTF-8 encoding
- download_file(url, path, show_progress=False) downloads a file and saves it on the disk
- open_read(file, password=None, salt=""") opens a UTF-8 file for reading and optionally decrypts it
- open_write(file, password=None, salt="") opens a UTF-8 file for writing and optionally encrypts it
- Super easy multitasking!
The library mostly provides functionality for my other libraries.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mikatools-1.0.0.tar.gz
(7.4 kB
view hashes)
Built Distribution
Close
Hashes for mikatools-1.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59fe6195d2c053e672f3dc4ac81f197de0095e164adbf9738afb5f31d76503e1 |
|
MD5 | 457b8a594fddc4469888e5ce6e8625fe |
|
BLAKE2b-256 | fd855248374ce0757907595aea4e752f45291bb8e947d181cf1923fb95011095 |