Loadcfg

Latest version: v0.1.1

Safety actively analyzes 722832 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.1.1

New Features

- **Support for TOML and INI:**
The library now supports loading and generating configuration files in TOML and INI formats in addition to JSON and YAML.

- **Saving Generated Configurations:**
Generated configuration examples now include a `.save()` method that allows you to save the output to a file. If no filename is specified, a default filename of `config.<format>` is used.

**Full Changelog**: https://github.com/danielkorkin/loadcfg/compare/v0.1.0...v0.1.1

0.1.0

- **Initial Release**
- Introduced core functionality:
- `LoadJson` and `LoadYaml` functions for loading JSON and YAML configuration files.
- A `Config` class that supports dot-access for configuration values.
- A `Template` base class for defining configuration schemas, validating configurations, and generating example configuration files.
- Comprehensive documentation generated with Sphinx and published on Read the Docs.
- Testing implemented using pytest with full test coverage integration via Codecov.
- Pre-commit hooks set up for code formatting, linting, and style checks.
- Released under the MIT License.

**Full Changelog**: https://github.com/danielkorkin/loadcfg/commits/v0.1.0

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.