devpi-process 1.1.0


pip install devpi-process

  Latest version

Released: Oct 09, 2025


Meta
Author: Bernát Gábor
Maintainer: Bernát Gábor
Requires Python: >=3.10

Classifiers

Development Status
  • 5 - Production/Stable

Framework
  • tox

Intended Audience
  • Developers

License
  • OSI Approved :: MIT License

Operating System
  • MacOS :: MacOS X
  • Microsoft :: Windows
  • POSIX

Programming Language
  • Python :: 3 :: Only
  • Python :: 3.10
  • Python :: 3.11
  • Python :: 3.12
  • Python :: 3.13

Topic
  • Software Development :: Libraries
  • Software Development :: Testing
  • Utilities

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

Wheel compatibility matrix

Platform Python 3
any

Files in release

Extras:
Dependencies:
devpi-client (>=7.2)
devpi-server (>=6.17)
typing-extensions (>=4.15)