Skip to main content

A simple Python configuration file operator

Project description

https://badge.fury.io/py/sc-config.svg PyPI - Python Version

A simple Python configuration file operator

This project provides a common way to read configurations.

Installation

It is possible to install the tool with pip:

pip install sc-config

Configuration

Configuration files reading in this order, the first is the top most priority: 1. production.xml in current directory, 2. production.xml in <project_name> directory under User directory, 3. production.xml in <project_name> directory under /var/opt/sc/ directory, 4. default.xml in <project_name> directory under /var/opt/sc/ directory.

Dependencies

  • ruamel.yaml>=0.17.17

  • Jinja2 >= 2.0

  • Cerberus >= 1.3.1

  • MarkupSafe>=2.0.1

License

The script is released under the MIT License. The MIT License is registered with and approved by the Open Source Initiative.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

sc_config-0.0.15-py3-none-any.whl (20.5 kB view details)

Uploaded Python 3

File details

Details for the file sc_config-0.0.15-py3-none-any.whl.

File metadata

  • Download URL: sc_config-0.0.15-py3-none-any.whl
  • Upload date:
  • Size: 20.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for sc_config-0.0.15-py3-none-any.whl
Algorithm Hash digest
SHA256 93a1f78f610ce32ae4887615d8befd3a1d830d451aed5dc0618c2db535fd4076
MD5 cdca6ac933773abb8bab53f701675680
BLAKE2b-256 248b148afc944d383b9de30e47871a9b9de5684569b55e90729564eca106318a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page