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.12.0.tar.gz
(16.2 kB
view details)
Built Distribution
pybeans-1.12.0-py3-none-any.whl
(21.0 kB
view details)
File details
Details for the file pybeans-1.12.0.tar.gz
.
File metadata
- Download URL: pybeans-1.12.0.tar.gz
- Upload date:
- Size: 16.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.10.0 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/1.0.0 urllib3/1.26.20 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3200ea8958ce2e89774e014242f74ebea2ba509d37447d94002eba7a2cc66c64 |
|
MD5 | 94591af5356a62905fc85f1e3335df73 |
|
BLAKE2b-256 | bac1195e6245e6c3b7a14b408646f9dcbab79ac88d1b9bf81897f9d5d2456569 |
File details
Details for the file pybeans-1.12.0-py3-none-any.whl
.
File metadata
- Download URL: pybeans-1.12.0-py3-none-any.whl
- Upload date:
- Size: 21.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.10.0 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/1.0.0 urllib3/1.26.20 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9bf6e7b00e5139fa38b05fd95424f5d87aff46afd771ad34e6d9c638093f51d3 |
|
MD5 | 93cd3de26138db9fe7a199beea0355db |
|
BLAKE2b-256 | 9b7b492177cdf3eab769f8dbf97e28894038f1c05f699f5e113121372d4c5a1d |