Aliases PIP_INDEX_URL silently within Poetry to point at a new repository.
Project description
poetry-plugin-pypi-proxy
This is a plugin that enables developers who use internal proxies of Pypi to integrate their projects seamlessly with Poetry without needing to build custom configurations for their proxy server.
The plugin operates intuitively -- users can onboard to this tooling
by installing the plugin and then setting PIP_INDEX_URL
before
running Poetry commands.
It also runs silently, i.e., it will not pollute your poetry.lock
with the URL of your proxy server and poetry publish
is
automatically redirected to the proxy as well.
Usage
Start by installing Poetry with pipx:
pipx install poetry
poetry self add poetry-plugin-pypi-proxy[plugin]
If you have already installed poetry, you only need to run the second command.
Now, any Poetry project will automatically use the proxy server
specified by PIP_INDEX_URL
. You may add this to your rc
file
(.bashrc
, .zshrc
, .envrc
with direnv, etc) or simply export it
in your terminal to get started.
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
Built Distribution
File details
Details for the file poetry_plugin_pypi_proxy-0.2.1.tar.gz
.
File metadata
- Download URL: poetry_plugin_pypi_proxy-0.2.1.tar.gz
- Upload date:
- Size: 541.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ac445a3be05fcefd34984effc476b0a87793d42ec52d4f28d04d1c4a866b38b |
|
MD5 | 94776dd698d7aec517c2a34fd7680ac6 |
|
BLAKE2b-256 | e5bd9de6ac22d807b505f80df8542e82b93f9634e4f7bf778511436c61f8b232 |
File details
Details for the file poetry_plugin_pypi_proxy-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: poetry_plugin_pypi_proxy-0.2.1-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e6ece81d80b197523af28b35d6e7c2607d63e4ca897a36e4208d96d689fb4d0 |
|
MD5 | 8b74d2b7da6d75d35c5c6a09b1bef87b |
|
BLAKE2b-256 | b657fcea2f0891f65d27ecb7106adc3e177df655344c536e5bfedfef3652e8cf |