Skip to main content

UNKNOWN

Project description

A simpler way to read configuration files.

dotconfig provides a very simple way to read options from a config file. It is currently read-only.

How to use

Example:

data.config

[network]
port: 8080

example.py

import dotconfig
config = dotconfig.Config("data.config")
config.network.port # returns the port number as string

Contribute

Feel free to fork and add anything you find is missing. :)

Project details


Download files

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

Files for DotConfig, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size DotConfig-0.1.0.tar.gz (3.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page