a3py is a python toolkit.
Project description
a3py
English | 简体中文
a3py is a python toolkit.
1. Introduction
Simplified
- Variable naming style conversion
- Date and time conversion
- Environment variables
- Hashlib
Improved
- Faster json(with ujson)
- Readable
Practical
- Dynamic
- SingletonMeta
- Signal
2. Usage
Install
pip install a3py
Examples
from datetime import date
from a3py.simplified.datetime import date2str
from a3py.improved.json import fast_dumps
from a3py.improved.readable import get_readable_size
if __name__ == "__main__":
assert date2str(date(2019, 10, 3)) == "2019-10-03"
assert fast_dumps([1, 2, 3]) == "[1,2,3]"
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.3.0.tar.gz
(6.7 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.3.0-py3-none-any.whl
(8.0 kB
view details)
File details
Details for the file a3py-0.3.0.tar.gz.
File metadata
- Download URL: a3py-0.3.0.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
97706b291f853bc5c077afcd94663bcc02cfc4748fbd46966a9fd732a74605ea
|
|
| MD5 |
1fee25976a4fd9568fa52179d97c82aa
|
|
| BLAKE2b-256 |
03e17f27b3dd955491ad6599d5b2385324aa9771e57ded6af30108351def491d
|
File details
Details for the file a3py-0.3.0-py3-none-any.whl.
File metadata
- Download URL: a3py-0.3.0-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2a7cbc77e714705629ec860128d4070069c806d9d4af42a8c73ab0ecbf195327
|
|
| MD5 |
208e0a7caf0ad0373b20ef24516893db
|
|
| BLAKE2b-256 |
4c076fbb97de0ae2aabf47627e24dd71a6c3f384a0f686b2bc1d2cf00765ae8e
|