Skip to content

A configuration preparation library for python project

License

Notifications You must be signed in to change notification settings

whosaysni/confer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

confer: A configuration preparation library for python project

External configuration:

# settings.py
COLOR = 'blue'
NUMBER = 6

# settings_extra.py
COLOR = 'yellow'
NAME = 'Arthur'

Configuration body example (config.py):

from confer import configure

configure(
    'file:///path/to/settings.py',
    'file:///path/to/settings_extra.py',
    ...
)

Yields:

>>> import config
>>> config.COLOR
'yellow'
>> config.NUMBER
6
>> config.NAME
'Arthur'

About

A configuration preparation library for python project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages