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.1.0.tar.gz (11.4 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.1.0-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for devpi_process-1.1.0.tar.gz
Algorithm Hash digest
SHA256 9bdb23f6cd8360337083033d861d8931bb2e0194331dfa355d2d3270b078f3a4
MD5 e60d3a4af90f956b77cded01eaa28aa7
BLAKE2b-256 081c225aa5f313b75ea39b1c1d181533dd5c6a5ee0e78fc5ba541cce7fa5c7fd

See more details on using hashes here.

Provenance

The following attestation bundles were made for devpi_process-1.1.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.1.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for devpi_process-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 88a2e6118da84b95406e5330ffe6ef63f72bba0b1af745c6486e340d26a88c39
MD5 c5045951999cf7eb0d52237a3fc894d7
BLAKE2b-256 d6dcd0c6d77530fd4daf9094680c46eb51e86ba1e133f64aa8c062d43e847425

See more details on using hashes here.

Provenance

The following attestation bundles were made for devpi_process-1.1.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