devpi-process


Namedevpi-process JSON
Version 1.1.0 PyPI version JSON
download
home_pageNone
Summarydevpi process provides a programmatic API to create and use a devpi server process
upload_time2025-10-09 20:51:18
maintainerNone
docs_urlNone
authorNone
requires_python>=3.10
licenseNone
keywords environments isolated testing virtual
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # devpi-process

[![PyPI](https://img.shields.io/pypi/v/devpi-process?style=flat-square)](https://pypi.org/project/devpi-process)
[![PyPI - Implementation](https://img.shields.io/pypi/implementation/devpi-process?style=flat-square)](https://pypi.org/project/devpi-process)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/devpi-process?style=flat-square)](https://pypi.org/project/devpi-process)
[![Downloads](https://static.pepy.tech/badge/devpi-process/month)](https://pepy.tech/project/devpi-process)
[![PyPI - License](https://img.shields.io/pypi/l/devpi-process?style=flat-square)](https://opensource.org/licenses/MIT)
[![check](https://github.com/tox-dev/devpi-process/actions/workflows/check.yaml/badge.svg)](https://github.com/tox-dev/devpi-process/actions/workflows/check.yaml)

Allows you to create [devpi](https://devpi.net/docs/devpi/devpi/stable/+d/index.html) server process with indexes, and
upload artifacts to that programmatically.

## install

```sh
pip install devpi-process
```

## use

```python
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
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "devpi-process",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": "Bern\u00e1t G\u00e1bor <gaborjbernat@gmail.com>",
    "keywords": "environments, isolated, testing, virtual",
    "author": null,
    "author_email": "Bern\u00e1t G\u00e1bor <gaborjbernat@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/08/1c/225aa5f313b75ea39b1c1d181533dd5c6a5ee0e78fc5ba541cce7fa5c7fd/devpi_process-1.1.0.tar.gz",
    "platform": null,
    "description": "# devpi-process\n\n[![PyPI](https://img.shields.io/pypi/v/devpi-process?style=flat-square)](https://pypi.org/project/devpi-process)\n[![PyPI - Implementation](https://img.shields.io/pypi/implementation/devpi-process?style=flat-square)](https://pypi.org/project/devpi-process)\n[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/devpi-process?style=flat-square)](https://pypi.org/project/devpi-process)\n[![Downloads](https://static.pepy.tech/badge/devpi-process/month)](https://pepy.tech/project/devpi-process)\n[![PyPI - License](https://img.shields.io/pypi/l/devpi-process?style=flat-square)](https://opensource.org/licenses/MIT)\n[![check](https://github.com/tox-dev/devpi-process/actions/workflows/check.yaml/badge.svg)](https://github.com/tox-dev/devpi-process/actions/workflows/check.yaml)\n\nAllows you to create [devpi](https://devpi.net/docs/devpi/devpi/stable/+d/index.html) server process with indexes, and\nupload artifacts to that programmatically.\n\n## install\n\n```sh\npip install devpi-process\n```\n\n## use\n\n```python\nfrom pathlib import Path\n\nfrom devpi_process import Index, IndexServer\n\nwith IndexServer(Path(\"server-dir\")) as server:\n    # create an index mirroring an Artifactory instance\n    magic_index_url = \"https://magic.com/artifactory/api/pypi/magic-pypi/simple\"\n    base_name = \"magic\"\n    server.create_index(base_name, \"type=mirror\", f\"mirror_url={magic_index_url}\")\n\n    # create a dev index server that bases of magic PyPI, and upload a wheel to it\n    dev: Index = server.create_index(\"dev\", f\"bases={server.user}/{base_name}\")\n    dev.upload(\"magic-2.24.0-py3-none-any.whl\")\n\n    assert dev.url  # point the tool consuming the index server to this\n```\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "devpi process provides a programmatic API to create and use a devpi server process",
    "version": "1.1.0",
    "project_urls": {
        "Homepage": "https://github.com/tox-dev/devpi-process#readme",
        "Source": "https://github.com/tox-dev/devpi-process",
        "Tracker": "https://github.com/tox-dev/devpi-process/issues"
    },
    "split_keywords": [
        "environments",
        " isolated",
        " testing",
        " virtual"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "d6dcd0c6d77530fd4daf9094680c46eb51e86ba1e133f64aa8c062d43e847425",
                "md5": "c5045951999cf7eb0d52237a3fc894d7",
                "sha256": "88a2e6118da84b95406e5330ffe6ef63f72bba0b1af745c6486e340d26a88c39"
            },
            "downloads": -1,
            "filename": "devpi_process-1.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c5045951999cf7eb0d52237a3fc894d7",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 6062,
            "upload_time": "2025-10-09T20:51:17",
            "upload_time_iso_8601": "2025-10-09T20:51:17.140612Z",
            "url": "https://files.pythonhosted.org/packages/d6/dc/d0c6d77530fd4daf9094680c46eb51e86ba1e133f64aa8c062d43e847425/devpi_process-1.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "081c225aa5f313b75ea39b1c1d181533dd5c6a5ee0e78fc5ba541cce7fa5c7fd",
                "md5": "e60d3a4af90f956b77cded01eaa28aa7",
                "sha256": "9bdb23f6cd8360337083033d861d8931bb2e0194331dfa355d2d3270b078f3a4"
            },
            "downloads": -1,
            "filename": "devpi_process-1.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "e60d3a4af90f956b77cded01eaa28aa7",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 11443,
            "upload_time": "2025-10-09T20:51:18",
            "upload_time_iso_8601": "2025-10-09T20:51:18.368785Z",
            "url": "https://files.pythonhosted.org/packages/08/1c/225aa5f313b75ea39b1c1d181533dd5c6a5ee0e78fc5ba541cce7fa5c7fd/devpi_process-1.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-10-09 20:51:18",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "tox-dev",
    "github_project": "devpi-process#readme",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "devpi-process"
}
        
Elapsed time: 3.38735s