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.2.tar.gz
(16.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.2-py3-none-any.whl
(21.5 kB
view details)
File details
Details for the file pybeans-1.13.2.tar.gz.
File metadata
- Download URL: pybeans-1.13.2.tar.gz
- Upload date:
- Size: 16.1 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 |
b928487aff251322902027628fd145cc5ae0da8cef5a0451d8798c38d36a070f
|
|
| MD5 |
a92f350b19bb234f4c923ec53d2f5e44
|
|
| BLAKE2b-256 |
26216dd5d80509712b04f27c4137fde58370f19dcbb012ce9b66000f6cf1cccc
|
File details
Details for the file pybeans-1.13.2-py3-none-any.whl.
File metadata
- Download URL: pybeans-1.13.2-py3-none-any.whl
- Upload date:
- Size: 21.5 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 |
8cc396e9c18f3da9a842b44d73e177346480f9ce68447256c938c0625672b0fc
|
|
| MD5 |
92ed8b06148f0577d34873164f7c97ca
|
|
| BLAKE2b-256 |
f6acdbbc83e6daabede385172d97b0c1c56a2c9d4991a734bbeeeac7cd78e392
|