No project description provided
Project description
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/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for poetry_publish_pypi-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88fa8608acbd60b31d13a8be5ced77601eeab50f2769342f878237e6472eaab7 |
|
MD5 | db49a6c3f67f8319ce0d1caeafb88665 |
|
BLAKE2b-256 | f1ce7a8e6536467e67b7819b62be1774440e58459d120083daa2f87c6609d0c8 |
Close
Hashes for poetry_publish_pypi-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80ec4aca7385fdf09ec8e048fee53c6b5586d949b456057cb0c1428c35b0f17e |
|
MD5 | 14b4e262d3d752d6e2f1c5d585c661a3 |
|
BLAKE2b-256 | 07776dabc6d925d91da3b807da269cb5f66c5cbe2821827aff07f67b3804d8a5 |