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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file poetry_publish_pypi-0.1.0.tar.gz.

File metadata

  • Download URL: poetry_publish_pypi-0.1.0.tar.gz
  • Upload date:
  • Size: 1.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.2 Linux/5.15.153.1-microsoft-standard-WSL2

File hashes

Hashes for poetry_publish_pypi-0.1.0.tar.gz
Algorithm Hash digest
SHA256 88fa8608acbd60b31d13a8be5ced77601eeab50f2769342f878237e6472eaab7
MD5 db49a6c3f67f8319ce0d1caeafb88665
BLAKE2b-256 f1ce7a8e6536467e67b7819b62be1774440e58459d120083daa2f87c6609d0c8

See more details on using hashes here.

File details

Details for the file poetry_publish_pypi-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: poetry_publish_pypi-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 1.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.2 Linux/5.15.153.1-microsoft-standard-WSL2

File hashes

Hashes for poetry_publish_pypi-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 80ec4aca7385fdf09ec8e048fee53c6b5586d949b456057cb0c1428c35b0f17e
MD5 14b4e262d3d752d6e2f1c5d585c661a3
BLAKE2b-256 07776dabc6d925d91da3b807da269cb5f66c5cbe2821827aff07f67b3804d8a5

See more details on using hashes here.

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