Common toolkit for python.
Project description
pybeans
Common toolkit for python.
Python version >= 3.6
Common code for myself.
Features:
-
AppTool class
- Combine config & config_local & config_test (if --test)
- Act as dict to get config by key (connected by dot), it can be overrited by ENV variable
- logger helper (pre-configged email handler)
- Pre-configged SMTP email client
- @log annotation.
-
Utility functions
- email helper
- load & dump json
- @benchmark annotation
- OS detector
- @deprecated annotation
- get home dir
- deep merge
- Get windows folders
- string alignment for Chinese
- get dict value by key (connected by dot)
- now, today
- random_sleep
-
GetCh class
- input value for multiple platforms
TODO:
- send_email support CC.
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
pybeans-1.13.6.tar.gz
(23.1 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
pybeans-1.13.6-py3-none-any.whl
(21.5 kB
view details)
File details
Details for the file pybeans-1.13.6.tar.gz.
File metadata
- Download URL: pybeans-1.13.6.tar.gz
- Upload date:
- Size: 23.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5361633825e9a612c3281c6e8cf1c11ecbee5f7b7bf5e050fd83b142a4bf7471
|
|
| MD5 |
21721ee9b896963ffb72c3def1fe5061
|
|
| BLAKE2b-256 |
347b0f45e8465c3ed53ea751cf2ee442c2b4756bb6506cc5cc2c35bbc6220435
|
File details
Details for the file pybeans-1.13.6-py3-none-any.whl.
File metadata
- Download URL: pybeans-1.13.6-py3-none-any.whl
- Upload date:
- Size: 21.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4b3b3244027ade7eec3815799a3d943ee881c3253e6a3efdef5bc237428ed776
|
|
| MD5 |
6f935b4d3a546fff046dda267ab9b694
|
|
| BLAKE2b-256 |
3dae7bbca7e6f08ee8b6acba6a91ae34cc1712caecae0978b6e20574e55eccf0
|