Skip to main content

Implement python constant configuration and reading

Project description

Python constant manager

New features

2023.06.14
1. Support manual constant modification by locking the flag bit with a manual switch

    from bdpyconsts import bdpyconsts as consts

    consts.ABCD = "abcd"

    # one way
    consts.unlock()
    consts.ABCD = "abcd"
    consts.locked()

    # another way
    if not consts.lock:
        onsts.ABCD = "abcd"

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

bdpyconsts-1.1.2.tar.gz (2.1 kB view hashes)

Uploaded Source

Built Distribution

bdpyconsts-1.1.2-py3-none-any.whl (2.3 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