Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

A simple way to configure python libraries

Project description


A simple way to configure applications using pure python files.


# contents of default config (
bob = 1
harry = {0: 1, 1: 3}

# contents of secondary config (~/
bob = 2
harry = {1: 2, 3: 4}

# contents of primary config (
bill = 4
harry = {1: 6}

# now use the configuration:

from figcon import Figcon

# give figcon a path to the default config file
config = Figcon(default_path='base_config', primary_path='', 

# objects are updated based on lowest priority (default) to highest (primary)

assert config.bob  == 2
assert config.harry == {0:1, 1: 6, 3:4}


  • 3 step hierarchical configuration using a default, primary, and secondary config file.
  • Config files are pure python which allow lots flexibility.
  • Dont use this if you don't trust your users.

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 figcon, version 0.0.0
Filename, size File type Python version Upload date Hashes
Filename, size figcon-0.0.0-py3-none-any.whl (5.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size figcon-0.0.0.tar.gz (3.9 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