Metadata-Version: 2.1
Name: a3py
Version: 0.3.0
Summary: a3py is a python toolkit.
Author-email: three-kinds <3179158552@qq.com>
License: MIT
Project-URL: Homepage, https://github.com/three-kinds/a3py
Project-URL: Source, https://github.com/three-kinds/a3py
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: ujson>=5.2.0

# a3py

English | [简体中文](README_ZH.md)

`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

```shell script
pip install a3py

```

### Examples

```python
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"

```
