Skip to content

Latest commit

 

History

History
49 lines (37 loc) · 4.15 KB

README.md

File metadata and controls

49 lines (37 loc) · 4.15 KB

Config Suite

Build Status CircleCI Code style: black MIT license Codacy Badge Codacy Badge Requirements Status Documentation Status

Introduction

Config Suite is the result of recognizing the complexity of software configuration, both from a user and developer perspective. And our main goal is to be transparent about this complexity. In particular we aim at providing the user with confirmation when a valid configuration is given, concrete assistance when the configuration is not valid and up-to-date documentation to assist in this work. For a developer we aim at providing a suite that will handle configuration validity with multiple sources of data in a seamless manner, completely remove the burden of special casing and validity checking and automatically generate documentation that is up to date. We also believe that dealing with the complexity of formally verifying a configuration early in development leads to a better design of your configuration.

Features

  • Validate configurations.
  • Provide an extensive list of errors when applicable.
  • Output a single immutable configuration object where all values are provided.
  • Support for multiple data sources, yielding the possibility of default values as well as user and workspace configurations on top of the current configuration.
  • Generating documentation that adheres to the technical requirements.
  • No exceptions are thrown based on user-input (this is currently not true for validatiors).
  • Context based validators and transformations.

Documentation

Check out the documentation.

Future

Have a look at the epics and issues in the GitHub repository.

Installation

The simplest way to fetch the newest version of Config Suite is via PyPI.

pip install configsuite

Developer guidelines

Contributions to Config Suite is very much welcome! Bug reports, feature requests and improvements to the documentation or code alike. However, if you are planning a bigger chunk of work or to introduce a concept, initiating a discussion in an issue is encouraged.

Running the tests

The tests can be executed with python setup.py test. Note that the code formatting tests will only be executed with Python 3.6 or higher.

Code formatting

The entire code base is formatted with black.

Pull request expectations

We expect a well-written explanation for smaller PR's and a reference to an issue for larger contributions. In addition, we expect the tests to pass on all commits and the commit messages to be written in imperative style. For more on commit messages read this.

License

Config Suite is licensed under the MIT License. For more information we refer the reader to the LICENSE file.