Mailing List Archive

ANN: Version 0.5.1 of the Python config module has been released.
What Does It Do?
================
The CFG configuration format is a text format for configuration files which is similar
to, and a superset of, the JSON format.It has the following aims:

* Allow a hierarchical configuration scheme with support for key-value mappings and
  lists.
* Support cross-references between one part of the configuration and another.
* Provide a string interpolation facility to easily build up configuration values from
  other configuration values.
* Provide the ability to compose configurations (using include and merge facilities).
* Provide the ability to access real application objects safely.
* Be completely declarative.

It overcomes a number of drawbacks of JSON when used as a configuration format:

* JSON is more verbose than necessary.
* JSON doesn’t allow comments.
* JSON doesn’t provide first-class support for dates and multi-line strings.
* JSON doesn’t allow trailing commas in lists and mappings.
* JSON doesn’t provide easy cross-referencing, interpolation, or composition.

The Python config module provides an interface to work with configuration files written
in the CFG format.

Comprehensive documentation is available at

https://docs.red-dove.com/cfg/index.html

and you can report issues / enhancement requests at

https://github.com/vsajip/py-cfg-lib/issues

As always, your feedback is most welcome (especially bug reports, patches and
suggestions for improvement). Enjoy!

Cheers,

Vinay Sajip

--
https://mail.python.org/mailman/listinfo/python-list
Re: ANN: Version 0.5.1 of the Python config module has been released. [ In reply to ]
Used by 4.8k but only ... 4 stars
--
https://mail.python.org/mailman/listinfo/python-list
Re: ANN: Version 0.5.1 of the Python config module has been released. [ In reply to ]
Many of those 4.8K "users" might be using indirectly via some other dependency - I'm not sure how GitHub calculates "used by", but even if it were a direct dependency, one has no idea if it's actually being used or not. so I tend not to worry about such things. My distlib library has only 2 stars, and is used by pip and therefore by many developers every day, and yet it doesn't merit a "used by" according to GitHub.

I've had a few users contact me about the config library and they're happy with it and they find it useful, and that's good enough for me :-)



On Sunday, 12 September 2021, 18:11:21 BST, Abdur-Rahmaan Janhangeer <arj.python@gmail.com> wrote:





Used by 4.8k but only ... 4 stars

--
https://mail.python.org/mailman/listinfo/python-list