uv-align 0.1.0__py3-none-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
Binary file
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: uv-align
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Classifier: Programming Language :: Rust
|
|
5
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
6
|
+
Requires-Dist: maturin>=1.14.1 ; extra == 'dev'
|
|
7
|
+
Provides-Extra: dev
|
|
8
|
+
License-File: LICENSE
|
|
9
|
+
Summary: Update pyproject.toml dependency constraints using versions resolved by uv.
|
|
10
|
+
Keywords: uv,dependencies,python,packaging
|
|
11
|
+
Home-Page: https://github.com/javidahmed64592/uv-align
|
|
12
|
+
Author-email: Javid Ahmed <javidahmed@icloud.com>
|
|
13
|
+
Requires-Python: >=3.8
|
|
14
|
+
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
|
|
15
|
+
Project-URL: repository, https://github.com/javidahmed64592/uv-align
|
|
16
|
+
|
|
17
|
+
[](https://www.rust-lang.org/)
|
|
18
|
+
[](https://docs.astral.sh/uv/)
|
|
19
|
+
[](https://github.com/javidahmed64592/uv-align/actions/workflows/ci.yml)
|
|
20
|
+
[](https://github.com/javidahmed64592/uv-align/actions/workflows/docs.yml)
|
|
21
|
+
[](https://github.com/javidahmed64592/uv-align/actions/workflows/publish.yml)
|
|
22
|
+
[](https://github.com/javidahmed64592/uv-align/actions/workflows/release.yml)
|
|
23
|
+
[](https://opensource.org/licenses/MIT)
|
|
24
|
+
|
|
25
|
+
<!-- omit from toc -->
|
|
26
|
+
# uv-align
|
|
27
|
+
|
|
28
|
+
`uv-align` is a command-line tool that helps you keep your Python dependencies in sync between `pyproject.toml` and `uv.lock`.
|
|
29
|
+
It checks for out-of-sync dependencies and can update version constraints in `pyproject.toml` accordingly.
|
|
30
|
+
|
|
31
|
+
It is intended to be used with Python projects that are managed with `uv`.
|
|
32
|
+
When executing `uv lock --upgrade`, `uv` updates `uv.lock` with the latest resolved dependecies, but it does not update the version constraints in `pyproject.toml` accordingly.
|
|
33
|
+
`uv-align` bridges this gap by checking for out-of-sync dependencies and updating the version constraints in `pyproject.toml` to match the resolved versions in `uv.lock`.
|
|
34
|
+
|
|
35
|
+
<!-- omit from toc -->
|
|
36
|
+
## Table of Contents
|
|
37
|
+
- [Quick Guide](#quick-guide)
|
|
38
|
+
- [Usage](#usage)
|
|
39
|
+
- [License](#license)
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
## Quick Guide
|
|
43
|
+
|
|
44
|
+
```sh
|
|
45
|
+
uv-align -h # Show help message
|
|
46
|
+
uv-align --check # Check for out-of-sync dependencies between `pyproject.toml` and `uv.lock`
|
|
47
|
+
uv-align -y # Update any out-of-sync version constraints in `pyproject.toml`
|
|
48
|
+
uv-align -yu # Upgrade dependencies and update version constraints in `pyproject.toml`
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
Example output:
|
|
52
|
+
|
|
53
|
+

|
|
54
|
+
|
|
55
|
+
## Usage
|
|
56
|
+
|
|
57
|
+
```sh
|
|
58
|
+
Update dependency constraints using versions resolved by `uv`
|
|
59
|
+
|
|
60
|
+
Usage: uv-align [OPTIONS] [PATH]
|
|
61
|
+
|
|
62
|
+
Arguments:
|
|
63
|
+
[PATH] Path to folder containing `pyproject.toml` and `uv.lock` files [default: .]
|
|
64
|
+
|
|
65
|
+
Options:
|
|
66
|
+
--check Show a diff of dependency updates without applying them
|
|
67
|
+
-y, --yes Automatically apply all changes without prompting
|
|
68
|
+
-u, --upgrade Upgrade dependencies in `uv.lock` with `uv`
|
|
69
|
+
-h, --help Print help
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
## License
|
|
73
|
+
|
|
74
|
+
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
|
|
75
|
+
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
uv_align-0.1.0.data/scripts/uv-align.exe,sha256=e4zkojBGxRgeNlccDm-kmG2rNbBSG8cUisM2HjM13fA,1261568
|
|
2
|
+
uv_align-0.1.0.dist-info/METADATA,sha256=EIOjR9w8Kh1SnHVr7Ah-ThB2WuxlzWDTA4uCmEUC_08,3745
|
|
3
|
+
uv_align-0.1.0.dist-info/WHEEL,sha256=2zDlIYIdD4m4N3p5DVEG3iJhGLdhsBQgdH-FqVkAur8,94
|
|
4
|
+
uv_align-0.1.0.dist-info/licenses/LICENSE,sha256=q9JIu_I2sKJk7_Hr6xVk9LUVbWCTUn_XahkEsMuHD3U,1089
|
|
5
|
+
uv_align-0.1.0.dist-info/sboms/uv-align.cyclonedx.json,sha256=a5HPEqyfEyV-p1fkWyTMYOAQjEdRSVsc6_kyAenGp-Q,63038
|
|
6
|
+
uv_align-0.1.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Javid Ahmed
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|