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.
Cite:
@software{mika_hamalainen_2020_3977549,
author = {Mika Hämäläinen},
title = {mikahama/mikatools 1.0.0},
month = aug,
year = 2020,
publisher = {Zenodo},
version = {1.0.0},
doi = {10.5281/zenodo.3977549},
url = {https://doi.org/10.5281/zenodo.3977549}
}
Metadata
Release files for mikatools 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mikatools-1.0.2.tar.gz | 274.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mikatools-1.0.2-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 556.7 kB
Release files / mikatools-1.0.2.tar.gz
| Download URL | mikatools-1.0.2.tar.gz |
|---|---|
| Size | 274.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
529c25bd835fdcb2f1816865e814d144ba41e6c8e908ba151c96066b67c66a58
|
|
BLAKE2b-256 checksum How to use checksums |
4125315ed2f5b963edea8b00589df4f9943c84b0f63f7e354640ccc4b44ce797
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.3
|
Release files / mikatools-1.0.2-py2.py3-none-any.whl
| Download URL | mikatools-1.0.2-py2.py3-none-any.whl |
|---|---|
| Size | 281.8 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
d0dac64f6855433a396aaac511a14d1933dd48f7d2ee4bf386b5b35798354165
|
|
BLAKE2b-256 checksum How to use checksums |
fa4b772607f645a9b87dff18a0c3ed80b9142034b23f726db92fda6efb961a13
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.3
|