Skip to main content

Poetry plugin to dynamically override sources for private mirroring

Project description

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 PyPI source
  • POETRY_SOURCE_FOO_URL will override the source named FOO with the specified url

Usage

Installation

See plugin installation instructions.

$POETRY_HOME/bin/pip install --user git+https://github.com/burkestar/poetry-plugin-dynamic-override-sources

Configuration

Development

Setup

poetry install

Testing

poetry run pytest

Links

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

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