porter
Table of Contents
Usage
"""Usage: porter --version porter backup
Options: --exclude=TARGETS Comma separated string of target names to exclude (default is to include all) --include=TARGETS Comma separated string of target names to include (default is to include all) """
<path> is the path to a directory containing a porter.json file. This file should contain at least one target
and at least one host. See ./config/porter.json for an example. By default all targets in the config file are used,
but this can be overridden by explicitly including or excluding targets by name.
Test and lint
hatch run testhatch run lint:fmt
To get coverage reported locally in the console, use hatch run cov.
On CI, use hatch run cov-ci to generate an xml report.
Installation
pip install porter
Install from local sources
hatch buildpip install dist/porter-{version}.tar.gz
Publish
Publish to PyPi
Ensure you have built a new version of the package:
hatch cleanhatch build
Then publish to the test server:
hatch publish -r test
You will be prompted to enter your test.pypi.org username and password. To test the installation, first run Python in a container:
docker run --rm -it --entrypoint bash python
Then:
pip install --index-url https://test.pypi.org/simple reside-porter --extra-index-url https://pypi.org/simple
Now you should be able to run porter from the command line and see the usage instructions.
If it is working, you can publish to the real PyPi:
hatch publish
License
porter is distributed under the terms of the MIT license.
Metadata
Release files for reside-porter 0.0.1
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 | |
|---|---|---|---|---|
| reside_porter-0.0.1.tar.gz | 8.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| reside_porter-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.8 kB
Release files / reside_porter-0.0.1.tar.gz
| Download URL | reside_porter-0.0.1.tar.gz |
|---|---|
| Size | 8.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
279be2d1860f3bc556e304e342a7c997c8f3659bad36aeb5e796f354ac235502
|
|
BLAKE2b-256 checksum How to use checksums |
a60fe30cda34ee266d5fc3253aba9ed201ec1a15bbe7e26069d583b8f006caee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.24.1
|
Release files / reside_porter-0.0.1-py3-none-any.whl
| Download URL | reside_porter-0.0.1-py3-none-any.whl |
|---|---|
| Size | 6.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ed1304fda09946a7e38cb00fca58d8cf357e9ae3bfda3207d46d3e950b236420
|
|
BLAKE2b-256 checksum How to use checksums |
1f7be3e9593c51f435ed16a316b66b2fe11b49a6017b936908e2aaa2a4bf17ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.24.1
|
Security for reside-porter 0.0.1
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.