Metadata-Version: 2.1
Name: sc-config
Version: 0.0.9
Summary: A simple Python configuration file operator
Home-page: https://github.com/Scott-Lau/sc-config
Author: Scott Lau
Author-email: exceedego@126.com
License: MIT
Keywords: python config
Platform: POSIX
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Topic :: Software Development
Classifier: Topic :: Utilities
Requires-Python: >=3.6
License-File: LICENSE
Requires-Dist: config42 (>=0.4.5)

.. image:: https://badge.fury.io/py/sc-config.svg
    :target: https://badge.fury.io/py/sc-config
.. image:: https://img.shields.io/pypi/pyversions/sc-config
    :alt: PyPI - Python Version


A simple Python configuration file operator
===========================================

This project provides a common way to read configurations using `config42 <https://pypi.org/project/config42/>`_.


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
-------------

* `config42 <https://pypi.org/project/config42/>`_ >= 0.4.5

License
-------------

The script is released under the `MIT License <https://opensource.org/licenses/MIT>`_.
The MIT License is registered with and approved by the `Open Source Initiative <https://opensource.org/>`_.

