Skip to main content

devpi process provides a programmatic API to create and use a devpi server process

Project description

devpi-process

PyPI PyPI - Implementation PyPI - Python Version Downloads PyPI - License check

Allows you to create devpi server process with indexes, and upload artifacts to that programmatically.

install

pip install devpi-process

use

from pathlib import Path

from devpi_process import Index, IndexServer

with IndexServer(Path("server-dir")) as server:
    # create an index mirroring an Artifactory instance
    magic_index_url = "https://magic.com/artifactory/api/pypi/magic-pypi/simple"
    base_name = "magic"
    server.create_index(base_name, "type=mirror", f"mirror_url={magic_index_url}")

    # create a dev index server that bases of magic PyPI, and upload a wheel to it
    dev: Index = server.create_index("dev", f"bases={server.user}/{base_name}")
    dev.upload("magic-2.24.0-py3-none-any.whl")

    assert dev.url  # point the tool consuming the index server to this

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

devpi_process-1.2.0.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

devpi_process-1.2.0-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file devpi_process-1.2.0.tar.gz.

File metadata

  • Download URL: devpi_process-1.2.0.tar.gz
  • Upload date:
  • Size: 12.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for devpi_process-1.2.0.tar.gz
Algorithm Hash digest
SHA256 ab6b6058933e25e4b9e3bd6ef8fe82808f92842dc06bc009ba124d6d28ac9079
MD5 465c398731887ab23fd5a45e57e5183c
BLAKE2b-256 baa63c12fe1a7ff13b54d37fa68e1bab400bb4eca9b38fa1598353589794feee

See more details on using hashes here.

Provenance

The following attestation bundles were made for devpi_process-1.2.0.tar.gz:

Publisher: release.yaml on tox-dev/devpi-process

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file devpi_process-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: devpi_process-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for devpi_process-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 00202134e29bf7aea5970f70df60aa2ae5b4e6b4f1027bfca402f56d3f9a53a1
MD5 a7cd6f3581b3e1fa006aa1401ba9f0d3
BLAKE2b-256 55767442d24606922de8c5160fe28be1595c3a8782829dd85471dda1784c3a7f

See more details on using hashes here.

Provenance

The following attestation bundles were made for devpi_process-1.2.0-py3-none-any.whl:

Publisher: release.yaml on tox-dev/devpi-process

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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