Skip to main content

A small package to simplify configuration storing and retrieving

Project description

BetterConfigs

A small package to simplify configuration storing and retrieving

Usage

Using BetterConfigs is as simple as importing the package, calling a new configuration object, and saving whatever you need to a file.

Example Code

  • Import the package with import betterconfigs
  • Create a configuration file object with objectname = betterconfigs.config(filename) where objectname is a blank variable and filename is the string of the configuration file.
  • You can now set properties using objectname[property]=key. Note you cannot use the property version as this is specific to the configuration file and must not be changed.
import betterconfigs
t = betterconfigs.config('test.config')
t['hello'] = 'world'
print(t['hello'])

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

betterconfigs-0.7-py3-none-any.whl (14.8 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