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.3.tar.gz
(11.9 kB
view details)
Built Distribution
File details
Details for the file chariothy-common-1.2.3.tar.gz
.
File metadata
- Download URL: chariothy-common-1.2.3.tar.gz
- Upload date:
- Size: 11.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.6.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
6b6fd8d839b575b068cc3e8a22a2285a7369565832efe125db623fdd111ce178
|
|
MD5 |
35325120f1802d338f010978fca30b5a
|
|
BLAKE2b-256 |
420441c27abc7b3d3e9039c58aa5711b25798abee44802a33da1721b8edf99c0
|
File details
Details for the file chariothy_common-1.2.3-py3-none-any.whl
.
File metadata
- Download URL: chariothy_common-1.2.3-py3-none-any.whl
- Upload date:
- Size: 12.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.6.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
8d44d70d80166ab9567b55145661e832a6b32e3c4777e899fe28740b13ba52f6
|
|
MD5 |
512410fe1a1a4582e7db89f9c0e62e3f
|
|
BLAKE2b-256 |
a73219ae46071b46978ff82a071ad674fbfbc38eb9266d2d2e8c4365bd22443a
|