python-anyconfig icon indicating copy to clipboard operation
python-anyconfig copied to clipboard

Python library provides common APIs to load and dump configuration files in various formats

Results 20 python-anyconfig issues
Sort by recently updated
recently updated
newest added

**Example:** Consider the following configs in YAML & XML, which are made friendly to the users (who create these configs). YAML is "canonical" and directly maps to the expected Python...

enhancement

It seems that there are some python bindings to jq and https://github.com/mwilliamson/jq.py looks popular.

enhancement

XML backend does not follow 'the spec', http://www.xml.com/pub/a/2006/05/31/converting-between-xml-and-json.html such as xmltodict (https://github.com/martinblech/xmltodict) looks so. ```python In [1]: import anyconfig.backend.xml as X, xml.etree.cElementTree as ET In [2]: X.elem_to_container(ET.XML(""), dict, {}) Out[2]:...

enhancement

Plugin candidates are: - bson, cbor, configobj, msgpack, toml: These require non standard libraries may not be installed. - properties and shellvars: These implement own parsers may be better to...

enhancement

I'm completely not interested in this. I've posted just to show the current status for Windows fans.

enhancement

I have been looking at the codebase, and it looks like you are calling the formats of the files as backends. However, you also look like willing to implement different...

enhancement

I propose to add [docopt](http://docopt.org/) (command line arguments parser) backend. It should be very easy to implement as it outputs a dictionary.

enhancement

**Describe the bug** It seems that the keyword argument sort_keys=True/False in PYYaml parser is ignored and the order is not preserved: **To Reproduce** ```console [31]: d = load("/tmp/test.yaml") In [32]:...

bug

**Describe the bug** A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior: 1. Go to '...' 2. Click on '....' 3. Scroll...

bug

**Describe the bug** When running a file that does `anyconfig.load` with pytest, a DeprecationWarning is thrown: ``` venv/lib/python3.11/site-packages/anyconfig/processors/utils.py:245: DeprecationWarning: SelectableGroups dict interface is deprecated. Use select. for res in (eps.get(pgroup,...

bug