python utils
Project description
a3py
Python utils.
Install
pip install a3py
Examples
1. Simplified example
from datetime import date
from a3py.simplified.datetime import date2str
assert date2str(date(2019, 10, 3)) == '2019-10-03'
2. Improved example
from a3py.improved.json import fast_dumps
fast_dumps([1, 2, 3])
3. Readable example
from a3py.improved.readable import get_readable_size
assert get_readable_size(1024 * 1024) == "1.0MB"
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
a3py-0.1.4.tar.gz
(10.5 kB
view details)
File details
Details for the file a3py-0.1.4.tar.gz
.
File metadata
- Download URL: a3py-0.1.4.tar.gz
- Upload date:
- Size: 10.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f24a3b30baaaa8a6d8dd9e158e29aef344230893f3059b1deaf0ec4040a9d85e |
|
MD5 | 09ebcc0da47d2afb61618ed75c2892cd |
|
BLAKE2b-256 | f7405a674ffb57cd8768d053cc7314b0f5d9ddda89b3bd98960cc7240105b237 |