devpi process provides a programmatic API to create and use a devpi server process
Project description
devpi-process
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9bdb23f6cd8360337083033d861d8931bb2e0194331dfa355d2d3270b078f3a4
|
|
| MD5 |
e60d3a4af90f956b77cded01eaa28aa7
|
|
| BLAKE2b-256 |
081c225aa5f313b75ea39b1c1d181533dd5c6a5ee0e78fc5ba541cce7fa5c7fd
|
Provenance
The following attestation bundles were made for devpi_process-1.1.0.tar.gz:
Publisher:
release.yaml on tox-dev/devpi-process
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
devpi_process-1.1.0.tar.gz -
Subject digest:
9bdb23f6cd8360337083033d861d8931bb2e0194331dfa355d2d3270b078f3a4 - Sigstore transparency entry: 597884674
- Sigstore integration time:
-
Permalink:
tox-dev/devpi-process@86771ecb3841215ad44a40bbe6ca6bba174156d6 -
Branch / Tag:
refs/tags/1.1.0 - Owner: https://github.com/tox-dev
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@86771ecb3841215ad44a40bbe6ca6bba174156d6 -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
88a2e6118da84b95406e5330ffe6ef63f72bba0b1af745c6486e340d26a88c39
|
|
| MD5 |
c5045951999cf7eb0d52237a3fc894d7
|
|
| BLAKE2b-256 |
d6dcd0c6d77530fd4daf9094680c46eb51e86ba1e133f64aa8c062d43e847425
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
devpi_process-1.1.0-py3-none-any.whl -
Subject digest:
88a2e6118da84b95406e5330ffe6ef63f72bba0b1af745c6486e340d26a88c39 - Sigstore transparency entry: 597884676
- Sigstore integration time:
-
Permalink:
tox-dev/devpi-process@86771ecb3841215ad44a40bbe6ca6bba174156d6 -
Branch / Tag:
refs/tags/1.1.0 - Owner: https://github.com/tox-dev
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@86771ecb3841215ad44a40bbe6ca6bba174156d6 -
Trigger Event:
push
-
Statement type: