Application modules swiss-knife
Project description
appcore
Core modules for python application.
Provides possibility to:
- Working with configuration file
- Split one configuration file, to several (via modules feature)
- Change any configuration item from command line
- Working "In Memory" mode, without parsing configuration
- Logging
Even more come !
How to connect to your Project
pip install git+https://github.com/hapylestat/appcore.git
How to use
test.py
from appcore.core import config
def main():
conf = config.get_instance(in_memory=True)
print(conf.get("main.arg", check_type=str, default="main argument"))
if __name__ == "__main__":
main()
Console:
# python test.py main.arg=test
test
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
apputils-0.1.3.dev22.tar.gz
(19.4 kB
view hashes)