Skip to main content

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


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.2.tar.gz (11.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

chariothy_common-1.2.2-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

Details for the file chariothy-common-1.2.2.tar.gz.

File metadata

  • Download URL: chariothy-common-1.2.2.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

Hashes for chariothy-common-1.2.2.tar.gz
Algorithm Hash digest
SHA256 5edb881252c17cfb472e6baad05be47e1e3083cf36a6adfa812629bc86806d5d
MD5 9fe69d4c6de32cfa720a006f48444115
BLAKE2b-256 2955f8880e36fc2fea00618e992ffc3b0223b9dcd03eb80382cebad413eaa737

See more details on using hashes here.

File details

Details for the file chariothy_common-1.2.2-py3-none-any.whl.

File metadata

  • Download URL: chariothy_common-1.2.2-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

Hashes for chariothy_common-1.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 35c420499b0c56904d7d1c11a83532d210322d85ab67957fd33140ddf6f57758
MD5 e1cfaa8088b11eadebe2a138145facb6
BLAKE2b-256 02d24a9bd7d63397a22d8ea95d160dbeb88a9fd655055040b166fe76dc5d5081

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page