qx-devtools
Shared code-quality configuration presets for Qx services — ruff, mypy, pre-commit, and editorconfig in one place.
What lives here
qx.devtools.RUFF_CONFIG— string constant with the standard ruff configuration (line length 100, full lint rule set, per-file ignores for tests and Alembic).qx.devtools.MYPY_CONFIG— string constant with strict mypy configuration (strict = True, pydantic plugin, test/alembic exclusions).qx.devtools.PRE_COMMIT_CONFIG— string constant with a pre-commit config that runs ruff, ruff-format, mypy, and standard file-hygiene hooks.qx.devtools.EDITORCONFIG— string constant with the standard.editorconfig(UTF-8, LF, 4-space indent).qx.devtools.write_configs— writes any combination of the above files into a target directory. Skips existing files unlessoverwrite=True.
Usage
Write the standard config files into a new service's root directory:
from pathlib import Path
from qx.devtools import write_configs
written = write_configs(Path("my-service/"), ruff=True, mypy=True, pre_commit=True)
print(f"Written: {[str(p) for p in written]}")
Or call it from the CLI during service scaffolding:
uv run python -c "from qx.devtools import write_configs; from pathlib import Path; write_configs(Path('.'))"
Design rules
- The config strings are plain text constants so services can read, extend, or compose from them without parsing TOML/YAML.
write_configsis intentionally conservative: it never overwrites by default. Run withoverwrite=Trueonly when you want to pull in updated framework defaults.- Services that want to diverge from a specific rule should do so in their own config file rather than forking the preset — extend, don't override wholesale.
Metadata
Release files for qx-devtools 1.1.0
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 |
|---|---|---|---|---|
| qx_devtools-1.1.0.tar.gz | 3.3 kB | Without provenance | Details for qx_devtools-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| qx_devtools-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for qx_devtools-1.1.0-py3-none-any.whl |
Total release size: 6.8 kB
Release files / qx_devtools-1.1.0.tar.gz
| Download URL | qx_devtools-1.1.0.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4240821efa4b1f8c13f63386166f17f8a193d2a1fd2821c1931c14f32ad430f7
|
|
BLAKE2b-256 checksum How to use checksums |
a838fa5a96cb6a300ef6c719d07dacf16c2fd14c8ecfc3c3161b0c8797f19b49
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / qx_devtools-1.1.0-py3-none-any.whl
| Download URL | qx_devtools-1.1.0-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3f16698ab45790346b968cc9217ff23fc46d70ed33cfc54400ee74c34c6839cd
|
|
BLAKE2b-256 checksum How to use checksums |
0dc870baef42cc0f8698f49b25f27e0311f35f3a04f70f4c5c98fab9011cbd99
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Security for qx-devtools 1.1.0
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.