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.2.1.tar.gz
(9.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
a3py-0.2.1-py3-none-any.whl
(10.5 kB
view details)
File details
Details for the file a3py-0.2.1.tar.gz.
File metadata
- Download URL: a3py-0.2.1.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e66731f8d73d4934095ddf9b2c1fa10f9bbc879284a97a7e620a499e7d9eb7e4
|
|
| MD5 |
319820db467720b2fc8ce39895c96c23
|
|
| BLAKE2b-256 |
7ae8a845de6e994c92fbbcbdeca4622962badefd8fdbd3292e74fe61ff24d05a
|
File details
Details for the file a3py-0.2.1-py3-none-any.whl.
File metadata
- Download URL: a3py-0.2.1-py3-none-any.whl
- Upload date:
- Size: 10.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a5d36893cadcf4e9bd6d6536dd4cc72cfa7c4771b0c59954d293c707f455094c
|
|
| MD5 |
4ba80fd4086dcfe489ed0021b4cb4dfe
|
|
| BLAKE2b-256 |
abfbafcdd6b341c291167dd371bc640bb604c66cfb58c3f551675ea4258f2736
|