xini - eXtract pyproject.toml configs to INI
pyproject.toml is a fantastic idea. I want all my tool configurations
in my pyproject.toml file. Not all my tools support a pyproject.toml
configuration option though, but why wait?
xini pulls configurations from a pyproject.toml file for:
- pytest
- flake8
- coverage
- pylint
And generates the appropriate ini-config files.
Install
... pip install xini
How Does It Work?
-
Write tool configuration in the
pyproject.tomlunder the appropriate "[tool.toolname]" section. This becomes the standard location for your configurations. Keeppyproject.tomlin source control as normal. -
Run
xiniin the root project directory where thepyproject.tomlfile exits. (xinidoes not search forpyproject.tomlfiles anywhere but the current directory.) -
xinigenerates standard named ini-config files in the current directory (e.g. .flake8, .coveragerc, etc.). Tools that use old-style ini file formats can then run using the generated config file. No need to maintain these ini-config files in source control. -
Make config changes in
pyproject.tomland runxinito regnerate ini-config files.
The Future
It is my sincere hope that there is no future for this project. I wish
all tool developers to build support for pyproject.toml as a configuration
option so a tool like xini is unnecessary.
Metadata
Release files for xini 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| xini-0.2.2.tar.gz | 4.3 kB | Without provenance | Details for xini-0.2.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| xini-0.2.2-py3-none-any.whl | Python 3 | none | any | Details for xini-0.2.2-py3-none-any.whl |
Total release size: 14.9 kB
Release files / xini-0.2.2.tar.gz
| Download URL | xini-0.2.2.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
da32091a00156500fe6d9b0f5a3de934fd1e639308cd5fb3ebafb56c2577adb5
|
|
BLAKE2b-256 checksum How to use checksums |
4fd01f889e7967e1bbef48b5cf8eeab19a81ae761dacef01191e885e2e501cbf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/0.12.11 CPython/3.6.2 Darwin/17.7.0
|
Release files / xini-0.2.2-py3-none-any.whl
| Download URL | xini-0.2.2-py3-none-any.whl |
|---|---|
| Size | 10.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
74fe4a9c5427897f82d426342e853dc1d5523fe2e30c8735721468e9bdc3b032
|
|
BLAKE2b-256 checksum How to use checksums |
4ed9130110522d3b935e4edec289f05f0bb01711ac638875e7ba5b29ff1d638a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/0.12.11 CPython/3.6.2 Darwin/17.7.0
|
Security for xini 0.2.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.