easyconfig

Easy application configuration with python

APACHE-2.0 License

Downloads
447.7K
Stars
6
Committers
2

Bot releases are visible (Hide)

easyconfig - v0.3.0 Latest Release

Published by spacemanspiff2007 over 1 year ago

  • Breaking: requires pydantic 2.0
  • Added support for variable expansion through environment variables and docker secrets
easyconfig - v0.2.8

Published by spacemanspiff2007 over 1 year ago

  • Fix for StrictBool
easyconfig - v0.2.7

Published by spacemanspiff2007 almost 2 years ago

Fixed default generation for data types that inherit from python base types

easyconfig - v0.2.6

Published by spacemanspiff2007 almost 2 years ago

  • Fixed an issue where the default yaml file would not be created properly when using aliases in container
easyconfig - v0.2.4

Published by spacemanspiff2007 over 2 years ago

Default values get validated, too

easyconfig - v0.2.3

Published by spacemanspiff2007 over 2 years ago

  • Added extra kwargs check for pydantic fields
  • Added option to get generated yaml as a string
easyconfig - v0.2.2

Published by spacemanspiff2007 over 2 years ago

  • Added convenience base classes AppBaseModel and BaseModel
  • Works with private attributes and class functions
  • Fixed an issue where multiline comments would not be created properly
  • Added an option to exclude entries from config file
easyconfig - v0.2.1

Published by spacemanspiff2007 over 2 years ago

Re-trigger github actions

easyconfig - v0.2.1

Published by spacemanspiff2007 over 2 years ago

Allow callbacks for file defaults

easyconfig - v0.2.0

Published by spacemanspiff2007 over 2 years ago

  • Switched to new and more flexible API
  • File default and config default are now separated
easyconfig - v0.1.2

Published by spacemanspiff2007 over 2 years ago

  • Comments get nicely intended
  • Fixed an issue with nested data structures
  • Allow to specify a different value for file creation
easyconfig - v0.1.1

Published by spacemanspiff2007 over 2 years ago

  • Fixed an issue with dynamic defaults
  • Optional values with default None will not be created in the yaml file
easyconfig - v0.1.0

Published by spacemanspiff2007 almost 3 years ago

Updated requirements

easyconfig - v0.0.2

Published by spacemanspiff2007 about 3 years ago

  • Validate user defaults
  • Use json representation of values to get native yaml datatypes
  • Use enum values instead of enum types
easyconfig - v0.0.1

Published by spacemanspiff2007 about 3 years ago

Initial release