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

Uploaded Source

Built Distribution

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

pybeans-1.13.5-py3-none-any.whl (21.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pybeans-1.13.5.tar.gz
  • Upload date:
  • Size: 23.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.18

File hashes

Hashes for pybeans-1.13.5.tar.gz
Algorithm Hash digest
SHA256 9eb9eb77661bb7b2d42bd69bbfb6e561e23ed1f9f41cf4e3b2a1fedff85d6872
MD5 235eed59498aa1313a32afbb9a4e7ead
BLAKE2b-256 c7fc1dd02bf5b0ccaf40da53a6161fd786ce97930350732d03c992abdb1380dc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pybeans-1.13.5-py3-none-any.whl
  • Upload date:
  • Size: 21.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.18

File hashes

Hashes for pybeans-1.13.5-py3-none-any.whl
Algorithm Hash digest
SHA256 d38da6e09ae8ba4297f3cc3b3805e01bbf85abddce031c126722b4571f9226a6
MD5 e9da7477c0e7da4188831c7bc50c3d10
BLAKE2b-256 15efe51065247f609a9c19152c826bc91cbd12f4e6d5dc84d79ff4382a18ff1a

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