Skip to main content
https://img.shields.io/pypi/v/ycsettings.svg https://readthedocs.org/projects/ycsettings/badge/?version=latest

ycsettings is a utility module for handling app settings. It simplifies the searching of multiple sources (i.e., environment, files, etc) for settings and configuration variables.

Example

parser = ArgumentParser(description='Hello World!')
parser.add_argument('settings_uri', type=str, metavar='<config_file>', help='Positional option')
A = parser.parse_args()

settings_dict = {'A': 5}

settings = Settings(A, settings_dict, 's3://example/settings.yaml', search_first=['env', 'env_settings_uri'], warn_missing=False)

print(settings.getint('A', default=5, raise_exception=True))

Metadata

Release files for ycsettings 0.1.5

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

Source distribution (sdist)

Source distribution for ycsettings 0.1.5
File Size Uploaded Provenance
ycsettings-0.1.5.tar.gz 13.2 kB Without provenance Details

Release files / ycsettings-0.1.5.tar.gz

Download URL ycsettings-0.1.5.tar.gz
Size 13.2 kB
Tags Source
SHA-256 checksum
How to use checksums
2e3448e9bbc492754f9ca84ec9c4e7aef5223997a64ce7d371cb82ca8e52173a
BLAKE2b-256 checksum
How to use checksums
eec068141d6d16d22189f7c58cd285d29b56a9104a34b1ee5b7304ecfcb6dc06
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for ycsettings 0.1.5

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