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.1.tar.gz (11.7 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.1-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: devpi_process-1.1.1.tar.gz
  • Upload date:
  • Size: 11.7 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.1.tar.gz
Algorithm Hash digest
SHA256 85a7a681a9114196665520dc8539b18b9e02e44de5e012af440f45a3fc15a239
MD5 16091ad169ad99b82bc020e1cc82a74a
BLAKE2b-256 4f1263c938c59c2f291e6983d2ad803808f0f904cc259c2f8caa65fc5650d4d7

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: devpi_process-1.1.1-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.7

File hashes

Hashes for devpi_process-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 756c4bcc870f00d69cf9787c901777e2022caa0cb1620162a3ac6893dd46bf4b
MD5 ac543703a3001cb6a4a109f1039f3899
BLAKE2b-256 c0c3f5d94f6b444af90717b17e09e134b2f8cdbe03857edb4173afe1cea9e23f

See more details on using hashes here.

Provenance

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