Skip to main content

poetry-plugin-dynamic-override-sources

Description

poetry-plugin-dynamic-override-sources is a plugin for poetry package manager in python.

With pip, you can override the package index URL using configuration files or environment variables such as:

  • PIP_INDEX_URL
  • PIP_PROXY

However, with poetry there is no such option. The pyproject.toml project configuration specifies one or more sources that are to be used for resolving packages from the artifact storage.

This plugin makes it possible to use environment variable overrides like:

  • PIP_INDEX_URL will override ALL repository urls, intending to function similar to pip install --index-url
  • POETRY_SOURCE_SOME_REPO_URL will override the source named some-repo with the specified url
  • POETRY_SOURCE_PYPI_URL will override the PyPI repository's URL. This is a special case.

Usage

Installation

poetry self add poetry-plugin-dynamic-override-sources

See plugin installation instructions.

Development

Setup

poetry install

Testing

poetry run pytest

Publishing

poetry publish --build

Metadata

Release files for poetry-plugin-dynamic-override-sources 0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for poetry-plugin-dynamic-override-sources 0.0.6
File Size Uploaded Provenance Actions
poetry_plugin_dynamic_override_sources-0.0.6.tar.gz 5.2 kB Without provenance Details for poetry_plugin_dynamic_override_sources-0.0.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for poetry-plugin-dynamic-override-sources 0.0.6
File Interpreter ABI Platform Actions
poetry_plugin_dynamic_override_sources-0.0.6-py3-none-any.whl Python 3 none any Details for poetry_plugin_dynamic_override_sources-0.0.6-py3-none-any.whl

Total release size: 11.7 kB

Release files / poetry_plugin_dynamic_override_sources-0.0.6.tar.gz

Download URL poetry_plugin_dynamic_override_sources-0.0.6.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
37104057e659260f01a6b7e53dbd41c80d9cc8555d9bcc95c264adfe87be22db
BLAKE2b-256 checksum
How to use checksums
e154abf484a3e2376baf1fff9533005967d2c2d27e5f0bf35f846932d6c7bf56
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.11.5 Darwin/23.4.0

Release files / poetry_plugin_dynamic_override_sources-0.0.6-py3-none-any.whl

Download URL poetry_plugin_dynamic_override_sources-0.0.6-py3-none-any.whl
Size 6.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
65c2b84549833be421da4c1f574bd5fa46bc3fc9bebd52f1ad37b7c46b15086b
BLAKE2b-256 checksum
How to use checksums
253b9fd5bcac399195316e693c7128e28014a122b9e1e7a676fb9c8fb2f3dba0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.11.5 Darwin/23.4.0

Security for poetry-plugin-dynamic-override-sources 0.0.6

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page