Skip to main content

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


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

Uploaded Source

Built Distribution

pybeans-1.12.1-py3-none-any.whl (21.0 kB view details)

Uploaded Python 3

File details

Details for the file pybeans-1.12.1.tar.gz.

File metadata

  • Download URL: pybeans-1.12.1.tar.gz
  • Upload date:
  • Size: 16.2 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

Hashes for pybeans-1.12.1.tar.gz
Algorithm Hash digest
SHA256 17f2cc21b5e58fdf35af37f33e2506f88ae1f51dd00ca32c99848a0d8b067340
MD5 08b2f93aa5bb32f4468d6add03f598e1
BLAKE2b-256 6437fc46b272067b1cdc84080fc00caaff2c3c7d4ab0f5b15e49891e95fbcada

See more details on using hashes here.

File details

Details for the file pybeans-1.12.1-py3-none-any.whl.

File metadata

  • Download URL: pybeans-1.12.1-py3-none-any.whl
  • Upload date:
  • Size: 21.0 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

Hashes for pybeans-1.12.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ec5d3627b747529d7eca16690214855c98a7716a937c8a39fa563e38d7794c49
MD5 67eecd1f77e295f9e119fb6548fdee2f
BLAKE2b-256 d8d2cee0ecfca5ff6e6aea2b2f2dac36285396270654b668598bcb1d32f285ba

See more details on using hashes here.

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