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.1.tar.gz
(6.4 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.1-py3-none-any.whl
(7.2 kB
view details)
File details
Details for the file a3py-0.3.1.tar.gz.
File metadata
- Download URL: a3py-0.3.1.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.25 {"installer":{"name":"uv","version":"0.11.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d66fc623717e6564eea40a06ebb1eefa492352dc71139b19b13e9e6e1f12965
|
|
| MD5 |
2461522ed851322e7e9905097663c5e1
|
|
| BLAKE2b-256 |
49bff1bc2e1c75ac91518ce8709c118599a9b31247b9dd2cf7adda88e4604bee
|
File details
Details for the file a3py-0.3.1-py3-none-any.whl.
File metadata
- Download URL: a3py-0.3.1-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.25 {"installer":{"name":"uv","version":"0.11.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e59f95ca43ebc7718ae34046017d4184dfbb0f7ec7d9dcd7eb448fe0698493f3
|
|
| MD5 |
72b7dbcdc81160b0987926fd4628e3ce
|
|
| BLAKE2b-256 |
68b6487cc3d1ef58328b7568615a33e1c99ab17bf00f74fc2470c071f4ff48db
|