Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

impulsare/config

https://travis-ci.org/impulsare/config.svg?branch=master https://scrutinizer-ci.com/g/impulsare/config/badges/quality-score.png?b=master

Overview

A config reader, that validates a YAML config file and add default values if required.

Extra values won’t be verified, that any component / library defines its own config parameters in a single configuration file without blocking other to do the same.

See tests/static/ for examples.

Installation / Usage

To install use pip:

$ pip install --upgrade impulsare-config

Example

from impulsare_config import Reader

# Main Config File
config_file = 'config/app.yml'
# File with validation rules based on JSON Schema
specs_file = 'config/specs.yml'
# Default values
default_file = 'config/default.yml'

config = Reader().parse(config_file, specs_file, default_file)

Development & Tests

$ pip install -r requirements.txt
$ pip install -r requirements-dev.txt
$ py.test --cov-report html --cov=impulsare_config tests/

Metadata

Release files for impulsare-config 1.0b5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for impulsare-config 1.0b5
File Size Uploaded Provenance Actions
impulsare-config-1.0b5.tar.gz 3.3 kB Without provenance Details for impulsare-config-1.0b5.tar.gz

Release files / impulsare-config-1.0b5.tar.gz

Download URL impulsare-config-1.0b5.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
80a6eb23081b0fcf8a7eeb8c8fc5937e1cd1214763a09b4ec44f4f58f6d098f1
BLAKE2b-256 checksum
How to use checksums
e249af7957e03cf1afaca655d14ef4940623c87be9f801e9784c7763ace2a45c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for impulsare-config 1.0b5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page