Skip to main content

Common code for myself.

Project description

Python version >= 3.6

Common code for myself.


  • 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


  • send_email support CC.

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.3.2.tar.gz (12.4 kB view hashes)

Uploaded Source

Built Distribution

chariothy_common-1.3.2-py3-none-any.whl (12.8 kB view hashes)

Uploaded Python 3

Supported by

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