Patched!
patched-cli is a CLI that generates vulnerability patches for your codebase.
Quickstart guide
- Install patched-cli.
pip install patched-cli
- Run
patched-cliwith your git repository as its argument or working directory. When the working directory is the git repositorypatched-cli
When the argument is the git repositorypatched-cli /path/to/my/git/repository - If this is the first time running
patched-cli, you will be redirected to patched's sign-in page to generate a token. Copy the token and paste it to the prompt. If this is not the first time runningpatched-clian application directory should already exist under your user's home directory if you are using a Unix-based operating system or AppData folder if you are using a windows based operating system. Alternatively you can set the environment variablePATCHED_ACCESS_TOKENbefore runningpatched-cli.export PATCHED_ACCESS_TOKEN="your-patched-access-token-here" patched-cli
- To create a pull request you can set the
--create-prflag.patched-cli --create-prIfpatched.codesis not installed in your GitHub repository you can givepatched-cliyour GitHub Personal Access Token via the option--github-access-tokenor set the environment variablePATCHED_GITHUB_TOKENexport PATCHED_GITHUB_TOKEN="your.patched.access.token.here" patched-cli --create-pr
Extras for Windows users
patched-cli only supports Windows using WSL(Windows Subsystem for Linux). Please consult WSL install for more information.
Metadata
Release files for patched-cli 1.1.4
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 |
|---|---|---|---|---|
| patched_cli-1.1.4.tar.gz | 2.4 MB | Without provenance | Details for patched_cli-1.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| patched_cli-1.1.4-py3-none-any.whl | Python 3 | none | any | Details for patched_cli-1.1.4-py3-none-any.whl |
Total release size: 4.9 MB
Release files / patched_cli-1.1.4.tar.gz
| Download URL | patched_cli-1.1.4.tar.gz |
|---|---|
| Size | 2.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e90fc3ecaf4f6b7684bdc3762481c2245a076e5364a8c3a9e2010795ea0eb2ec
|
|
BLAKE2b-256 checksum How to use checksums |
106a6917ff5f9e2b5bffa4b1c7231c750ad543ff0e3f1b4f4f3edf28a609de41
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.10.12 Linux/6.5.0-1015-azure
|
Release files / patched_cli-1.1.4-py3-none-any.whl
| Download URL | patched_cli-1.1.4-py3-none-any.whl |
|---|---|
| Size | 2.5 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
92d8b278996b996023563b2f176b906e4f0704d5eaeb74e91ef7ed89469a2422
|
|
BLAKE2b-256 checksum How to use checksums |
eaf9226083fa454d1f06408342ac4ecc3a027cf89409d32ed42bfc501c48a902
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.10.12 Linux/6.5.0-1015-azure
|
Security for patched-cli 1.1.4
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.