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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for bdpyconsts-1.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b5e5efd42ac3b5ee888a1e37653ad5d34a60bc4b31be215bbe8f98290c5002b |
|
MD5 | 476642bcc420bad281ffb59b295e6116 |
|
BLAKE2b-256 | 76d1bd2bfaa40c086e0e278349242bd0b04dc2664613622554b219da76e31211 |