Skip to content

Home

ABConfig helps you easily create great configurations

Import and create class:

1
2
3
4
5
from abconfig import ABConfig

class MyConfig(ABConfig):
    host = str
    port = int

and create config:

1
2
3
config = MyConfig()
config
{'host': None, 'port': None}

read more.

Dependencies

Python 3.6+ and optional:

  • pyyaml>=5.1;
  • toml>=0.10.0;
  • hvac>=0.9.6 - for reading Vault;
  • boto3>=1.11.15 - for supports Vault IAM auth.

Сode and License

  • It's MIT licensed and freely available on github.

  • Please feel free to file an issue on the bug tracker if you have found a bug or have some suggestion in order to improve the library.