Skip to main content

Pulp 3 API

Project description

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.8.2
  • Generator version: 7.14.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

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

pulp-list@redhat.com

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pulp_deb_client-3.8.2.tar.gz (162.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pulp_deb_client-3.8.2-py3-none-any.whl (289.2 kB view details)

Uploaded Python 3

File details

Details for the file pulp_deb_client-3.8.2.tar.gz.

File metadata

  • Download URL: pulp_deb_client-3.8.2.tar.gz
  • Upload date:
  • Size: 162.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pulp_deb_client-3.8.2.tar.gz
Algorithm Hash digest
SHA256 238ec3c3725a8470047a2f9b6a7659844ea4c6b6ad597d9a841d1824470ab653
MD5 50c7e235b07c2f92dd69a050aa37b55b
BLAKE2b-256 18ecfcbd8553606aeae77023fbc67cc5f0066ba6e336e90d9844bdadf54f95fe

See more details on using hashes here.

Provenance

The following attestation bundles were made for pulp_deb_client-3.8.2.tar.gz:

Publisher: publish.yml on pulp/pulp_deb

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pulp_deb_client-3.8.2-py3-none-any.whl.

File metadata

  • Download URL: pulp_deb_client-3.8.2-py3-none-any.whl
  • Upload date:
  • Size: 289.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pulp_deb_client-3.8.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0e63a14ebfe1c2a7ce4299b648a263f79800e5869b5cc7da0a823f41c992d81e
MD5 9d697f3e513b18524a813bcda79ce2e2
BLAKE2b-256 47de2410cc62566eb3cd08f400dcc50501640677beb57e44464e6b8a671db656

See more details on using hashes here.

Provenance

The following attestation bundles were made for pulp_deb_client-3.8.2-py3-none-any.whl:

Publisher: publish.yml on pulp/pulp_deb

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page