mxdev-uv-pyproject-updater
An mxdev extension hook that automatically updates pyproject.toml during the mxdev write phase to support uv workflows.
Installation
You must install this package in the same environment as mxdev.
If you are using uv to run mxdev globally, you can install the hook via uv tool install:
uv tool install mxdev --with mxdev-uv-pyproject-updater
Or if you are running mxdev via a local virtual environment:
uv pip install mxdev mxdev-uv-pyproject-updater
Usage
Because it registers an mxdev entry point, this hook runs automatically whenever you run mxdev. It will automatically detect packages defined in your mx.ini file and write the corresponding configuration to your pyproject.toml file.
Features
-
Automatic
uvSource Mapping It natively configures the[tool.uv.sources]table in yourpyproject.toml. It handlesmxdev's absolute vs relative directories and automatically respects theinstall-modesetting (editable,fixed, orskip). It perfectly supportsmxdevsubdirectoryparameters too.[tool.uv.sources] "plone.app.discussion" = {path = "sources/plone.app.discussion", editable = true}
-
Smart Dependency Injection The hook safely inserts your checked-out packages directly into your
[project]dependenciesarray.It implements strict PEP 503 normalization (converting
-,_, and.equivalently) to intelligently ensure packages aren't duplicated, even if the dependency is already specified in yourpyproject.tomlwith version specifiers or extras.[project] dependencies = [ "plone.app.discussion" ]
-
Format Preservation Built on
tomlkit, it safely updatespyproject.tomlwhile perfectly preserving all your existing user formatting, arrays, spacing, and comments.
Metadata
Release files for mxdev-uv-pyproject-updater 0.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 |
|---|---|---|---|---|
| mxdev_uv_pyproject_updater-0.1.0.tar.gz | 14.3 kB | Without provenance | Details for mxdev_uv_pyproject_updater-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mxdev_uv_pyproject_updater-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for mxdev_uv_pyproject_updater-0.1.0-py3-none-any.whl |
Total release size: 25.9 kB
Release files / mxdev_uv_pyproject_updater-0.1.0.tar.gz
| Download URL | mxdev_uv_pyproject_updater-0.1.0.tar.gz |
|---|---|
| Size | 14.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cc0cffa2963542f7bd41dd313b0bbc2d85a1ac457802a6f0824e10ce97263cb7
|
|
BLAKE2b-256 checksum How to use checksums |
57daed998e1703bc955f76f42632a1759ec2cafabd5cce8191b25504155f07f8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.2
|
Release files / mxdev_uv_pyproject_updater-0.1.0-py3-none-any.whl
| Download URL | mxdev_uv_pyproject_updater-0.1.0-py3-none-any.whl |
|---|---|
| Size | 11.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4426e277bb57d3006b102630c1a22f95566ce4c60da0e5d94c35e7c07e6f27c0
|
|
BLAKE2b-256 checksum How to use checksums |
c02117abb4be20f22043bc67906bd9cfb65f8b8a6e87ac5b42ea041f3e39d3a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.2
|
Security for mxdev-uv-pyproject-updater 0.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.