{"id":20784140,"url":"https://github.com/tox-dev/devpi-process","last_synced_at":"2025-05-01T12:21:51.728Z","repository":{"id":37957615,"uuid":"377749453","full_name":"tox-dev/devpi-process","owner":"tox-dev","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-25T16:41:44.000Z","size":178,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-25T17:48:35.881Z","etag":null,"topics":["hacktoberfest"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tox-dev.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"tidelift":"pypi/devpi-process"}},"created_at":"2021-06-17T07:53:39.000Z","updated_at":"2025-04-25T16:41:47.000Z","dependencies_parsed_at":"2023-02-19T04:00:26.576Z","dependency_job_id":"e769f7b5-e053-4407-87f7-c24898eec6d0","html_url":"https://github.com/tox-dev/devpi-process","commit_stats":{"total_commits":47,"total_committers":4,"mean_commits":11.75,"dds":0.5957446808510638,"last_synced_commit":"6201ee717ed78af08b3a582ac2a8e851c4a20f67"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tox-dev%2Fdevpi-process","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tox-dev%2Fdevpi-process/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tox-dev%2Fdevpi-process/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tox-dev%2Fdevpi-process/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tox-dev","download_url":"https://codeload.github.com/tox-dev/devpi-process/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251872377,"owners_count":21657633,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hacktoberfest"],"created_at":"2024-11-17T14:26:28.063Z","updated_at":"2025-05-01T12:21:51.709Z","avatar_url":"https://github.com/tox-dev.png","language":"Python","readme":"# 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","funding_links":["https://tidelift.com/funding/github/pypi/devpi-process"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftox-dev%2Fdevpi-process","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftox-dev%2Fdevpi-process","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftox-dev%2Fdevpi-process/lists"}