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"
Metadata
Release files for a3py 0.3.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 | |
|---|---|---|---|
| a3py-0.3.2.tar.gz | 6.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| a3py-0.3.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.5 kB
Release files / a3py-0.3.2.tar.gz
| Download URL | a3py-0.3.2.tar.gz |
|---|---|
| Size | 6.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f7304dd94fef950088149d89d4750c441d0d41f84639b6a66fc7a7959c0d4a66
|
|
BLAKE2b-256 checksum How to use checksums |
82b2dbe8e8ed83b26b96dbe5128009220fc27c7cce5142aec7dd61380554bf32
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Release files / a3py-0.3.2-py3-none-any.whl
| Download URL | a3py-0.3.2-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c2167cadfa4cfa1245f257567b35242fdab689776c90981bd94c4dde61ccec5a
|
|
BLAKE2b-256 checksum How to use checksums |
e264879134c1fc1f93aa1350ae0cabab7baef353f824a06e9cfcd078b93f1f23
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|