pypilot-cli 1.1.0__tar.gz → 1.2.0__tar.gz
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.
- pypilot_cli-1.2.0/.github/ISSUE_TEMPLATE/bug_report.md +31 -0
- pypilot_cli-1.2.0/.github/ISSUE_TEMPLATE/feature_request.md +16 -0
- pypilot_cli-1.2.0/CODE_OF_CONDUCT.md +83 -0
- pypilot_cli-1.2.0/CONTRIBUTING.md +146 -0
- {pypilot_cli-1.1.0 → pypilot_cli-1.2.0}/LICENSE +78 -21
- {pypilot_cli-1.1.0 → pypilot_cli-1.2.0}/PKG-INFO +24 -9
- {pypilot_cli-1.1.0 → pypilot_cli-1.2.0}/README.md +20 -5
- {pypilot_cli-1.1.0 → pypilot_cli-1.2.0}/pyproject.toml +4 -4
- {pypilot_cli-1.1.0 → pypilot_cli-1.2.0}/src/pypilot/__init__.py +1 -1
- {pypilot_cli-1.1.0 → pypilot_cli-1.2.0}/src/pypilot/binary.py +2 -2
- {pypilot_cli-1.1.0 → pypilot_cli-1.2.0}/uv.lock +1 -1
- {pypilot_cli-1.1.0 → pypilot_cli-1.2.0}/.github/workflows/ci.yml +0 -0
- {pypilot_cli-1.1.0 → pypilot_cli-1.2.0}/.github/workflows/publish.yml +0 -0
- {pypilot_cli-1.1.0 → pypilot_cli-1.2.0}/.gitignore +0 -0
- {pypilot_cli-1.1.0 → pypilot_cli-1.2.0}/.python-version +0 -0
- {pypilot_cli-1.1.0 → pypilot_cli-1.2.0}/src/pypilot/cli.py +0 -0
- {pypilot_cli-1.1.0 → pypilot_cli-1.2.0}/src/pypilot/py.typed +0 -0
- {pypilot_cli-1.1.0 → pypilot_cli-1.2.0}/tests/test_cli.py +0 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Bug report
|
|
3
|
+
about: pip install, engine download or launch did not work as expected
|
|
4
|
+
title: ""
|
|
5
|
+
labels: bug
|
|
6
|
+
assignees: ""
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
**What happened**
|
|
10
|
+
A clear description of the problem.
|
|
11
|
+
|
|
12
|
+
**What you expected**
|
|
13
|
+
What you thought would happen.
|
|
14
|
+
|
|
15
|
+
**Steps to reproduce**
|
|
16
|
+
1.
|
|
17
|
+
2.
|
|
18
|
+
3.
|
|
19
|
+
|
|
20
|
+
**Versions**
|
|
21
|
+
- OS:
|
|
22
|
+
- Python version:
|
|
23
|
+
- Install method (pip / pipx / uv tool):
|
|
24
|
+
- `pip show pypilot-cli`:
|
|
25
|
+
- `pypilot --version`:
|
|
26
|
+
|
|
27
|
+
**The full error**
|
|
28
|
+
The complete output, including the `PyPilot: downloading native engine from ...` line and any `Error: failed to locate or download PyPilot native engine: ...` line.
|
|
29
|
+
|
|
30
|
+
**Anything else**
|
|
31
|
+
Proxy or offline setup, a `pypilot` already on your PATH or in `~/.cargo/bin`, or whether deleting the cached engine helped. If the problem is about what PyPilot decides for an environment, the engine repo (pypilot-dev/pypilot) is the better place.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Feature request
|
|
3
|
+
about: Suggest an idea or improvement for the pip package
|
|
4
|
+
title: ""
|
|
5
|
+
labels: enhancement
|
|
6
|
+
assignees: ""
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
**The problem**
|
|
10
|
+
What are you trying to do, and what gets in the way?
|
|
11
|
+
|
|
12
|
+
**The change you have in mind**
|
|
13
|
+
How could the package help? Alternatives you considered are welcome too.
|
|
14
|
+
|
|
15
|
+
**Anything else**
|
|
16
|
+
Examples or links. Ideas about what the engine does (diagnostics, CUDA choices) belong in pypilot-dev/pypilot.
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
|
2
|
+
|
|
3
|
+
## Our Pledge
|
|
4
|
+
|
|
5
|
+
We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, caste, color, religion, or sexual identity and orientation.
|
|
6
|
+
|
|
7
|
+
We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
|
|
8
|
+
|
|
9
|
+
## Our Standards
|
|
10
|
+
|
|
11
|
+
Examples of behavior that contributes to a positive environment for our community include:
|
|
12
|
+
|
|
13
|
+
* Demonstrating empathy and kindness toward other people
|
|
14
|
+
* Being respectful of differing opinions, viewpoints, and experiences
|
|
15
|
+
* Giving and gracefully accepting constructive feedback
|
|
16
|
+
* Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
|
|
17
|
+
* Focusing on what is best not just for us as individuals, but for the overall community
|
|
18
|
+
|
|
19
|
+
Examples of unacceptable behavior include:
|
|
20
|
+
|
|
21
|
+
* The use of sexualized language or imagery, and sexual attention or advances of any kind
|
|
22
|
+
* Trolling, insulting or derogatory comments, and personal or political attacks
|
|
23
|
+
* Public or private harassment
|
|
24
|
+
* Publishing others' private information, such as a physical or email address, without their explicit permission
|
|
25
|
+
* Other conduct which could reasonably be considered inappropriate in a professional setting
|
|
26
|
+
|
|
27
|
+
## Enforcement Responsibilities
|
|
28
|
+
|
|
29
|
+
Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
|
|
30
|
+
|
|
31
|
+
Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
|
|
32
|
+
|
|
33
|
+
## Scope
|
|
34
|
+
|
|
35
|
+
This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
|
|
36
|
+
|
|
37
|
+
## Enforcement
|
|
38
|
+
|
|
39
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement by opening an issue at <https://github.com/pypilot-dev/pypilot-pip/issues>. All complaints will be reviewed and investigated promptly and fairly.
|
|
40
|
+
|
|
41
|
+
All community leaders are obligated to respect the privacy and security of the reporter of any incident.
|
|
42
|
+
|
|
43
|
+
## Enforcement Guidelines
|
|
44
|
+
|
|
45
|
+
Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
|
|
46
|
+
|
|
47
|
+
### 1. Correction
|
|
48
|
+
|
|
49
|
+
**Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
|
|
50
|
+
|
|
51
|
+
**Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
|
|
52
|
+
|
|
53
|
+
### 2. Warning
|
|
54
|
+
|
|
55
|
+
**Community Impact**: A violation through a single incident or series of actions.
|
|
56
|
+
|
|
57
|
+
**Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
|
|
58
|
+
|
|
59
|
+
### 3. Temporary Ban
|
|
60
|
+
|
|
61
|
+
**Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
|
|
62
|
+
|
|
63
|
+
**Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
|
|
64
|
+
|
|
65
|
+
### 4. Permanent Ban
|
|
66
|
+
|
|
67
|
+
**Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
|
|
68
|
+
|
|
69
|
+
**Consequence**: A permanent ban from any sort of public interaction within the community.
|
|
70
|
+
|
|
71
|
+
## Attribution
|
|
72
|
+
|
|
73
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.1, available at [https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
|
|
74
|
+
|
|
75
|
+
Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder][Mozilla CoC].
|
|
76
|
+
|
|
77
|
+
For answers to common questions about this code of conduct, see the FAQ at [https://www.contributor-covenant.org/faq][FAQ]. Translations are available at [https://www.contributor-covenant.org/translations][translations].
|
|
78
|
+
|
|
79
|
+
[homepage]: https://www.contributor-covenant.org
|
|
80
|
+
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
|
|
81
|
+
[Mozilla CoC]: https://github.com/mozilla/diversity
|
|
82
|
+
[FAQ]: https://www.contributor-covenant.org/faq
|
|
83
|
+
[translations]: https://www.contributor-covenant.org/translations
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
# Contributing to pypilot-cli
|
|
2
|
+
|
|
3
|
+
Thanks for your interest in PyPilot. It is a free, open-source project maintained
|
|
4
|
+
by [Abdullah Masood](https://github.com/Abdullah-Masood-05), and bug reports, ideas
|
|
5
|
+
and pull requests are all welcome.
|
|
6
|
+
|
|
7
|
+
By taking part you agree to follow the [Code of Conduct](CODE_OF_CONDUCT.md).
|
|
8
|
+
|
|
9
|
+
## What this package is
|
|
10
|
+
|
|
11
|
+
`pypilot-cli` is a thin wrapper. It contains no environment logic. When you run
|
|
12
|
+
`pypilot` (or call `pypilot.run()`), it finds the native `pypilot` engine, or
|
|
13
|
+
downloads it from the [engine repo's releases](https://github.com/pypilot-dev/pypilot/releases),
|
|
14
|
+
and runs it with your arguments.
|
|
15
|
+
|
|
16
|
+
## How this project is organized
|
|
17
|
+
|
|
18
|
+
PyPilot is split into a few repositories:
|
|
19
|
+
|
|
20
|
+
| Part | What it does |
|
|
21
|
+
|---|---|
|
|
22
|
+
| **This repo**, `pypilot-pip` | The `pypilot-cli` package on PyPI: finding or downloading the engine, and launching it |
|
|
23
|
+
| [`pypilot`](https://github.com/pypilot-dev/pypilot) | The Rust engine (the `pypilot` CLI and language server) and the Zed extension. The environment logic, GPU/CUDA tables and diagnostics live here |
|
|
24
|
+
| [`pypilot-vscode`](https://github.com/pypilot-dev/pypilot-vscode) | The VS Code extension: status bar, commands, tasks, report panel, and downloading the engine |
|
|
25
|
+
|
|
26
|
+
Problems with *what PyPilot decides* (which Python version, which CUDA build, which
|
|
27
|
+
imports are flagged) belong in the engine repo, and problems with the VS Code
|
|
28
|
+
extension belong in `pypilot-vscode`. Problems with installing through pip, or with
|
|
29
|
+
finding, downloading or launching the engine, belong here. If you are not sure, open
|
|
30
|
+
the issue here and it will be moved.
|
|
31
|
+
|
|
32
|
+
What is in this repo:
|
|
33
|
+
|
|
34
|
+
| Path | What it is |
|
|
35
|
+
|---|---|
|
|
36
|
+
| `src/pypilot/binary.py` | Platform detection, the engine cache, version checks, download and extraction |
|
|
37
|
+
| `src/pypilot/cli.py` | The `pypilot` console script: runs the engine and passes its exit code through |
|
|
38
|
+
| `src/pypilot/__init__.py` | The package version and `pypilot.run()` for use from Python |
|
|
39
|
+
| `tests/test_cli.py` | The tests |
|
|
40
|
+
| `.github/workflows/` | `ci.yml` (test matrix) and `publish.yml` (PyPI release) |
|
|
41
|
+
|
|
42
|
+
## License
|
|
43
|
+
|
|
44
|
+
This package is licensed under [AGPL-3.0-or-later](LICENSE). By contributing you
|
|
45
|
+
agree that your contributions are licensed under the same license.
|
|
46
|
+
|
|
47
|
+
## Reporting a bug
|
|
48
|
+
|
|
49
|
+
Open an [issue](https://github.com/pypilot-dev/pypilot-pip/issues/new?template=bug_report.md)
|
|
50
|
+
and include:
|
|
51
|
+
|
|
52
|
+
- What you did, what you expected, and what happened instead.
|
|
53
|
+
- The output of `pip show pypilot-cli` and `pypilot --version`, your Python
|
|
54
|
+
version, your OS, and how you installed it (pip, pipx or `uv tool`).
|
|
55
|
+
- The exact error from the download or launch step. Failures print
|
|
56
|
+
`Error: failed to locate or download PyPilot native engine: ...` and the download
|
|
57
|
+
prints `PyPilot: downloading native engine from <url> ...`, so include both lines.
|
|
58
|
+
- Whether you are behind a proxy or offline, if the download failed.
|
|
59
|
+
|
|
60
|
+
The engine is looked up in this order: the cache, then `~/.cargo/bin`, then `PATH`,
|
|
61
|
+
then a fresh download. The cache is `%LOCALAPPDATA%\pypilot\bin\pypilot.exe` on
|
|
62
|
+
Windows (falling back to `~\.cache\pypilot\bin` if `LOCALAPPDATA` is unset), and
|
|
63
|
+
`$XDG_CACHE_HOME/pypilot/bin/pypilot` on Linux and macOS (falling back to
|
|
64
|
+
`~/.cache/pypilot/bin/pypilot`). A cached engine older than the one this package
|
|
65
|
+
ships is replaced. If you suspect a broken download, delete that file and run
|
|
66
|
+
`pypilot --version` again.
|
|
67
|
+
|
|
68
|
+
If the problem is about an environment (the output of `pypilot doctor`, a wrong
|
|
69
|
+
Python or CUDA choice), report it in the
|
|
70
|
+
[engine repo](https://github.com/pypilot-dev/pypilot/issues/new?template=bug_report.md).
|
|
71
|
+
|
|
72
|
+
For security problems, please do not open a public issue. Contact the maintainer
|
|
73
|
+
through the GitHub profile linked above.
|
|
74
|
+
|
|
75
|
+
## Suggesting a feature
|
|
76
|
+
|
|
77
|
+
Open a [feature request](https://github.com/pypilot-dev/pypilot-pip/issues/new?template=feature_request.md).
|
|
78
|
+
Describe the problem first, then the change you have in mind. Ideas about what the
|
|
79
|
+
engine does belong in the [engine repo](https://github.com/pypilot-dev/pypilot).
|
|
80
|
+
|
|
81
|
+
## Setting up for development
|
|
82
|
+
|
|
83
|
+
You need [uv](https://docs.astral.sh/uv/). The supported Pythons are 3.8 to 3.14.
|
|
84
|
+
|
|
85
|
+
```bash
|
|
86
|
+
git clone https://github.com/pypilot-dev/pypilot-pip.git
|
|
87
|
+
cd pypilot-pip
|
|
88
|
+
uv sync
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
| Command | What it does |
|
|
92
|
+
|---|---|
|
|
93
|
+
| `uv run python -m pytest -W error` | Run the tests, with warnings as errors (what CI runs) |
|
|
94
|
+
| `uv run --python 3.8 python -m pytest -W error` | The same on a specific Python version |
|
|
95
|
+
| `uv build` | Build the sdist and wheel into `dist/` |
|
|
96
|
+
| `uvx twine check dist/*` | Check the built package's metadata |
|
|
97
|
+
|
|
98
|
+
CI runs the tests on Python 3.8 to 3.14 on Linux, and on 3.8 and 3.14 on Windows and
|
|
99
|
+
macOS, because archive handling differs between platforms. Warnings are errors so
|
|
100
|
+
that a deprecation which a new Python release turns into a behaviour change fails
|
|
101
|
+
there first.
|
|
102
|
+
|
|
103
|
+
**The tests need network access.** Some of them call the real `ensure_binary()` and
|
|
104
|
+
`pypilot --version`, so they download the real engine from GitHub on the first run
|
|
105
|
+
(and cache it, see above).
|
|
106
|
+
|
|
107
|
+
## Code notes
|
|
108
|
+
|
|
109
|
+
- **Standard library only.** The package has no runtime dependencies
|
|
110
|
+
(`dependencies = []`), and that should stay true. Dev tools live in the `dev`
|
|
111
|
+
dependency group.
|
|
112
|
+
- **Python 3.8 must keep working.** Use `from __future__ import annotations`, and
|
|
113
|
+
avoid syntax and standard-library features newer than 3.8 (for example,
|
|
114
|
+
`typing.List` rather than `list[...]` in runtime-evaluated code).
|
|
115
|
+
- **Windows, macOS and Linux behave differently.** `install_binary` copies directly
|
|
116
|
+
on Windows and renames over the old file elsewhere, and `extract_archive` handles
|
|
117
|
+
both `.zip` and `.tar.gz`. Explain why in comments when you touch these, and try
|
|
118
|
+
the change on a platform other than your own if you can.
|
|
119
|
+
- **Keep it thin.** If a change adds behaviour about Python environments, it
|
|
120
|
+
probably belongs in the engine.
|
|
121
|
+
|
|
122
|
+
## Sending a pull request
|
|
123
|
+
|
|
124
|
+
1. Open an issue first for anything larger than a small fix, so we can agree on the
|
|
125
|
+
approach before you spend time on it.
|
|
126
|
+
2. Fork the repo and create a branch from `master`.
|
|
127
|
+
3. Keep the change focused. Match the style of the surrounding code, and explain *why*
|
|
128
|
+
in comments rather than restating what the code does. Add or update a test in
|
|
129
|
+
`tests/test_cli.py` for a behaviour change.
|
|
130
|
+
4. Make small, logical commits with clear messages (for example `fix(binary): ...`
|
|
131
|
+
or `test: ...`). Use LF line endings.
|
|
132
|
+
5. Run `uv run python -m pytest -W error`.
|
|
133
|
+
6. Open the pull request, describe what changed and why, and link the issue. Mention
|
|
134
|
+
anything you could not test (for example, a platform or Python version you do not
|
|
135
|
+
have).
|
|
136
|
+
|
|
137
|
+
The maintainer reviews pull requests as time allows, so a short wait is normal.
|
|
138
|
+
|
|
139
|
+
## Releases
|
|
140
|
+
|
|
141
|
+
Releases are cut by the maintainer. Contributors do not need to bump versions or
|
|
142
|
+
create tags. Pushing a tag `vX.Y.Z` runs the publish workflow, which tests, builds
|
|
143
|
+
and publishes to PyPI through trusted publishing. `DEFAULT_TAG` in
|
|
144
|
+
`src/pypilot/binary.py` names the engine release this package ships, so a new pip
|
|
145
|
+
release is made only after that engine release exists. PyPI never allows a version
|
|
146
|
+
number to be reused.
|
|
@@ -13,7 +13,7 @@ cooperation with the community in the case of network server software.
|
|
|
13
13
|
|
|
14
14
|
The licenses for most software and other practical works are designed
|
|
15
15
|
to take away your freedom to share and change the works. By contrast,
|
|
16
|
-
our
|
|
16
|
+
our General Public Licenses are intended to guarantee your freedom to
|
|
17
17
|
share and change all versions of a program--to make sure it remains free
|
|
18
18
|
software for all its users.
|
|
19
19
|
|
|
@@ -31,12 +31,27 @@ and/or modify the software.
|
|
|
31
31
|
|
|
32
32
|
A secondary benefit of defending all users' freedom is that
|
|
33
33
|
improvements made in alternate versions of the program, if they
|
|
34
|
-
|
|
35
|
-
Many developers of
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
34
|
+
receive widespread use, become available for other developers to
|
|
35
|
+
incorporate. Many developers of free software are heartened and
|
|
36
|
+
encouraged by the resulting cooperation. However, in the case of
|
|
37
|
+
software used on network servers, this result may fail to come about.
|
|
38
|
+
The GNU General Public License permits making a modified version and
|
|
39
|
+
letting the public access it on a server without ever releasing its
|
|
40
|
+
source code to the public.
|
|
41
|
+
|
|
42
|
+
The GNU Affero General Public License is designed specifically to
|
|
43
|
+
ensure that, in such cases, the modified source code becomes available
|
|
44
|
+
to the community. It requires the operator of a network server to
|
|
45
|
+
provide the source code of the modified version running there to the
|
|
46
|
+
users of that server. Therefore, public use of a modified version, on
|
|
47
|
+
a publicly accessible server, gives the public access to the source
|
|
48
|
+
code of the modified version.
|
|
49
|
+
|
|
50
|
+
An older license, called the Affero General Public License and
|
|
51
|
+
published by Affero, was designed to accomplish similar goals. This is
|
|
52
|
+
a different license, not a version of the Affero GPL, but Affero has
|
|
53
|
+
released a new version of the Affero GPL which permits relicensing under
|
|
54
|
+
this license.
|
|
40
55
|
|
|
41
56
|
The precise terms and conditions for copying, distribution and
|
|
42
57
|
modification follow.
|
|
@@ -140,10 +155,10 @@ in force. You may convey covered works to others for the sole purpose
|
|
|
140
155
|
of having them make modifications exclusively for you, or provide you
|
|
141
156
|
with facilities for running those works, provided that you comply with
|
|
142
157
|
the terms of this License in conveying all material for which you do
|
|
143
|
-
not control copyright. Those
|
|
144
|
-
you must do so exclusively on your behalf, under your direction
|
|
145
|
-
control, on terms that prohibit them from making any copies of
|
|
146
|
-
copyrighted material outside their relationship with you.
|
|
158
|
+
not control copyright. Those thus making or running the covered works
|
|
159
|
+
for you must do so exclusively on your behalf, under your direction
|
|
160
|
+
and control, on terms that prohibit them from making any copies of
|
|
161
|
+
your copyrighted material outside their relationship with you.
|
|
147
162
|
|
|
148
163
|
Conveying under any other circumstances is permitted solely under
|
|
149
164
|
the conditions stated below. Sublicensing is not allowed; section 10
|
|
@@ -459,7 +474,7 @@ this License.
|
|
|
459
474
|
|
|
460
475
|
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
|
461
476
|
patent license under the contributor's essential patent claims, to
|
|
462
|
-
make, use, sell, offer for
|
|
477
|
+
make, use, sell, offer for sale, import and otherwise run, modify and
|
|
463
478
|
propagate the contents of its contributor version.
|
|
464
479
|
|
|
465
480
|
In the following three paragraphs, a "patent license" is any express
|
|
@@ -531,17 +546,17 @@ supports such interaction) an opportunity to receive the Corresponding
|
|
|
531
546
|
Source of your version by providing access to the Corresponding Source
|
|
532
547
|
from a network server at no charge, through some standard or customary
|
|
533
548
|
means of facilitating copying of software. This Corresponding Source
|
|
534
|
-
shall include the Corresponding Source
|
|
535
|
-
General Public License that is incorporated pursuant to the
|
|
536
|
-
paragraph.
|
|
549
|
+
shall include the Corresponding Source for any work covered by version 3
|
|
550
|
+
of the GNU General Public License that is incorporated pursuant to the
|
|
551
|
+
following paragraph.
|
|
537
552
|
|
|
538
553
|
Notwithstanding any other provision of this License, you have
|
|
539
554
|
permission to link or combine any covered work with a work licensed
|
|
540
555
|
under version 3 of the GNU General Public License into a single
|
|
541
556
|
combined work, and to convey the resulting work. The terms of this
|
|
542
557
|
License will continue to apply to the part which is the covered work,
|
|
543
|
-
but the work with which it is combined will remain governed by
|
|
544
|
-
GNU General Public License.
|
|
558
|
+
but the work with which it is combined will remain governed by version
|
|
559
|
+
3 of the GNU General Public License.
|
|
545
560
|
|
|
546
561
|
14. Revised Versions of this License.
|
|
547
562
|
|
|
@@ -554,10 +569,10 @@ address new problems or concerns.
|
|
|
554
569
|
Program specifies that a certain numbered version of the GNU Affero General
|
|
555
570
|
Public License "or any later version" applies to it, you have the
|
|
556
571
|
option of following the terms and conditions either of that numbered
|
|
557
|
-
version or of any later version published by the Free Software
|
|
558
|
-
If the Program does not specify a version number of the
|
|
559
|
-
Public License, you may choose any version ever published
|
|
560
|
-
Foundation.
|
|
572
|
+
version or of any later version published by the Free Software
|
|
573
|
+
Foundation. If the Program does not specify a version number of the
|
|
574
|
+
GNU Affero General Public License, you may choose any version ever published
|
|
575
|
+
by the Free Software Foundation.
|
|
561
576
|
|
|
562
577
|
If the Program specifies that a proxy can decide which future
|
|
563
578
|
versions of the GNU Affero General Public License can be used, that proxy's
|
|
@@ -602,3 +617,45 @@ Program, unless a warranty or assumption of liability accompanies a
|
|
|
602
617
|
copy of the Program in return for a fee.
|
|
603
618
|
|
|
604
619
|
END OF TERMS AND CONDITIONS
|
|
620
|
+
|
|
621
|
+
How to Apply These Terms to Your New Programs
|
|
622
|
+
|
|
623
|
+
If you develop a new program, and you want it to be of the greatest
|
|
624
|
+
possible use to the public, the best way to achieve this is to make it
|
|
625
|
+
free software which everyone can redistribute and change under these terms.
|
|
626
|
+
|
|
627
|
+
To do so, attach the following notices to the program. It is safest
|
|
628
|
+
to attach them to the start of each source file to most effectively
|
|
629
|
+
state the exclusion of warranty; and each file should have at least
|
|
630
|
+
the "copyright" line and a pointer to where the full notice is found.
|
|
631
|
+
|
|
632
|
+
<one line to give the program's name and a brief idea of what it does.>
|
|
633
|
+
Copyright (C) <year> <name of author>
|
|
634
|
+
|
|
635
|
+
This program is free software: you can redistribute it and/or modify
|
|
636
|
+
it under the terms of the GNU Affero General Public License as published by
|
|
637
|
+
the Free Software Foundation, either version 3 of the License, or
|
|
638
|
+
(at your option) any later version.
|
|
639
|
+
|
|
640
|
+
This program is distributed in the hope that it will be useful,
|
|
641
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
642
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
643
|
+
GNU Affero General Public License for more details.
|
|
644
|
+
|
|
645
|
+
You should have received a copy of the GNU Affero General Public License
|
|
646
|
+
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
647
|
+
|
|
648
|
+
Also add information on how to contact you by electronic and paper mail.
|
|
649
|
+
|
|
650
|
+
If your software can interact with users remotely through a computer
|
|
651
|
+
network, you should also make sure that it provides a way for users to
|
|
652
|
+
get its source. For example, if your program is a web application, its
|
|
653
|
+
interface could display a "Source" link that leads users to an archive
|
|
654
|
+
of the code. There are many ways you could offer source, and different
|
|
655
|
+
solutions will be better for different programs; see section 13 for the
|
|
656
|
+
specific requirements.
|
|
657
|
+
|
|
658
|
+
You should also get your employer (if you work as a programmer) or school,
|
|
659
|
+
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
|
660
|
+
For more information on this, and how to apply and follow the GNU AGPL, see
|
|
661
|
+
<https://www.gnu.org/licenses/>.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: pypilot-cli
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.2.0
|
|
4
4
|
Summary: Deterministic Python environment doctor, dependency solver, and hardware compatibility manager.
|
|
5
|
-
Project-URL: Homepage, https://github.com/
|
|
6
|
-
Project-URL: Repository, https://github.com/
|
|
7
|
-
Project-URL: Issues, https://github.com/
|
|
5
|
+
Project-URL: Homepage, https://github.com/pypilot-dev/pypilot
|
|
6
|
+
Project-URL: Repository, https://github.com/pypilot-dev/pypilot
|
|
7
|
+
Project-URL: Issues, https://github.com/pypilot-dev/pypilot/issues
|
|
8
8
|
Author-email: Abdullah Masood <Abdullah-Masood-05@users.noreply.github.com>
|
|
9
9
|
License-Expression: AGPL-3.0-or-later
|
|
10
10
|
License-File: LICENSE
|
|
@@ -28,10 +28,16 @@ Description-Content-Type: text/markdown
|
|
|
28
28
|
|
|
29
29
|
# PyPilot (CLI & Python Package)
|
|
30
30
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
31
|
+
<p align="center">
|
|
32
|
+
<a href="https://pypi.org/project/pypilot-cli/"><img src="https://img.shields.io/pypi/v/pypilot-cli?color=blue&logo=pypi&logoColor=white" alt="PyPI version" /></a>
|
|
33
|
+
<a href="https://pypi.org/project/pypilot-cli/"><img src="https://img.shields.io/pypi/pyversions/pypilot-cli?logo=python&logoColor=white" alt="Supported Python versions" /></a>
|
|
34
|
+
<a href="https://pypi.org/project/pypilot-cli/"><img src="https://img.shields.io/pypi/dm/pypilot-cli?color=2ea44f" alt="Monthly downloads" /></a>
|
|
35
|
+
<a href="https://github.com/pypilot-dev/pypilot-pip/blob/master/LICENSE"><img src="https://img.shields.io/pypi/l/pypilot-cli?color=blue" alt="License: AGPL-3.0-or-later" /></a>
|
|
36
|
+
<a href="https://github.com/pypilot-dev/pypilot"><img src="https://img.shields.io/badge/engine-Rust-orange?logo=rust&logoColor=white" alt="Rust engine" /></a>
|
|
37
|
+
<a href="https://github.com/pypilot-dev/pypilot"><img src="https://img.shields.io/github/stars/pypilot-dev/pypilot?style=social" alt="GitHub stars" /></a>
|
|
38
|
+
</p>
|
|
39
|
+
|
|
40
|
+
> ⭐ **Enjoying PyPilot?** If it saved you from a broken environment, please [star it on GitHub](https://github.com/pypilot-dev/pypilot). It's free and it helps other Python developers find it.
|
|
35
41
|
|
|
36
42
|
**PyPilot** is a deterministic Python environment doctor, dependency solver, and toolchain manager. Powered by a high-speed compiled **Rust engine**, PyPilot calculates dependency intersections directly from PyPI wheel metadata, resolves hardware and CUDA build compatibility, and sets up working virtual environments without external AI or API keys.
|
|
37
43
|
|
|
@@ -159,6 +165,15 @@ PyPilot respects workspace settings in `.pypilot.toml` or your editor configurat
|
|
|
159
165
|
|
|
160
166
|
---
|
|
161
167
|
|
|
168
|
+
## 💙 Support the project
|
|
169
|
+
|
|
170
|
+
PyPilot is free and open source, built and maintained in spare time. If it helps you:
|
|
171
|
+
|
|
172
|
+
- ⭐ [Star it on GitHub](https://github.com/pypilot-dev/pypilot): it's the easiest way to show support.
|
|
173
|
+
- 🐛 [Report a bug or request a feature](https://github.com/pypilot-dev/pypilot/issues): reproducible environment problems are especially welcome.
|
|
174
|
+
|
|
175
|
+
---
|
|
176
|
+
|
|
162
177
|
## 📄 License
|
|
163
178
|
|
|
164
|
-
PyPilot is licensed under the **GNU Affero General Public License v3.0 (AGPL-3.0-or-later)**. See the [LICENSE](LICENSE) file for the full license text.
|
|
179
|
+
PyPilot is licensed under the **GNU Affero General Public License v3.0 (AGPL-3.0-or-later)**. See the [LICENSE](https://github.com/pypilot-dev/pypilot-pip/blob/master/LICENSE) file for the full license text.
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
# PyPilot (CLI & Python Package)
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
<p align="center">
|
|
4
|
+
<a href="https://pypi.org/project/pypilot-cli/"><img src="https://img.shields.io/pypi/v/pypilot-cli?color=blue&logo=pypi&logoColor=white" alt="PyPI version" /></a>
|
|
5
|
+
<a href="https://pypi.org/project/pypilot-cli/"><img src="https://img.shields.io/pypi/pyversions/pypilot-cli?logo=python&logoColor=white" alt="Supported Python versions" /></a>
|
|
6
|
+
<a href="https://pypi.org/project/pypilot-cli/"><img src="https://img.shields.io/pypi/dm/pypilot-cli?color=2ea44f" alt="Monthly downloads" /></a>
|
|
7
|
+
<a href="https://github.com/pypilot-dev/pypilot-pip/blob/master/LICENSE"><img src="https://img.shields.io/pypi/l/pypilot-cli?color=blue" alt="License: AGPL-3.0-or-later" /></a>
|
|
8
|
+
<a href="https://github.com/pypilot-dev/pypilot"><img src="https://img.shields.io/badge/engine-Rust-orange?logo=rust&logoColor=white" alt="Rust engine" /></a>
|
|
9
|
+
<a href="https://github.com/pypilot-dev/pypilot"><img src="https://img.shields.io/github/stars/pypilot-dev/pypilot?style=social" alt="GitHub stars" /></a>
|
|
10
|
+
</p>
|
|
11
|
+
|
|
12
|
+
> ⭐ **Enjoying PyPilot?** If it saved you from a broken environment, please [star it on GitHub](https://github.com/pypilot-dev/pypilot). It's free and it helps other Python developers find it.
|
|
7
13
|
|
|
8
14
|
**PyPilot** is a deterministic Python environment doctor, dependency solver, and toolchain manager. Powered by a high-speed compiled **Rust engine**, PyPilot calculates dependency intersections directly from PyPI wheel metadata, resolves hardware and CUDA build compatibility, and sets up working virtual environments without external AI or API keys.
|
|
9
15
|
|
|
@@ -131,6 +137,15 @@ PyPilot respects workspace settings in `.pypilot.toml` or your editor configurat
|
|
|
131
137
|
|
|
132
138
|
---
|
|
133
139
|
|
|
140
|
+
## 💙 Support the project
|
|
141
|
+
|
|
142
|
+
PyPilot is free and open source, built and maintained in spare time. If it helps you:
|
|
143
|
+
|
|
144
|
+
- ⭐ [Star it on GitHub](https://github.com/pypilot-dev/pypilot): it's the easiest way to show support.
|
|
145
|
+
- 🐛 [Report a bug or request a feature](https://github.com/pypilot-dev/pypilot/issues): reproducible environment problems are especially welcome.
|
|
146
|
+
|
|
147
|
+
---
|
|
148
|
+
|
|
134
149
|
## 📄 License
|
|
135
150
|
|
|
136
|
-
PyPilot is licensed under the **GNU Affero General Public License v3.0 (AGPL-3.0-or-later)**. See the [LICENSE](LICENSE) file for the full license text.
|
|
151
|
+
PyPilot is licensed under the **GNU Affero General Public License v3.0 (AGPL-3.0-or-later)**. See the [LICENSE](https://github.com/pypilot-dev/pypilot-pip/blob/master/LICENSE) file for the full license text.
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "pypilot-cli"
|
|
7
|
-
version = "1.
|
|
7
|
+
version = "1.2.0"
|
|
8
8
|
description = "Deterministic Python environment doctor, dependency solver, and hardware compatibility manager."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.8"
|
|
@@ -32,9 +32,9 @@ classifiers = [
|
|
|
32
32
|
dependencies = []
|
|
33
33
|
|
|
34
34
|
[project.urls]
|
|
35
|
-
Homepage = "https://github.com/
|
|
36
|
-
Repository = "https://github.com/
|
|
37
|
-
Issues = "https://github.com/
|
|
35
|
+
Homepage = "https://github.com/pypilot-dev/pypilot"
|
|
36
|
+
Repository = "https://github.com/pypilot-dev/pypilot"
|
|
37
|
+
Issues = "https://github.com/pypilot-dev/pypilot/issues"
|
|
38
38
|
|
|
39
39
|
[project.scripts]
|
|
40
40
|
pypilot = "pypilot.cli:main"
|
|
@@ -16,8 +16,8 @@ import urllib.request
|
|
|
16
16
|
import zipfile
|
|
17
17
|
from pathlib import Path
|
|
18
18
|
|
|
19
|
-
GITHUB_REPO = "
|
|
20
|
-
DEFAULT_TAG = "v1.
|
|
19
|
+
GITHUB_REPO = "pypilot-dev/pypilot"
|
|
20
|
+
DEFAULT_TAG = "v1.2.0"
|
|
21
21
|
# Oldest helper accepted from ~/.cargo/bin or PATH.
|
|
22
22
|
MIN_VERSION = (1, 0, 2)
|
|
23
23
|
# The release this package ships with. A cached download older than this is
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|