pulp_deb-client
Fetch, Upload, Organize, and Distribute Software Packages
This Python package is automatically generated by the OpenAPI Generator project:
- API version: v3
- Package version: 3.11.0
- 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_deb
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_deb
Tests
Execute pytest to run the tests.
Getting Started
Please follow the installation procedure and then run the following:
import pulpcore.client.pulp_deb
from pulpcore.client.pulp_deb.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_deb.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_deb.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_deb.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pulpcore.client.pulp_deb.AcsDebApi(api_client)
deb_apt_alternate_content_source_href = 'deb_apt_alternate_content_source_href_example' # str |
nested_role = pulpcore.client.pulp_deb.NestedRole() # NestedRole |
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
try:
# Add a role
api_response = api_instance.add_role(deb_apt_alternate_content_source_href, nested_role, x_task_diagnostics=x_task_diagnostics)
print("The response of AcsDebApi->add_role:\n")
pprint(api_response)
except ApiException as e:
print("Exception when calling AcsDebApi->add_role: %s\n" % e)
Documentation for API Endpoints
All URIs are relative to http://localhost:24817
| Class | Method | HTTP request | Description |
|---|---|---|---|
| AcsDebApi | add_role | POST {deb_apt_alternate_content_source_href}add_role/ | Add a role |
| AcsDebApi | create | POST /pulp/api/v3/acs/deb/deb/ | Create an apt alternate content source |
| AcsDebApi | delete | DELETE {deb_apt_alternate_content_source_href} | Delete an apt alternate content source |
| AcsDebApi | list | GET /pulp/api/v3/acs/deb/deb/ | List apt alternate content sources |
| AcsDebApi | list_roles | GET {deb_apt_alternate_content_source_href}list_roles/ | List roles |
| AcsDebApi | my_permissions | GET {deb_apt_alternate_content_source_href}my_permissions/ | List user permissions |
| AcsDebApi | partial_update | PATCH {deb_apt_alternate_content_source_href} | Update an apt alternate content source |
| AcsDebApi | read | GET {deb_apt_alternate_content_source_href} | Inspect an apt alternate content source |
| AcsDebApi | refresh | POST {deb_apt_alternate_content_source_href}refresh/ | |
| AcsDebApi | remove_role | POST {deb_apt_alternate_content_source_href}remove_role/ | Remove a role |
| AcsDebApi | update | PUT {deb_apt_alternate_content_source_href} | Update an apt alternate content source |
| ContentGenericContentsApi | create | POST /pulp/api/v3/content/deb/generic_contents/ | Create a generic content |
| ContentGenericContentsApi | list | GET /pulp/api/v3/content/deb/generic_contents/ | List generic contents |
| ContentGenericContentsApi | read | GET {deb_generic_content_href} | Inspect a generic content |
| ContentGenericContentsApi | set_label | POST {deb_generic_content_href}set_label/ | Set a label |
| ContentGenericContentsApi | unset_label | POST {deb_generic_content_href}unset_label/ | Unset a label |
| ContentInstallerFileIndicesApi | create | POST /pulp/api/v3/content/deb/installer_file_indices/ | Create an installer file index |
| ContentInstallerFileIndicesApi | list | GET /pulp/api/v3/content/deb/installer_file_indices/ | List InstallerFileIndices |
| ContentInstallerFileIndicesApi | read | GET {deb_installer_file_index_href} | Inspect an installer file index |
| ContentInstallerFileIndicesApi | set_label | POST {deb_installer_file_index_href}set_label/ | Set a label |
| ContentInstallerFileIndicesApi | unset_label | POST {deb_installer_file_index_href}unset_label/ | Unset a label |
| ContentInstallerPackagesApi | create | POST /pulp/api/v3/content/deb/installer_packages/ | Create an installer package |
| ContentInstallerPackagesApi | list | GET /pulp/api/v3/content/deb/installer_packages/ | List installer packages |
| ContentInstallerPackagesApi | read | GET {deb_installer_package_href} | Inspect an installer package |
| ContentInstallerPackagesApi | set_label | POST {deb_installer_package_href}set_label/ | Set a label |
| ContentInstallerPackagesApi | unset_label | POST {deb_installer_package_href}unset_label/ | Unset a label |
| ContentPackageIndicesApi | create | POST /pulp/api/v3/content/deb/package_indices/ | Create a package index |
| ContentPackageIndicesApi | list | GET /pulp/api/v3/content/deb/package_indices/ | List PackageIndices |
| ContentPackageIndicesApi | read | GET {deb_package_index_href} | Inspect a package index |
| ContentPackageIndicesApi | set_label | POST {deb_package_index_href}set_label/ | Set a label |
| ContentPackageIndicesApi | unset_label | POST {deb_package_index_href}unset_label/ | Unset a label |
| ContentPackageReleaseComponentsApi | create | POST /pulp/api/v3/content/deb/package_release_components/ | Create a package release component |
| ContentPackageReleaseComponentsApi | list | GET /pulp/api/v3/content/deb/package_release_components/ | List package release components |
| ContentPackageReleaseComponentsApi | read | GET {deb_package_release_component_href} | Inspect a package release component |
| ContentPackageReleaseComponentsApi | set_label | POST {deb_package_release_component_href}set_label/ | Set a label |
| ContentPackageReleaseComponentsApi | unset_label | POST {deb_package_release_component_href}unset_label/ | Unset a label |
| ContentPackagesApi | create | POST /pulp/api/v3/content/deb/packages/ | Create a package |
| ContentPackagesApi | list | GET /pulp/api/v3/content/deb/packages/ | List packages |
| ContentPackagesApi | read | GET {deb_package_href} | Inspect a package |
| ContentPackagesApi | set_label | POST {deb_package_href}set_label/ | Set a label |
| ContentPackagesApi | unset_label | POST {deb_package_href}unset_label/ | Unset a label |
| ContentReleaseArchitecturesApi | create | POST /pulp/api/v3/content/deb/release_architectures/ | Create a release architecture |
| ContentReleaseArchitecturesApi | list | GET /pulp/api/v3/content/deb/release_architectures/ | List release architectures |
| ContentReleaseArchitecturesApi | read | GET {deb_release_architecture_href} | Inspect a release architecture |
| ContentReleaseArchitecturesApi | set_label | POST {deb_release_architecture_href}set_label/ | Set a label |
| ContentReleaseArchitecturesApi | unset_label | POST {deb_release_architecture_href}unset_label/ | Unset a label |
| ContentReleaseComponentsApi | create | POST /pulp/api/v3/content/deb/release_components/ | Create a release component |
| ContentReleaseComponentsApi | list | GET /pulp/api/v3/content/deb/release_components/ | List release components |
| ContentReleaseComponentsApi | read | GET {deb_release_component_href} | Inspect a release component |
| ContentReleaseComponentsApi | set_label | POST {deb_release_component_href}set_label/ | Set a label |
| ContentReleaseComponentsApi | unset_label | POST {deb_release_component_href}unset_label/ | Unset a label |
| ContentReleaseFilesApi | create | POST /pulp/api/v3/content/deb/release_files/ | Create a release file |
| ContentReleaseFilesApi | list | GET /pulp/api/v3/content/deb/release_files/ | List release files |
| ContentReleaseFilesApi | read | GET {deb_release_file_href} | Inspect a release file |
| ContentReleaseFilesApi | set_label | POST {deb_release_file_href}set_label/ | Set a label |
| ContentReleaseFilesApi | unset_label | POST {deb_release_file_href}unset_label/ | Unset a label |
| ContentReleasesApi | create | POST /pulp/api/v3/content/deb/releases/ | Create a release |
| ContentReleasesApi | list | GET /pulp/api/v3/content/deb/releases/ | List releases |
| ContentReleasesApi | read | GET {deb_release_href} | Inspect a release |
| ContentReleasesApi | set_label | POST {deb_release_href}set_label/ | Set a label |
| ContentReleasesApi | unset_label | POST {deb_release_href}unset_label/ | Unset a label |
| ContentSourceIndicesApi | create | POST /pulp/api/v3/content/deb/source_indices/ | Create a source index |
| ContentSourceIndicesApi | list | GET /pulp/api/v3/content/deb/source_indices/ | List SourceIndices |
| ContentSourceIndicesApi | read | GET {deb_source_index_href} | Inspect a source index |
| ContentSourceIndicesApi | set_label | POST {deb_source_index_href}set_label/ | Set a label |
| ContentSourceIndicesApi | unset_label | POST {deb_source_index_href}unset_label/ | Unset a label |
| ContentSourcePackagesApi | create | POST /pulp/api/v3/content/deb/source_packages/ | Create a source package |
| ContentSourcePackagesApi | list | GET /pulp/api/v3/content/deb/source_packages/ | List source packages |
| ContentSourcePackagesApi | read | GET {deb_source_package_href} | Inspect a source package |
| ContentSourcePackagesApi | set_label | POST {deb_source_package_href}set_label/ | Set a label |
| ContentSourcePackagesApi | unset_label | POST {deb_source_package_href}unset_label/ | Unset a label |
| ContentSourceReleaseComponentsApi | create | POST /pulp/api/v3/content/deb/source_release_components/ | Create a source package release component |
| ContentSourceReleaseComponentsApi | list | GET /pulp/api/v3/content/deb/source_release_components/ | List source package release components |
| ContentSourceReleaseComponentsApi | read | GET {deb_source_package_release_component_href} | Inspect a source package release component |
| ContentSourceReleaseComponentsApi | set_label | POST {deb_source_package_release_component_href}set_label/ | Set a label |
| ContentSourceReleaseComponentsApi | unset_label | POST {deb_source_package_release_component_href}unset_label/ | Unset a label |
| DebCopyApi | copy_content | POST /pulp/api/v3/deb/copy/ | Copy content |
| DistributionsAptApi | add_role | POST {deb_apt_distribution_href}add_role/ | Add a role |
| DistributionsAptApi | create | POST /pulp/api/v3/distributions/deb/apt/ | Create an apt distribution |
| DistributionsAptApi | delete | DELETE {deb_apt_distribution_href} | Delete an apt distribution |
| DistributionsAptApi | list | GET /pulp/api/v3/distributions/deb/apt/ | List apt distributions |
| DistributionsAptApi | list_roles | GET {deb_apt_distribution_href}list_roles/ | List roles |
| DistributionsAptApi | my_permissions | GET {deb_apt_distribution_href}my_permissions/ | List user permissions |
| DistributionsAptApi | partial_update | PATCH {deb_apt_distribution_href} | Update an apt distribution |
| DistributionsAptApi | read | GET {deb_apt_distribution_href} | Inspect an apt distribution |
| DistributionsAptApi | remove_role | POST {deb_apt_distribution_href}remove_role/ | Remove a role |
| DistributionsAptApi | set_label | POST {deb_apt_distribution_href}set_label/ | Set a label |
| DistributionsAptApi | unset_label | POST {deb_apt_distribution_href}unset_label/ | Unset a label |
| DistributionsAptApi | update | PUT {deb_apt_distribution_href} | Update an apt distribution |
| PublicationsAptApi | add_role | POST {deb_apt_publication_href}add_role/ | Add a role |
| PublicationsAptApi | create | POST /pulp/api/v3/publications/deb/apt/ | Create an apt publication |
| PublicationsAptApi | delete | DELETE {deb_apt_publication_href} | Delete an apt publication |
| PublicationsAptApi | list | GET /pulp/api/v3/publications/deb/apt/ | List apt publications |
| PublicationsAptApi | list_roles | GET {deb_apt_publication_href}list_roles/ | List roles |
| PublicationsAptApi | my_permissions | GET {deb_apt_publication_href}my_permissions/ | List user permissions |
| PublicationsAptApi | read | GET {deb_apt_publication_href} | Inspect an apt publication |
| PublicationsAptApi | remove_role | POST {deb_apt_publication_href}remove_role/ | Remove a role |
| PublicationsVerbatimApi | add_role | POST {deb_verbatim_publication_href}add_role/ | Add a role |
| PublicationsVerbatimApi | create | POST /pulp/api/v3/publications/deb/verbatim/ | Create a verbatim publication |
| PublicationsVerbatimApi | delete | DELETE {deb_verbatim_publication_href} | Delete a verbatim publication |
| PublicationsVerbatimApi | list | GET /pulp/api/v3/publications/deb/verbatim/ | List verbatim publications |
| PublicationsVerbatimApi | list_roles | GET {deb_verbatim_publication_href}list_roles/ | List roles |
| PublicationsVerbatimApi | my_permissions | GET {deb_verbatim_publication_href}my_permissions/ | List user permissions |
| PublicationsVerbatimApi | read | GET {deb_verbatim_publication_href} | Inspect a verbatim publication |
| PublicationsVerbatimApi | remove_role | POST {deb_verbatim_publication_href}remove_role/ | Remove a role |
| RemotesAptApi | add_role | POST {deb_apt_remote_href}add_role/ | Add a role |
| RemotesAptApi | create | POST /pulp/api/v3/remotes/deb/apt/ | Create an apt remote |
| RemotesAptApi | delete | DELETE {deb_apt_remote_href} | Delete an apt remote |
| RemotesAptApi | list | GET /pulp/api/v3/remotes/deb/apt/ | List apt remotes |
| RemotesAptApi | list_roles | GET {deb_apt_remote_href}list_roles/ | List roles |
| RemotesAptApi | my_permissions | GET {deb_apt_remote_href}my_permissions/ | List user permissions |
| RemotesAptApi | partial_update | PATCH {deb_apt_remote_href} | Update an apt remote |
| RemotesAptApi | read | GET {deb_apt_remote_href} | Inspect an apt remote |
| RemotesAptApi | remove_role | POST {deb_apt_remote_href}remove_role/ | Remove a role |
| RemotesAptApi | set_label | POST {deb_apt_remote_href}set_label/ | Set a label |
| RemotesAptApi | unset_label | POST {deb_apt_remote_href}unset_label/ | Unset a label |
| RemotesAptApi | update | PUT {deb_apt_remote_href} | Update an apt remote |
| RepositoriesAptApi | add_role | POST {deb_apt_repository_href}add_role/ | Add a role |
| RepositoriesAptApi | create | POST /pulp/api/v3/repositories/deb/apt/ | Create an apt repository |
| RepositoriesAptApi | delete | DELETE {deb_apt_repository_href} | Delete an apt repository |
| RepositoriesAptApi | list | GET /pulp/api/v3/repositories/deb/apt/ | List apt repositorys |
| RepositoriesAptApi | list_roles | GET {deb_apt_repository_href}list_roles/ | List roles |
| RepositoriesAptApi | modify | POST {deb_apt_repository_href}modify/ | Modify Repository Content |
| RepositoriesAptApi | my_permissions | GET {deb_apt_repository_href}my_permissions/ | List user permissions |
| RepositoriesAptApi | partial_update | PATCH {deb_apt_repository_href} | Update an apt repository |
| RepositoriesAptApi | read | GET {deb_apt_repository_href} | Inspect an apt repository |
| RepositoriesAptApi | remove_role | POST {deb_apt_repository_href}remove_role/ | Remove a role |
| RepositoriesAptApi | set_label | POST {deb_apt_repository_href}set_label/ | Set a label |
| RepositoriesAptApi | sync | POST {deb_apt_repository_href}sync/ | Sync from remote |
| RepositoriesAptApi | unset_label | POST {deb_apt_repository_href}unset_label/ | Unset a label |
| RepositoriesAptApi | update | PUT {deb_apt_repository_href} | Update an apt repository |
| RepositoriesAptVersionsApi | delete | DELETE {deb_apt_repository_version_href} | Delete a repository version |
| RepositoriesAptVersionsApi | list | GET {deb_apt_repository_href}versions/ | List repository versions |
| RepositoriesAptVersionsApi | read | GET {deb_apt_repository_version_href} | Inspect a repository version |
| RepositoriesAptVersionsApi | repair | POST {deb_apt_repository_version_href}repair/ |
Documentation For Models
- AptRepositoryAddRemoveContent
- AptRepositorySyncURL
- AsyncOperationResponse
- ContentSummaryResponse
- Copy
- DebAptAlternateContentSource
- DebAptAlternateContentSourceResponse
- DebAptDistribution
- DebAptDistributionResponse
- DebAptPublication
- DebAptPublicationResponse
- DebAptRemote
- DebAptRemoteResponse
- DebAptRemoteResponseHiddenFieldsInner
- DebAptRepository
- DebAptRepositoryResponse
- DebGenericContentResponse
- DebInstallerFileIndex
- DebInstallerFileIndexResponse
- DebInstallerPackageResponse
- DebPackageIndex
- DebPackageIndexResponse
- DebPackageReleaseComponent
- DebPackageReleaseComponentResponse
- DebPackageResponse
- DebRelease
- DebReleaseArchitecture
- DebReleaseArchitectureResponse
- DebReleaseComponent
- DebReleaseComponentResponse
- DebReleaseFile
- DebReleaseFileResponse
- DebReleaseResponse
- DebSourceIndex
- DebSourceIndexResponse
- DebSourcePackage
- DebSourcePackageReleaseComponent
- DebSourcePackageReleaseComponentResponse
- DebSourcePackageResponse
- DebVerbatimPublication
- DebVerbatimPublicationResponse
- LayoutEnum
- MyPermissionsResponse
- NestedRole
- NestedRoleResponse
- ObjectRolesResponse
- PaginatedRepositoryVersionResponseList
- PaginateddebAptAlternateContentSourceResponseList
- PaginateddebAptDistributionResponseList
- PaginateddebAptPublicationResponseList
- PaginateddebAptRemoteResponseList
- PaginateddebAptRepositoryResponseList
- PaginateddebGenericContentResponseList
- PaginateddebInstallerFileIndexResponseList
- PaginateddebInstallerPackageResponseList
- PaginateddebPackageIndexResponseList
- PaginateddebPackageReleaseComponentResponseList
- PaginateddebPackageResponseList
- PaginateddebReleaseArchitectureResponseList
- PaginateddebReleaseComponentResponseList
- PaginateddebReleaseFileResponseList
- PaginateddebReleaseResponseList
- PaginateddebSourceIndexResponseList
- PaginateddebSourcePackageReleaseComponentResponseList
- PaginateddebSourcePackageResponseList
- PaginateddebVerbatimPublicationResponseList
- PatcheddebAptAlternateContentSource
- PatcheddebAptDistribution
- PatcheddebAptRemote
- PatcheddebAptRepository
- PolicyEnum
- RemoteNetworkConfig
- RemoteNetworkConfigResponse
- Repair
- RepositoryVersionResponse
- SetLabel
- SetLabelResponse
- TaskGroupOperationResponse
- 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
Release files for pulp-deb-client 3.11.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pulp_deb_client-3.11.0.tar.gz | 168.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pulp_deb_client-3.11.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 465.1 kB
Release files / pulp_deb_client-3.11.0.tar.gz
| Download URL | pulp_deb_client-3.11.0.tar.gz |
|---|---|
| Size | 168.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
49a1756ddaaf7910bbcefd3656e149c5873e75a013b97c032190e991ac1ff505
|
|
BLAKE2b-256 checksum How to use checksums |
238cb0b53c1905a1ac322079e519dfc93d5774c294f5bb7c4b671d774dec0f0d
|
| 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 Sep 9, 2026.
Transparency logRelease files / pulp_deb_client-3.11.0-py3-none-any.whl
| Download URL | pulp_deb_client-3.11.0-py3-none-any.whl |
|---|---|
| Size | 296.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
66bd9f959c01d46ddf988487fb33d582a4e90af41852cad0f16708921daa95ca
|
|
BLAKE2b-256 checksum How to use checksums |
725ba98a1bb22c0b1e602263fbe9821ad3248529616c0659fcfa308f48d10bbd
|
| 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 Sep 9, 2026.
Transparency log