Common code for myself.
Project description
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
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
chariothy-common-1.2.1.tar.gz
(11.9 kB
view hashes)
Built Distribution
Close
Hashes for chariothy_common-1.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff75046626b9dad5d7cd937cf922f696ea3a35cb63574848353eafd4cc889629 |
|
MD5 | f6c31e78c3a5840b855e49bae435f0f7 |
|
BLAKE2b-256 | 904b75a5c9200fc73a5e5a6045d3eff16c657e99cb6b4c8f5ecf508f39e56a5b |