Recent Releases of pyconfs

pyconfs - v0.5.5

  • Bugfix: ConfigurationList elements lose variables

- Python
Published by gahjelle over 4 years ago

pyconfs - v0.5.4

  • Add changelog.
  • Add .is_list property identifying ConfigurationList objects (#19)

- Python
Published by gahjelle over 4 years ago

pyconfs - v0.5.3

  • Add explicit support for Python 3.9 (#13).
  • Add Citation file (by @lewiuberg in #16).
  • Use GitHub actions for CD (#18).
  • Bugifx: Enforce keys to be strings when writing to TOML (by @lewiuberg in #17).
  • Bugfix: Fix error message in .as_namedtuple() for Python 3.10.

- Python
Published by gahjelle over 4 years ago

pyconfs - v0.5.2

  • Bugfix: Handle nested (list) keys in .replace()

- Python
Published by gahjelle over 4 years ago

pyconfs - v0.5.0

  • Properly update configuration, also when cfg.entry = "value" is used instead of cfg.update_entry()
  • Add .copy_section() to support default sections

- Python
Published by gahjelle over 5 years ago

pyconfs - v0.5.1

  • Remove .copy_section()
  • Bugfix: Handle .as_named_tuple() in Python 3.9
  • Bugfix: Reporting correct name of reader in .source
  • Move to GitHub actions for CI

- Python
Published by gahjelle over 5 years ago

pyconfs - v0.4.2

  • Bugfix: Properly handle updating from nested dictionaries

- Python
Published by gahjelle almost 6 years ago

pyconfs - v0.4.1

  • Bugfix: .section_names include parent names as well. Should just be the name of the actual section.

- Python
Published by gahjelle almost 6 years ago

pyconfs - v0.4.0

  • Support lists inside configurations properly
  • .leafs, .leaf_keys, .leaf_values return lists for consistency with section and entry properties

- Python
Published by gahjelle almost 6 years ago

pyconfs - v0.3.0

  • Add .section_items property to iterate over section names and section content
  • Support reading configurations directly from strings
  • Add writers for all supported configuration formats (INI, YAML, JSON, TOML)
  • Add support for writing configurations to files with .as_file()
  • Support writing configurations directly to strings with .as_str()
  • Bugfix: Proper handling of AttributeErrors

- Python
Published by gahjelle almost 6 years ago

pyconfs - v0.3.1

  • Support encodings in config files

- Python
Published by gahjelle almost 6 years ago

pyconfs - v0.3.2

  • Add .leafs, .leaf_keys, and .leaf_values to iterate over all entries in a nested configuration
  • Simplified support of multi-document YAMLs by only reading the first document
  • Ignore environment variables where conversion fails

- Python
Published by gahjelle almost 6 years ago

pyconfs - v0.3.3

  • Use TOML for default str() behavior
  • Expose converters in stand-alone convert_to() function
  • Support .get() with list keys which will recursively get an entry from a nested configuration
  • Explicitly support Python 3.9
  • Bugfix: Allow replace() to handle non-strings by implictly converting variable values to strings

- Python
Published by gahjelle almost 6 years ago