pulp_maven-client
Fetch, Upload, Organize, and Distribute Software Packages
This Python package is automatically generated by the OpenAPI Generator project:
- API version: v3
- Package version: 0.34.3
- Generator version: 7.19.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen For more information, please visit https://pulpproject.org
Requirements.
Python 3.9+
Installation & Usage
pip install
If the python package is hosted on a repository, you can install directly using:
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
(you may need to run pip with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)
Then import the package:
import pulpcore.client.pulp_maven
Setuptools
Install via Setuptools.
python setup.py install --user
(or sudo python setup.py install to install the package for all users)
Then import the package:
import pulpcore.client.pulp_maven
Tests
Execute pytest to run the tests.
Getting Started
Please follow the installation procedure and then run the following:
import pulpcore.client.pulp_maven
from pulpcore.client.pulp_maven.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost:24817
# See configuration.py for a list of all supported configuration parameters.
configuration = pulpcore.client.pulp_maven.Configuration(
host = "http://localhost:24817"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure HTTP basic authorization: basicAuth
configuration = pulpcore.client.pulp_maven.Configuration(
username = os.environ["USERNAME"],
password = os.environ["PASSWORD"]
)
# Configure API key authorization: cookieAuth
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
# Enter a context with an instance of the API client
with pulpcore.client.pulp_maven.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_maven.ContentArtifactApi(api_client)
relative_path = 'relative_path_example' # str | Path where the artifact is located relative to distributions base_path
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
repository = 'repository_example' # str | A URI of a repository the new content unit should be associated with. (optional)
overwrite = True # bool | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true. (optional)
pulp_labels = None # Dict[str, Optional[str]] | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. (optional)
artifact = 'artifact_example' # str | Artifact file representing the physical content (optional)
file = None # bytearray | An uploaded file that may be turned into the content unit. (optional)
upload = 'upload_example' # str | An uncommitted upload that may be turned into the content unit. (optional)
file_url = 'file_url_example' # str | A url that Pulp can download and turn into the content unit. (optional)
downloader_config = pulpcore.client.pulp_maven.RemoteNetworkConfig() # RemoteNetworkConfig | Configuration for the download process (e.g., proxies, auth, timeouts). Only applicable when providing a 'file_url. (optional)
try:
# Create a maven artifact
api_response = api_instance.create(relative_path, x_task_diagnostics=x_task_diagnostics, repository=repository, overwrite=overwrite, pulp_labels=pulp_labels, artifact=artifact, file=file, upload=upload, file_url=file_url, downloader_config=downloader_config)
print("The response of ContentArtifactApi->create:\n")
pprint(api_response)
except ApiException as e:
print("Exception when calling ContentArtifactApi->create: %s\n" % e)
Documentation for API Endpoints
All URIs are relative to http://localhost:24817
| Class | Method | HTTP request | Description |
|---|---|---|---|
| ContentArtifactApi | create | POST /pulp/api/v3/content/maven/artifact/ | Create a maven artifact |
| ContentArtifactApi | list | GET /pulp/api/v3/content/maven/artifact/ | List maven artifacts |
| ContentArtifactApi | read | GET {maven_maven_artifact_href} | Inspect a maven artifact |
| ContentArtifactApi | set_label | POST {maven_maven_artifact_href}set_label/ | Set a label |
| ContentArtifactApi | unset_label | POST {maven_maven_artifact_href}unset_label/ | Unset a label |
| ContentArtifactApi | upload | POST /pulp/api/v3/content/maven/artifact/upload/ | Upload a Maven artifact synchronously. |
| ContentMavenIndexPageApi | list | GET /pulp/api/v3/content/maven/maven/index-page/ | List maven index pages |
| ContentMavenIndexPageApi | read | GET {maven_maven_index_page_href} | Inspect a maven index page |
| ContentMavenIndexPageApi | set_label | POST {maven_maven_index_page_href}set_label/ | Set a label |
| ContentMavenIndexPageApi | unset_label | POST {maven_maven_index_page_href}unset_label/ | Unset a label |
| ContentMetadataApi | create | POST /pulp/api/v3/content/maven/metadata/ | Create a maven metadata |
| ContentMetadataApi | list | GET /pulp/api/v3/content/maven/metadata/ | List maven metadatas |
| ContentMetadataApi | read | GET {maven_maven_metadata_href} | Inspect a maven metadata |
| ContentMetadataApi | set_label | POST {maven_maven_metadata_href}set_label/ | Set a label |
| ContentMetadataApi | unset_label | POST {maven_maven_metadata_href}unset_label/ | Unset a label |
| ContentMetadataApi | upload | POST /pulp/api/v3/content/maven/metadata/upload/ | Upload a Maven metadata file synchronously. |
| ContentPackageApi | list | GET /pulp/api/v3/content/maven/package/ | List maven packages |
| ContentPackageApi | read | GET {maven_maven_package_href} | Inspect a maven package |
| ContentPackageApi | set_label | POST {maven_maven_package_href}set_label/ | Set a label |
| ContentPackageApi | unset_label | POST {maven_maven_package_href}unset_label/ | Unset a label |
| DistributionsMavenApi | add_role | POST {maven_maven_distribution_href}add_role/ | Add a role |
| DistributionsMavenApi | create | POST /pulp/api/v3/distributions/maven/maven/ | Create a maven distribution |
| DistributionsMavenApi | delete | DELETE {maven_maven_distribution_href} | Delete a maven distribution |
| DistributionsMavenApi | list | GET /pulp/api/v3/distributions/maven/maven/ | List maven distributions |
| DistributionsMavenApi | list_roles | GET {maven_maven_distribution_href}list_roles/ | List roles |
| DistributionsMavenApi | my_permissions | GET {maven_maven_distribution_href}my_permissions/ | List user permissions |
| DistributionsMavenApi | partial_update | PATCH {maven_maven_distribution_href} | Update a maven distribution |
| DistributionsMavenApi | read | GET {maven_maven_distribution_href} | Inspect a maven distribution |
| DistributionsMavenApi | remove_role | POST {maven_maven_distribution_href}remove_role/ | Remove a role |
| DistributionsMavenApi | set_label | POST {maven_maven_distribution_href}set_label/ | Set a label |
| DistributionsMavenApi | unset_label | POST {maven_maven_distribution_href}unset_label/ | Unset a label |
| DistributionsMavenApi | update | PUT {maven_maven_distribution_href} | Update a maven distribution |
| PulpMavenApi | get | GET /pulp/maven/{name}/{path} | |
| PulpMavenApi | put | PUT /pulp/maven/{name}/{path} | |
| RemotesMavenApi | add_role | POST {maven_maven_remote_href}add_role/ | Add a role |
| RemotesMavenApi | create | POST /pulp/api/v3/remotes/maven/maven/ | Create a maven remote |
| RemotesMavenApi | delete | DELETE {maven_maven_remote_href} | Delete a maven remote |
| RemotesMavenApi | list | GET /pulp/api/v3/remotes/maven/maven/ | List maven remotes |
| RemotesMavenApi | list_roles | GET {maven_maven_remote_href}list_roles/ | List roles |
| RemotesMavenApi | my_permissions | GET {maven_maven_remote_href}my_permissions/ | List user permissions |
| RemotesMavenApi | partial_update | PATCH {maven_maven_remote_href} | Update a maven remote |
| RemotesMavenApi | read | GET {maven_maven_remote_href} | Inspect a maven remote |
| RemotesMavenApi | remove_role | POST {maven_maven_remote_href}remove_role/ | Remove a role |
| RemotesMavenApi | set_label | POST {maven_maven_remote_href}set_label/ | Set a label |
| RemotesMavenApi | unset_label | POST {maven_maven_remote_href}unset_label/ | Unset a label |
| RemotesMavenApi | update | PUT {maven_maven_remote_href} | Update a maven remote |
| RepositoriesMavenApi | add_role | POST {maven_maven_repository_href}add_role/ | Add a role |
| RepositoriesMavenApi | build_path_index | POST {maven_maven_repository_href}build_path_index/ | |
| RepositoriesMavenApi | compact_path_index | POST {maven_maven_repository_href}compact_path_index/ | |
| RepositoriesMavenApi | create | POST /pulp/api/v3/repositories/maven/maven/ | Create a maven repository |
| RepositoriesMavenApi | delete | DELETE {maven_maven_repository_href} | Delete a maven repository |
| RepositoriesMavenApi | list | GET /pulp/api/v3/repositories/maven/maven/ | List maven repositorys |
| RepositoriesMavenApi | list_roles | GET {maven_maven_repository_href}list_roles/ | List roles |
| RepositoriesMavenApi | metrics | GET {maven_maven_repository_href}metrics/ | Repository metrics |
| RepositoriesMavenApi | modify | POST {maven_maven_repository_href}modify/ | Modify Repository Content |
| RepositoriesMavenApi | my_permissions | GET {maven_maven_repository_href}my_permissions/ | List user permissions |
| RepositoriesMavenApi | packages | GET {maven_maven_repository_href}packages/ | List packages |
| RepositoriesMavenApi | packages_flat | GET {maven_maven_repository_href}packages/flat/ | List packages (flat) |
| RepositoriesMavenApi | partial_update | PATCH {maven_maven_repository_href} | Update a maven repository |
| RepositoriesMavenApi | path_index_status | GET {maven_maven_repository_href}path_index_status/ | |
| RepositoriesMavenApi | read | GET {maven_maven_repository_href} | Inspect a maven repository |
| RepositoriesMavenApi | remove_role | POST {maven_maven_repository_href}remove_role/ | Remove a role |
| RepositoriesMavenApi | repair_index_pages | POST {maven_maven_repository_href}repair_index_pages/ | Repair index pages |
| RepositoriesMavenApi | repair_metadata | POST {maven_maven_repository_href}repair_metadata/ | Repair metadata |
| RepositoriesMavenApi | set_label | POST {maven_maven_repository_href}set_label/ | Set a label |
| RepositoriesMavenApi | unset_label | POST {maven_maven_repository_href}unset_label/ | Unset a label |
| RepositoriesMavenApi | update | PUT {maven_maven_repository_href} | Update a maven repository |
| RepositoriesMavenVersionsApi | delete | DELETE {maven_maven_repository_version_href} | Delete a repository version |
| RepositoriesMavenVersionsApi | list | GET {maven_maven_repository_href}versions/ | List repository versions |
| RepositoriesMavenVersionsApi | read | GET {maven_maven_repository_version_href} | Inspect a repository version |
| RepositoriesMavenVersionsApi | repair | POST {maven_maven_repository_version_href}repair/ |
Documentation For Models
- AsyncOperationResponse
- ContentSummaryResponse
- MavenMavenArtifactResponse
- MavenMavenDistribution
- MavenMavenDistributionResponse
- MavenMavenIndexPageResponse
- MavenMavenMetadataResponse
- MavenMavenPackageResponse
- MavenMavenRemote
- MavenMavenRemoteResponse
- MavenMavenRemoteResponseHiddenFieldsInner
- MavenMavenRepository
- MavenMavenRepositoryResponse
- MavenPackageLicenseResponse
- MavenPackageReleaseResponse
- MavenPathIndexStatusResponse
- MavenRepositoryFlatPackageResponse
- MavenRepositoryMetricsResponse
- MavenRepositoryPackageResponse
- MyPermissionsResponse
- NestedRole
- NestedRoleResponse
- ObjectRolesResponse
- PaginatedMavenRepositoryFlatPackageResponseList
- PaginatedMavenRepositoryPackageListResponse
- PaginatedRepositoryVersionResponseList
- PaginatedmavenMavenArtifactResponseList
- PaginatedmavenMavenDistributionResponseList
- PaginatedmavenMavenIndexPageResponseList
- PaginatedmavenMavenMetadataResponseList
- PaginatedmavenMavenPackageResponseList
- PaginatedmavenMavenRemoteResponseList
- PaginatedmavenMavenRepositoryResponseList
- PatchedmavenMavenDistribution
- PatchedmavenMavenRemote
- PatchedmavenMavenRepository
- PolicyEnum
- RemoteNetworkConfig
- RemoteNetworkConfigResponse
- Repair
- RepositoryAddRemoveContent
- RepositoryVersionResponse
- SetLabel
- SetLabelResponse
- UnsetLabel
- UnsetLabelResponse
Documentation For Authorization
Authentication schemes defined for the API:
basicAuth
- Type: HTTP basic authentication
cookieAuth
- Type: API key
- API key parameter name: sessionid
- Location:
Author
Metadata
Release files for pulp-maven-client 0.34.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pulp_maven_client-0.34.3.tar.gz | 94.6 kB | With provenance | Details for pulp_maven_client-0.34.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pulp_maven_client-0.34.3-py3-none-any.whl | Python 3 | none | any | Details for pulp_maven_client-0.34.3-py3-none-any.whl |
Total release size: 256.4 kB
Release files / pulp_maven_client-0.34.3.tar.gz
| Download URL | pulp_maven_client-0.34.3.tar.gz |
|---|---|
| Size | 94.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
08b9a2f3aaabe3d44f20c6b822e9a76a804fc36ef33467a7eeb88a46696c7d50
|
|
BLAKE2b-256 checksum How to use checksums |
1de95fda1a08686ba3a38ba3c578bb5055a2f2ded117cc6c04a267c74bd6dcd0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.
Transparency logRelease files / pulp_maven_client-0.34.3-py3-none-any.whl
| Download URL | pulp_maven_client-0.34.3-py3-none-any.whl |
|---|---|
| Size | 161.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f3f81e7341f9dafc0b0398ca2f87bdd253151f7bea16fd57ca15918f03d69da1
|
|
BLAKE2b-256 checksum How to use checksums |
f7755261b2f419be82c6ad5888baab89943f14a66a3ec5439fc33df1d9f700f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.
Transparency logSecurity for pulp-maven-client 0.34.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for pulp_maven_client-0.34.3.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.