Skip to main content

A python package to make configs easier!

Project description

Example: if name == 'main': file = open('config.config', 'w+') # open config file. config = Reader.load(f=file) # one way is the load function it uses an file object and then reads the config from there. print(config) # or: # text = file.read() # config = Reader.loads(text) # Loads the config from text. # Get a spicific value from config without loading it: Reader.get(filename='config.config', name='The Name') # returns the value of the given name from the config. # Get a spicific value from config text: Reader.get_from_raw_text(name='The Name', text='Text to find the name in') # returns the value of the given name from the text Dumper.create_basic(filename='config.config') # creates a basic config and writes Version 1.0 in it. # Write something to the config: Dumper.add(filename='config.config', name='The Name', value='The Value') # Write Moultiple Things to your config: Dumper.dump(filename='config.config', names=['System'], values=['Windows']) # it uses the enmurate function.

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

easy-configs-0.0.5.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

easy_configs-0.0.5-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file easy-configs-0.0.5.tar.gz.

File metadata

  • Download URL: easy-configs-0.0.5.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/37.3 requests/2.28.2 requests-toolbelt/0.10.1 urllib3/1.26.15 tqdm/4.65.0 importlib-metadata/6.6.0 keyring/23.13.1 rfc3986/1.5.0 colorama/0.4.6 CPython/3.10.0

File hashes

Hashes for easy-configs-0.0.5.tar.gz
Algorithm Hash digest
SHA256 edbe3c8397865e1933700e0910e2997bfb36b07810a31aad924fe03628d1a64c
MD5 48fa52a7739b38f96eaca100947a3844
BLAKE2b-256 ed3cf3f191b9e4a27f9340d8f12a5dfd7a169c0ff0e142d1cdcb0ed4b7ee4356

See more details on using hashes here.

File details

Details for the file easy_configs-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: easy_configs-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/37.3 requests/2.28.2 requests-toolbelt/0.10.1 urllib3/1.26.15 tqdm/4.65.0 importlib-metadata/6.6.0 keyring/23.13.1 rfc3986/1.5.0 colorama/0.4.6 CPython/3.10.0

File hashes

Hashes for easy_configs-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 83763ad0d1984d0acae9fc759706842ddb38e5ba2e30bd89c31144cdfce9db71
MD5 1a2fe8507c802c9cc2fe8caba1cbc7dd
BLAKE2b-256 d37477789b14f09cb6ded8528599cbe0c5422ad169f0487a660de6f8f3a6ad52

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