Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

poetry_publish_pypi-0.1.0.tar.gz (1.3 kB view hashes)

Uploaded Source

Built Distribution

poetry_publish_pypi-0.1.0-py3-none-any.whl (1.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page