Pypi
pip config
Poetry stores your API token in a plaintext file when you add it as your credentials.
$HOME/.config/pip/pip.conf
$HOME/.pip/pip.conf
Simple text file
1. Configure token to repositories
poetry config pypi-token.pypi <your-api-token>
2. Build and pulish it
poetry publish --build
Using keyring
1. Install Keyring
Ensure you have the keyring package installed:
pip install keyring
2. Check Available Backends
List available backends to see which ones are installed:
python -m keyring --list-backends
3. Using env
export PYPI_USERNAME=__token__
export PYPI_PASSWORD=<token-from-pypi>
poetry run pytest --cov=src tests/
Metadata
Release files for poetry-publish-pypi 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 |
|---|---|---|---|---|
| poetry_publish_pypi-0.1.0.tar.gz | 1.3 kB | Without provenance | Details for poetry_publish_pypi-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| poetry_publish_pypi-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for poetry_publish_pypi-0.1.0-py3-none-any.whl |
Total release size: 2.9 kB
Release files / poetry_publish_pypi-0.1.0.tar.gz
| Download URL | poetry_publish_pypi-0.1.0.tar.gz |
|---|---|
| Size | 1.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
88fa8608acbd60b31d13a8be5ced77601eeab50f2769342f878237e6472eaab7
|
|
BLAKE2b-256 checksum How to use checksums |
f1ce7a8e6536467e67b7819b62be1774440e58459d120083daa2f87c6609d0c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.11.2 Linux/5.15.153.1-microsoft-standard-WSL2
|
Release files / poetry_publish_pypi-0.1.0-py3-none-any.whl
| Download URL | poetry_publish_pypi-0.1.0-py3-none-any.whl |
|---|---|
| Size | 1.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
80ec4aca7385fdf09ec8e048fee53c6b5586d949b456057cb0c1428c35b0f17e
|
|
BLAKE2b-256 checksum How to use checksums |
07776dabc6d925d91da3b807da269cb5f66c5cbe2821827aff07f67b3804d8a5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.11.2 Linux/5.15.153.1-microsoft-standard-WSL2
|
Security for poetry-publish-pypi 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.