pulp-python-client


Namepulp-python-client JSON
Version 3.19.1 PyPI version JSON
download
home_pageNone
SummaryPulp 3 API
upload_time2025-09-14 17:22:13
maintainerNone
docs_urlNone
authorPulp Team
requires_python>=3.9
licenseGPL-2.0-or-later
keywords openapi openapi-generator pulp 3 api
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # pulp_python-client
Fetch, Upload, Organize, and Distribute Software Packages

This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: v3
- Package version: 3.19.1
- Generator version: 7.14.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
For more information, please visit [https://pulpproject.org](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:

```sh
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:
```python
import pulpcore.client.pulp_python
```

### Setuptools

Install via [Setuptools](http://pypi.python.org/pypi/setuptools).

```sh
python setup.py install --user
```
(or `sudo python setup.py install` to install the package for all users)

Then import the package:
```python
import pulpcore.client.pulp_python
```

### Tests

Execute `pytest` to run the tests.

## Getting Started

Please follow the [installation procedure](#installation--usage) and then run the following:

```python

import pulpcore.client.pulp_python
from pulpcore.client.pulp_python.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_python.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_python.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_python.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = pulpcore.client.pulp_python.ContentPackagesApi(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)
    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)
    author = 'author_example' # str | Text containing the author's name. Contact information can also be added, separated with newlines. (optional)
    author_email = 'author_email_example' # str | The author's e-mail address.  (optional)
    description = 'description_example' # str | A longer description of the package that can run to several paragraphs. (optional)
    home_page = 'home_page_example' # str | The URL for the package's home page. (optional)
    keywords = 'keywords_example' # str | Additional keywords to be used to assist searching for the package in a larger catalog. (optional)
    license = 'license_example' # str | Text indicating the license covering the distribution (optional)
    platform = 'platform_example' # str | A comma-separated list of platform specifications, summarizing the operating systems supported by the package. (optional)
    summary = 'summary_example' # str | A one-line summary of what the package does. (optional)
    classifiers = None # object |  (optional)
    download_url = 'download_url_example' # str | Legacy field denoting the URL from which this package can be downloaded. (optional)
    supported_platform = 'supported_platform_example' # str | Field to specify the OS and CPU for which the binary package was compiled.  (optional)
    maintainer = 'maintainer_example' # str | The maintainer's name at a minimum; additional contact information may be provided. (optional)
    maintainer_email = 'maintainer_email_example' # str | The maintainer's e-mail address. (optional)
    obsoletes_dist = None # object |  (optional)
    project_url = 'project_url_example' # str | A browsable URL for the project and a label for it, separated by a comma. (optional)
    project_urls = None # object |  (optional)
    provides_dist = None # object |  (optional)
    requires_external = None # object |  (optional)
    requires_dist = None # object |  (optional)
    requires_python = 'requires_python_example' # str | The Python version(s) that the distribution is guaranteed to be compatible with. (optional)
    description_content_type = 'description_content_type_example' # str | A string stating the markup syntax (if any) used in the distribution's description, so that tools can intelligently render the description. (optional)
    provides_extras = None # object |  (optional)
    dynamic = None # object |  (optional)
    license_expression = 'license_expression_example' # str | Text string that is a valid SPDX license expression. (optional)
    license_file = None # object |  (optional)
    sha256 = '' # str | The SHA256 digest of this package. (optional) (default to '')

    try:
        # Create a python package content
        api_response = api_instance.create(relative_path, x_task_diagnostics=x_task_diagnostics, repository=repository, pulp_labels=pulp_labels, artifact=artifact, file=file, upload=upload, file_url=file_url, author=author, author_email=author_email, description=description, home_page=home_page, keywords=keywords, license=license, platform=platform, summary=summary, classifiers=classifiers, download_url=download_url, supported_platform=supported_platform, maintainer=maintainer, maintainer_email=maintainer_email, obsoletes_dist=obsoletes_dist, project_url=project_url, project_urls=project_urls, provides_dist=provides_dist, requires_external=requires_external, requires_dist=requires_dist, requires_python=requires_python, description_content_type=description_content_type, provides_extras=provides_extras, dynamic=dynamic, license_expression=license_expression, license_file=license_file, sha256=sha256)
        print("The response of ContentPackagesApi->create:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling ContentPackagesApi->create: %s\n" % e)

```

## Documentation for API Endpoints

All URIs are relative to *http://localhost:24817*

Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*ContentPackagesApi* | [**create**](docs/ContentPackagesApi.md#create) | **POST** /pulp/api/v3/content/python/packages/ | Create a python package content
*ContentPackagesApi* | [**list**](docs/ContentPackagesApi.md#list) | **GET** /pulp/api/v3/content/python/packages/ | List python package contents
*ContentPackagesApi* | [**read**](docs/ContentPackagesApi.md#read) | **GET** {python_python_package_content_href} | Inspect a python package content
*ContentPackagesApi* | [**set_label**](docs/ContentPackagesApi.md#set_label) | **POST** {python_python_package_content_href}set_label/ | Set a label
*ContentPackagesApi* | [**unset_label**](docs/ContentPackagesApi.md#unset_label) | **POST** {python_python_package_content_href}unset_label/ | Unset a label
*ContentPackagesApi* | [**upload**](docs/ContentPackagesApi.md#upload) | **POST** /pulp/api/v3/content/python/packages/upload/ | Synchronous Python package upload
*DistributionsPypiApi* | [**add_role**](docs/DistributionsPypiApi.md#add_role) | **POST** {python_python_distribution_href}add_role/ | Add a role
*DistributionsPypiApi* | [**create**](docs/DistributionsPypiApi.md#create) | **POST** /pulp/api/v3/distributions/python/pypi/ | Create a python distribution
*DistributionsPypiApi* | [**delete**](docs/DistributionsPypiApi.md#delete) | **DELETE** {python_python_distribution_href} | Delete a python distribution
*DistributionsPypiApi* | [**list**](docs/DistributionsPypiApi.md#list) | **GET** /pulp/api/v3/distributions/python/pypi/ | List python distributions
*DistributionsPypiApi* | [**list_roles**](docs/DistributionsPypiApi.md#list_roles) | **GET** {python_python_distribution_href}list_roles/ | List roles
*DistributionsPypiApi* | [**my_permissions**](docs/DistributionsPypiApi.md#my_permissions) | **GET** {python_python_distribution_href}my_permissions/ | List user permissions
*DistributionsPypiApi* | [**partial_update**](docs/DistributionsPypiApi.md#partial_update) | **PATCH** {python_python_distribution_href} | Update a python distribution
*DistributionsPypiApi* | [**read**](docs/DistributionsPypiApi.md#read) | **GET** {python_python_distribution_href} | Inspect a python distribution
*DistributionsPypiApi* | [**remove_role**](docs/DistributionsPypiApi.md#remove_role) | **POST** {python_python_distribution_href}remove_role/ | Remove a role
*DistributionsPypiApi* | [**set_label**](docs/DistributionsPypiApi.md#set_label) | **POST** {python_python_distribution_href}set_label/ | Set a label
*DistributionsPypiApi* | [**unset_label**](docs/DistributionsPypiApi.md#unset_label) | **POST** {python_python_distribution_href}unset_label/ | Unset a label
*DistributionsPypiApi* | [**update**](docs/DistributionsPypiApi.md#update) | **PUT** {python_python_distribution_href} | Update a python distribution
*PublicationsPypiApi* | [**add_role**](docs/PublicationsPypiApi.md#add_role) | **POST** {python_python_publication_href}add_role/ | Add a role
*PublicationsPypiApi* | [**create**](docs/PublicationsPypiApi.md#create) | **POST** /pulp/api/v3/publications/python/pypi/ | Create a python publication
*PublicationsPypiApi* | [**delete**](docs/PublicationsPypiApi.md#delete) | **DELETE** {python_python_publication_href} | Delete a python publication
*PublicationsPypiApi* | [**list**](docs/PublicationsPypiApi.md#list) | **GET** /pulp/api/v3/publications/python/pypi/ | List python publications
*PublicationsPypiApi* | [**list_roles**](docs/PublicationsPypiApi.md#list_roles) | **GET** {python_python_publication_href}list_roles/ | List roles
*PublicationsPypiApi* | [**my_permissions**](docs/PublicationsPypiApi.md#my_permissions) | **GET** {python_python_publication_href}my_permissions/ | List user permissions
*PublicationsPypiApi* | [**read**](docs/PublicationsPypiApi.md#read) | **GET** {python_python_publication_href} | Inspect a python publication
*PublicationsPypiApi* | [**remove_role**](docs/PublicationsPypiApi.md#remove_role) | **POST** {python_python_publication_href}remove_role/ | Remove a role
*PypiApi* | [**read**](docs/PypiApi.md#read) | **GET** /pypi/{path}/ | Get index summary
*PypiLegacyApi* | [**create**](docs/PypiLegacyApi.md#create) | **POST** /pypi/{path}/legacy/ | Upload a package
*PypiMetadataApi* | [**read**](docs/PypiMetadataApi.md#read) | **GET** /pypi/{path}/pypi/{meta}/ | Get package metadata
*PypiSimpleApi* | [**create**](docs/PypiSimpleApi.md#create) | **POST** /pypi/{path}/simple/ | Upload a package
*PypiSimpleApi* | [**pypi_simple_package_read**](docs/PypiSimpleApi.md#pypi_simple_package_read) | **GET** /pypi/{path}/simple/{package}/ | Get package simple page
*PypiSimpleApi* | [**read**](docs/PypiSimpleApi.md#read) | **GET** /pypi/{path}/simple/ | Get index simple page
*RemotesPythonApi* | [**add_role**](docs/RemotesPythonApi.md#add_role) | **POST** {python_python_remote_href}add_role/ | Add a role
*RemotesPythonApi* | [**create**](docs/RemotesPythonApi.md#create) | **POST** /pulp/api/v3/remotes/python/python/ | Create a python remote
*RemotesPythonApi* | [**delete**](docs/RemotesPythonApi.md#delete) | **DELETE** {python_python_remote_href} | Delete a python remote
*RemotesPythonApi* | [**from_bandersnatch**](docs/RemotesPythonApi.md#from_bandersnatch) | **POST** /pulp/api/v3/remotes/python/python/from_bandersnatch/ | Create from Bandersnatch
*RemotesPythonApi* | [**list**](docs/RemotesPythonApi.md#list) | **GET** /pulp/api/v3/remotes/python/python/ | List python remotes
*RemotesPythonApi* | [**list_roles**](docs/RemotesPythonApi.md#list_roles) | **GET** {python_python_remote_href}list_roles/ | List roles
*RemotesPythonApi* | [**my_permissions**](docs/RemotesPythonApi.md#my_permissions) | **GET** {python_python_remote_href}my_permissions/ | List user permissions
*RemotesPythonApi* | [**partial_update**](docs/RemotesPythonApi.md#partial_update) | **PATCH** {python_python_remote_href} | Update a python remote
*RemotesPythonApi* | [**read**](docs/RemotesPythonApi.md#read) | **GET** {python_python_remote_href} | Inspect a python remote
*RemotesPythonApi* | [**remove_role**](docs/RemotesPythonApi.md#remove_role) | **POST** {python_python_remote_href}remove_role/ | Remove a role
*RemotesPythonApi* | [**set_label**](docs/RemotesPythonApi.md#set_label) | **POST** {python_python_remote_href}set_label/ | Set a label
*RemotesPythonApi* | [**unset_label**](docs/RemotesPythonApi.md#unset_label) | **POST** {python_python_remote_href}unset_label/ | Unset a label
*RemotesPythonApi* | [**update**](docs/RemotesPythonApi.md#update) | **PUT** {python_python_remote_href} | Update a python remote
*RepositoriesPythonApi* | [**add_role**](docs/RepositoriesPythonApi.md#add_role) | **POST** {python_python_repository_href}add_role/ | Add a role
*RepositoriesPythonApi* | [**create**](docs/RepositoriesPythonApi.md#create) | **POST** /pulp/api/v3/repositories/python/python/ | Create a python repository
*RepositoriesPythonApi* | [**delete**](docs/RepositoriesPythonApi.md#delete) | **DELETE** {python_python_repository_href} | Delete a python repository
*RepositoriesPythonApi* | [**list**](docs/RepositoriesPythonApi.md#list) | **GET** /pulp/api/v3/repositories/python/python/ | List python repositorys
*RepositoriesPythonApi* | [**list_roles**](docs/RepositoriesPythonApi.md#list_roles) | **GET** {python_python_repository_href}list_roles/ | List roles
*RepositoriesPythonApi* | [**modify**](docs/RepositoriesPythonApi.md#modify) | **POST** {python_python_repository_href}modify/ | Modify Repository Content
*RepositoriesPythonApi* | [**my_permissions**](docs/RepositoriesPythonApi.md#my_permissions) | **GET** {python_python_repository_href}my_permissions/ | List user permissions
*RepositoriesPythonApi* | [**partial_update**](docs/RepositoriesPythonApi.md#partial_update) | **PATCH** {python_python_repository_href} | Update a python repository
*RepositoriesPythonApi* | [**read**](docs/RepositoriesPythonApi.md#read) | **GET** {python_python_repository_href} | Inspect a python repository
*RepositoriesPythonApi* | [**remove_role**](docs/RepositoriesPythonApi.md#remove_role) | **POST** {python_python_repository_href}remove_role/ | Remove a role
*RepositoriesPythonApi* | [**repair_metadata**](docs/RepositoriesPythonApi.md#repair_metadata) | **POST** {python_python_repository_href}repair_metadata/ | Repair metadata
*RepositoriesPythonApi* | [**set_label**](docs/RepositoriesPythonApi.md#set_label) | **POST** {python_python_repository_href}set_label/ | Set a label
*RepositoriesPythonApi* | [**sync**](docs/RepositoriesPythonApi.md#sync) | **POST** {python_python_repository_href}sync/ | Sync from remote
*RepositoriesPythonApi* | [**unset_label**](docs/RepositoriesPythonApi.md#unset_label) | **POST** {python_python_repository_href}unset_label/ | Unset a label
*RepositoriesPythonApi* | [**update**](docs/RepositoriesPythonApi.md#update) | **PUT** {python_python_repository_href} | Update a python repository
*RepositoriesPythonVersionsApi* | [**delete**](docs/RepositoriesPythonVersionsApi.md#delete) | **DELETE** {python_python_repository_version_href} | Delete a repository version
*RepositoriesPythonVersionsApi* | [**list**](docs/RepositoriesPythonVersionsApi.md#list) | **GET** {python_python_repository_href}versions/ | List repository versions
*RepositoriesPythonVersionsApi* | [**read**](docs/RepositoriesPythonVersionsApi.md#read) | **GET** {python_python_repository_version_href} | Inspect a repository version
*RepositoriesPythonVersionsApi* | [**repair**](docs/RepositoriesPythonVersionsApi.md#repair) | **POST** {python_python_repository_version_href}repair/ | 


## Documentation For Models

 - [AsyncOperationResponse](docs/AsyncOperationResponse.md)
 - [ContentSummaryResponse](docs/ContentSummaryResponse.md)
 - [ExcludePlatformsEnum](docs/ExcludePlatformsEnum.md)
 - [MyPermissionsResponse](docs/MyPermissionsResponse.md)
 - [NestedRole](docs/NestedRole.md)
 - [NestedRoleResponse](docs/NestedRoleResponse.md)
 - [ObjectRolesResponse](docs/ObjectRolesResponse.md)
 - [PackageMetadataResponse](docs/PackageMetadataResponse.md)
 - [PackageTypesEnum](docs/PackageTypesEnum.md)
 - [PackageUploadTaskResponse](docs/PackageUploadTaskResponse.md)
 - [PaginatedRepositoryVersionResponseList](docs/PaginatedRepositoryVersionResponseList.md)
 - [PaginatedpythonPythonDistributionResponseList](docs/PaginatedpythonPythonDistributionResponseList.md)
 - [PaginatedpythonPythonPackageContentResponseList](docs/PaginatedpythonPythonPackageContentResponseList.md)
 - [PaginatedpythonPythonPublicationResponseList](docs/PaginatedpythonPythonPublicationResponseList.md)
 - [PaginatedpythonPythonRemoteResponseList](docs/PaginatedpythonPythonRemoteResponseList.md)
 - [PaginatedpythonPythonRepositoryResponseList](docs/PaginatedpythonPythonRepositoryResponseList.md)
 - [PatchedpythonPythonDistribution](docs/PatchedpythonPythonDistribution.md)
 - [PatchedpythonPythonRemote](docs/PatchedpythonPythonRemote.md)
 - [PatchedpythonPythonRepository](docs/PatchedpythonPythonRepository.md)
 - [PolicyEnum](docs/PolicyEnum.md)
 - [PythonPythonDistribution](docs/PythonPythonDistribution.md)
 - [PythonPythonDistributionResponse](docs/PythonPythonDistributionResponse.md)
 - [PythonPythonPackageContentResponse](docs/PythonPythonPackageContentResponse.md)
 - [PythonPythonPublication](docs/PythonPythonPublication.md)
 - [PythonPythonPublicationResponse](docs/PythonPythonPublicationResponse.md)
 - [PythonPythonRemote](docs/PythonPythonRemote.md)
 - [PythonPythonRemoteResponse](docs/PythonPythonRemoteResponse.md)
 - [PythonPythonRemoteResponseHiddenFieldsInner](docs/PythonPythonRemoteResponseHiddenFieldsInner.md)
 - [PythonPythonRepository](docs/PythonPythonRepository.md)
 - [PythonPythonRepositoryResponse](docs/PythonPythonRepositoryResponse.md)
 - [Repair](docs/Repair.md)
 - [RepositoryAddRemoveContent](docs/RepositoryAddRemoveContent.md)
 - [RepositorySyncURL](docs/RepositorySyncURL.md)
 - [RepositoryVersionResponse](docs/RepositoryVersionResponse.md)
 - [SetLabel](docs/SetLabel.md)
 - [SetLabelResponse](docs/SetLabelResponse.md)
 - [SummaryResponse](docs/SummaryResponse.md)
 - [UnsetLabel](docs/UnsetLabel.md)
 - [UnsetLabelResponse](docs/UnsetLabelResponse.md)


<a id="documentation-for-authorization"></a>
## Documentation For Authorization


Authentication schemes defined for the API:
<a id="basicAuth"></a>
### basicAuth

- **Type**: HTTP basic authentication

<a id="cookieAuth"></a>
### cookieAuth

- **Type**: API key
- **API key parameter name**: sessionid
- **Location**: 


## Author

pulp-list@redhat.com



            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "pulp-python-client",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "OpenAPI, OpenAPI-Generator, Pulp 3 API",
    "author": "Pulp Team",
    "author_email": "Pulp Team <pulp-list@redhat.com>",
    "download_url": "https://files.pythonhosted.org/packages/91/83/fe3db8e594a6b0312102175d16915a02412e61b86557c0872c98b1beb2e1/pulp_python-client-3.19.1.tar.gz",
    "platform": null,
    "description": "# pulp_python-client\nFetch, Upload, Organize, and Distribute Software Packages\n\nThis Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:\n\n- API version: v3\n- Package version: 3.19.1\n- Generator version: 7.14.0\n- Build package: org.openapitools.codegen.languages.PythonClientCodegen\nFor more information, please visit [https://pulpproject.org](https://pulpproject.org)\n\n## Requirements.\n\nPython 3.9+\n\n## Installation & Usage\n### pip install\n\nIf the python package is hosted on a repository, you can install directly using:\n\n```sh\npip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git\n```\n(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`)\n\nThen import the package:\n```python\nimport pulpcore.client.pulp_python\n```\n\n### Setuptools\n\nInstall via [Setuptools](http://pypi.python.org/pypi/setuptools).\n\n```sh\npython setup.py install --user\n```\n(or `sudo python setup.py install` to install the package for all users)\n\nThen import the package:\n```python\nimport pulpcore.client.pulp_python\n```\n\n### Tests\n\nExecute `pytest` to run the tests.\n\n## Getting Started\n\nPlease follow the [installation procedure](#installation--usage) and then run the following:\n\n```python\n\nimport pulpcore.client.pulp_python\nfrom pulpcore.client.pulp_python.rest import ApiException\nfrom pprint import pprint\n\n# Defining the host is optional and defaults to http://localhost:24817\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = pulpcore.client.pulp_python.Configuration(\n    host = \"http://localhost:24817\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\n# Configure HTTP basic authorization: basicAuth\nconfiguration = pulpcore.client.pulp_python.Configuration(\n    username = os.environ[\"USERNAME\"],\n    password = os.environ[\"PASSWORD\"]\n)\n\n# Configure API key authorization: cookieAuth\nconfiguration.api_key['cookieAuth'] = os.environ[\"API_KEY\"]\n\n# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed\n# configuration.api_key_prefix['cookieAuth'] = 'Bearer'\n\n\n# Enter a context with an instance of the API client\nwith pulpcore.client.pulp_python.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = pulpcore.client.pulp_python.ContentPackagesApi(api_client)\n    relative_path = 'relative_path_example' # str | Path where the artifact is located relative to distributions base_path\n    x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)\n    repository = 'repository_example' # str | A URI of a repository the new content unit should be associated with. (optional)\n    pulp_labels = None # Dict[str, Optional[str]] | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. (optional)\n    artifact = 'artifact_example' # str | Artifact file representing the physical content (optional)\n    file = None # bytearray | An uploaded file that may be turned into the content unit. (optional)\n    upload = 'upload_example' # str | An uncommitted upload that may be turned into the content unit. (optional)\n    file_url = 'file_url_example' # str | A url that Pulp can download and turn into the content unit. (optional)\n    author = 'author_example' # str | Text containing the author's name. Contact information can also be added, separated with newlines. (optional)\n    author_email = 'author_email_example' # str | The author's e-mail address.  (optional)\n    description = 'description_example' # str | A longer description of the package that can run to several paragraphs. (optional)\n    home_page = 'home_page_example' # str | The URL for the package's home page. (optional)\n    keywords = 'keywords_example' # str | Additional keywords to be used to assist searching for the package in a larger catalog. (optional)\n    license = 'license_example' # str | Text indicating the license covering the distribution (optional)\n    platform = 'platform_example' # str | A comma-separated list of platform specifications, summarizing the operating systems supported by the package. (optional)\n    summary = 'summary_example' # str | A one-line summary of what the package does. (optional)\n    classifiers = None # object |  (optional)\n    download_url = 'download_url_example' # str | Legacy field denoting the URL from which this package can be downloaded. (optional)\n    supported_platform = 'supported_platform_example' # str | Field to specify the OS and CPU for which the binary package was compiled.  (optional)\n    maintainer = 'maintainer_example' # str | The maintainer's name at a minimum; additional contact information may be provided. (optional)\n    maintainer_email = 'maintainer_email_example' # str | The maintainer's e-mail address. (optional)\n    obsoletes_dist = None # object |  (optional)\n    project_url = 'project_url_example' # str | A browsable URL for the project and a label for it, separated by a comma. (optional)\n    project_urls = None # object |  (optional)\n    provides_dist = None # object |  (optional)\n    requires_external = None # object |  (optional)\n    requires_dist = None # object |  (optional)\n    requires_python = 'requires_python_example' # str | The Python version(s) that the distribution is guaranteed to be compatible with. (optional)\n    description_content_type = 'description_content_type_example' # str | A string stating the markup syntax (if any) used in the distribution's description, so that tools can intelligently render the description. (optional)\n    provides_extras = None # object |  (optional)\n    dynamic = None # object |  (optional)\n    license_expression = 'license_expression_example' # str | Text string that is a valid SPDX license expression. (optional)\n    license_file = None # object |  (optional)\n    sha256 = '' # str | The SHA256 digest of this package. (optional) (default to '')\n\n    try:\n        # Create a python package content\n        api_response = api_instance.create(relative_path, x_task_diagnostics=x_task_diagnostics, repository=repository, pulp_labels=pulp_labels, artifact=artifact, file=file, upload=upload, file_url=file_url, author=author, author_email=author_email, description=description, home_page=home_page, keywords=keywords, license=license, platform=platform, summary=summary, classifiers=classifiers, download_url=download_url, supported_platform=supported_platform, maintainer=maintainer, maintainer_email=maintainer_email, obsoletes_dist=obsoletes_dist, project_url=project_url, project_urls=project_urls, provides_dist=provides_dist, requires_external=requires_external, requires_dist=requires_dist, requires_python=requires_python, description_content_type=description_content_type, provides_extras=provides_extras, dynamic=dynamic, license_expression=license_expression, license_file=license_file, sha256=sha256)\n        print(\"The response of ContentPackagesApi->create:\\n\")\n        pprint(api_response)\n    except ApiException as e:\n        print(\"Exception when calling ContentPackagesApi->create: %s\\n\" % e)\n\n```\n\n## Documentation for API Endpoints\n\nAll URIs are relative to *http://localhost:24817*\n\nClass | Method | HTTP request | Description\n------------ | ------------- | ------------- | -------------\n*ContentPackagesApi* | [**create**](docs/ContentPackagesApi.md#create) | **POST** /pulp/api/v3/content/python/packages/ | Create a python package content\n*ContentPackagesApi* | [**list**](docs/ContentPackagesApi.md#list) | **GET** /pulp/api/v3/content/python/packages/ | List python package contents\n*ContentPackagesApi* | [**read**](docs/ContentPackagesApi.md#read) | **GET** {python_python_package_content_href} | Inspect a python package content\n*ContentPackagesApi* | [**set_label**](docs/ContentPackagesApi.md#set_label) | **POST** {python_python_package_content_href}set_label/ | Set a label\n*ContentPackagesApi* | [**unset_label**](docs/ContentPackagesApi.md#unset_label) | **POST** {python_python_package_content_href}unset_label/ | Unset a label\n*ContentPackagesApi* | [**upload**](docs/ContentPackagesApi.md#upload) | **POST** /pulp/api/v3/content/python/packages/upload/ | Synchronous Python package upload\n*DistributionsPypiApi* | [**add_role**](docs/DistributionsPypiApi.md#add_role) | **POST** {python_python_distribution_href}add_role/ | Add a role\n*DistributionsPypiApi* | [**create**](docs/DistributionsPypiApi.md#create) | **POST** /pulp/api/v3/distributions/python/pypi/ | Create a python distribution\n*DistributionsPypiApi* | [**delete**](docs/DistributionsPypiApi.md#delete) | **DELETE** {python_python_distribution_href} | Delete a python distribution\n*DistributionsPypiApi* | [**list**](docs/DistributionsPypiApi.md#list) | **GET** /pulp/api/v3/distributions/python/pypi/ | List python distributions\n*DistributionsPypiApi* | [**list_roles**](docs/DistributionsPypiApi.md#list_roles) | **GET** {python_python_distribution_href}list_roles/ | List roles\n*DistributionsPypiApi* | [**my_permissions**](docs/DistributionsPypiApi.md#my_permissions) | **GET** {python_python_distribution_href}my_permissions/ | List user permissions\n*DistributionsPypiApi* | [**partial_update**](docs/DistributionsPypiApi.md#partial_update) | **PATCH** {python_python_distribution_href} | Update a python distribution\n*DistributionsPypiApi* | [**read**](docs/DistributionsPypiApi.md#read) | **GET** {python_python_distribution_href} | Inspect a python distribution\n*DistributionsPypiApi* | [**remove_role**](docs/DistributionsPypiApi.md#remove_role) | **POST** {python_python_distribution_href}remove_role/ | Remove a role\n*DistributionsPypiApi* | [**set_label**](docs/DistributionsPypiApi.md#set_label) | **POST** {python_python_distribution_href}set_label/ | Set a label\n*DistributionsPypiApi* | [**unset_label**](docs/DistributionsPypiApi.md#unset_label) | **POST** {python_python_distribution_href}unset_label/ | Unset a label\n*DistributionsPypiApi* | [**update**](docs/DistributionsPypiApi.md#update) | **PUT** {python_python_distribution_href} | Update a python distribution\n*PublicationsPypiApi* | [**add_role**](docs/PublicationsPypiApi.md#add_role) | **POST** {python_python_publication_href}add_role/ | Add a role\n*PublicationsPypiApi* | [**create**](docs/PublicationsPypiApi.md#create) | **POST** /pulp/api/v3/publications/python/pypi/ | Create a python publication\n*PublicationsPypiApi* | [**delete**](docs/PublicationsPypiApi.md#delete) | **DELETE** {python_python_publication_href} | Delete a python publication\n*PublicationsPypiApi* | [**list**](docs/PublicationsPypiApi.md#list) | **GET** /pulp/api/v3/publications/python/pypi/ | List python publications\n*PublicationsPypiApi* | [**list_roles**](docs/PublicationsPypiApi.md#list_roles) | **GET** {python_python_publication_href}list_roles/ | List roles\n*PublicationsPypiApi* | [**my_permissions**](docs/PublicationsPypiApi.md#my_permissions) | **GET** {python_python_publication_href}my_permissions/ | List user permissions\n*PublicationsPypiApi* | [**read**](docs/PublicationsPypiApi.md#read) | **GET** {python_python_publication_href} | Inspect a python publication\n*PublicationsPypiApi* | [**remove_role**](docs/PublicationsPypiApi.md#remove_role) | **POST** {python_python_publication_href}remove_role/ | Remove a role\n*PypiApi* | [**read**](docs/PypiApi.md#read) | **GET** /pypi/{path}/ | Get index summary\n*PypiLegacyApi* | [**create**](docs/PypiLegacyApi.md#create) | **POST** /pypi/{path}/legacy/ | Upload a package\n*PypiMetadataApi* | [**read**](docs/PypiMetadataApi.md#read) | **GET** /pypi/{path}/pypi/{meta}/ | Get package metadata\n*PypiSimpleApi* | [**create**](docs/PypiSimpleApi.md#create) | **POST** /pypi/{path}/simple/ | Upload a package\n*PypiSimpleApi* | [**pypi_simple_package_read**](docs/PypiSimpleApi.md#pypi_simple_package_read) | **GET** /pypi/{path}/simple/{package}/ | Get package simple page\n*PypiSimpleApi* | [**read**](docs/PypiSimpleApi.md#read) | **GET** /pypi/{path}/simple/ | Get index simple page\n*RemotesPythonApi* | [**add_role**](docs/RemotesPythonApi.md#add_role) | **POST** {python_python_remote_href}add_role/ | Add a role\n*RemotesPythonApi* | [**create**](docs/RemotesPythonApi.md#create) | **POST** /pulp/api/v3/remotes/python/python/ | Create a python remote\n*RemotesPythonApi* | [**delete**](docs/RemotesPythonApi.md#delete) | **DELETE** {python_python_remote_href} | Delete a python remote\n*RemotesPythonApi* | [**from_bandersnatch**](docs/RemotesPythonApi.md#from_bandersnatch) | **POST** /pulp/api/v3/remotes/python/python/from_bandersnatch/ | Create from Bandersnatch\n*RemotesPythonApi* | [**list**](docs/RemotesPythonApi.md#list) | **GET** /pulp/api/v3/remotes/python/python/ | List python remotes\n*RemotesPythonApi* | [**list_roles**](docs/RemotesPythonApi.md#list_roles) | **GET** {python_python_remote_href}list_roles/ | List roles\n*RemotesPythonApi* | [**my_permissions**](docs/RemotesPythonApi.md#my_permissions) | **GET** {python_python_remote_href}my_permissions/ | List user permissions\n*RemotesPythonApi* | [**partial_update**](docs/RemotesPythonApi.md#partial_update) | **PATCH** {python_python_remote_href} | Update a python remote\n*RemotesPythonApi* | [**read**](docs/RemotesPythonApi.md#read) | **GET** {python_python_remote_href} | Inspect a python remote\n*RemotesPythonApi* | [**remove_role**](docs/RemotesPythonApi.md#remove_role) | **POST** {python_python_remote_href}remove_role/ | Remove a role\n*RemotesPythonApi* | [**set_label**](docs/RemotesPythonApi.md#set_label) | **POST** {python_python_remote_href}set_label/ | Set a label\n*RemotesPythonApi* | [**unset_label**](docs/RemotesPythonApi.md#unset_label) | **POST** {python_python_remote_href}unset_label/ | Unset a label\n*RemotesPythonApi* | [**update**](docs/RemotesPythonApi.md#update) | **PUT** {python_python_remote_href} | Update a python remote\n*RepositoriesPythonApi* | [**add_role**](docs/RepositoriesPythonApi.md#add_role) | **POST** {python_python_repository_href}add_role/ | Add a role\n*RepositoriesPythonApi* | [**create**](docs/RepositoriesPythonApi.md#create) | **POST** /pulp/api/v3/repositories/python/python/ | Create a python repository\n*RepositoriesPythonApi* | [**delete**](docs/RepositoriesPythonApi.md#delete) | **DELETE** {python_python_repository_href} | Delete a python repository\n*RepositoriesPythonApi* | [**list**](docs/RepositoriesPythonApi.md#list) | **GET** /pulp/api/v3/repositories/python/python/ | List python repositorys\n*RepositoriesPythonApi* | [**list_roles**](docs/RepositoriesPythonApi.md#list_roles) | **GET** {python_python_repository_href}list_roles/ | List roles\n*RepositoriesPythonApi* | [**modify**](docs/RepositoriesPythonApi.md#modify) | **POST** {python_python_repository_href}modify/ | Modify Repository Content\n*RepositoriesPythonApi* | [**my_permissions**](docs/RepositoriesPythonApi.md#my_permissions) | **GET** {python_python_repository_href}my_permissions/ | List user permissions\n*RepositoriesPythonApi* | [**partial_update**](docs/RepositoriesPythonApi.md#partial_update) | **PATCH** {python_python_repository_href} | Update a python repository\n*RepositoriesPythonApi* | [**read**](docs/RepositoriesPythonApi.md#read) | **GET** {python_python_repository_href} | Inspect a python repository\n*RepositoriesPythonApi* | [**remove_role**](docs/RepositoriesPythonApi.md#remove_role) | **POST** {python_python_repository_href}remove_role/ | Remove a role\n*RepositoriesPythonApi* | [**repair_metadata**](docs/RepositoriesPythonApi.md#repair_metadata) | **POST** {python_python_repository_href}repair_metadata/ | Repair metadata\n*RepositoriesPythonApi* | [**set_label**](docs/RepositoriesPythonApi.md#set_label) | **POST** {python_python_repository_href}set_label/ | Set a label\n*RepositoriesPythonApi* | [**sync**](docs/RepositoriesPythonApi.md#sync) | **POST** {python_python_repository_href}sync/ | Sync from remote\n*RepositoriesPythonApi* | [**unset_label**](docs/RepositoriesPythonApi.md#unset_label) | **POST** {python_python_repository_href}unset_label/ | Unset a label\n*RepositoriesPythonApi* | [**update**](docs/RepositoriesPythonApi.md#update) | **PUT** {python_python_repository_href} | Update a python repository\n*RepositoriesPythonVersionsApi* | [**delete**](docs/RepositoriesPythonVersionsApi.md#delete) | **DELETE** {python_python_repository_version_href} | Delete a repository version\n*RepositoriesPythonVersionsApi* | [**list**](docs/RepositoriesPythonVersionsApi.md#list) | **GET** {python_python_repository_href}versions/ | List repository versions\n*RepositoriesPythonVersionsApi* | [**read**](docs/RepositoriesPythonVersionsApi.md#read) | **GET** {python_python_repository_version_href} | Inspect a repository version\n*RepositoriesPythonVersionsApi* | [**repair**](docs/RepositoriesPythonVersionsApi.md#repair) | **POST** {python_python_repository_version_href}repair/ | \n\n\n## Documentation For Models\n\n - [AsyncOperationResponse](docs/AsyncOperationResponse.md)\n - [ContentSummaryResponse](docs/ContentSummaryResponse.md)\n - [ExcludePlatformsEnum](docs/ExcludePlatformsEnum.md)\n - [MyPermissionsResponse](docs/MyPermissionsResponse.md)\n - [NestedRole](docs/NestedRole.md)\n - [NestedRoleResponse](docs/NestedRoleResponse.md)\n - [ObjectRolesResponse](docs/ObjectRolesResponse.md)\n - [PackageMetadataResponse](docs/PackageMetadataResponse.md)\n - [PackageTypesEnum](docs/PackageTypesEnum.md)\n - [PackageUploadTaskResponse](docs/PackageUploadTaskResponse.md)\n - [PaginatedRepositoryVersionResponseList](docs/PaginatedRepositoryVersionResponseList.md)\n - [PaginatedpythonPythonDistributionResponseList](docs/PaginatedpythonPythonDistributionResponseList.md)\n - [PaginatedpythonPythonPackageContentResponseList](docs/PaginatedpythonPythonPackageContentResponseList.md)\n - [PaginatedpythonPythonPublicationResponseList](docs/PaginatedpythonPythonPublicationResponseList.md)\n - [PaginatedpythonPythonRemoteResponseList](docs/PaginatedpythonPythonRemoteResponseList.md)\n - [PaginatedpythonPythonRepositoryResponseList](docs/PaginatedpythonPythonRepositoryResponseList.md)\n - [PatchedpythonPythonDistribution](docs/PatchedpythonPythonDistribution.md)\n - [PatchedpythonPythonRemote](docs/PatchedpythonPythonRemote.md)\n - [PatchedpythonPythonRepository](docs/PatchedpythonPythonRepository.md)\n - [PolicyEnum](docs/PolicyEnum.md)\n - [PythonPythonDistribution](docs/PythonPythonDistribution.md)\n - [PythonPythonDistributionResponse](docs/PythonPythonDistributionResponse.md)\n - [PythonPythonPackageContentResponse](docs/PythonPythonPackageContentResponse.md)\n - [PythonPythonPublication](docs/PythonPythonPublication.md)\n - [PythonPythonPublicationResponse](docs/PythonPythonPublicationResponse.md)\n - [PythonPythonRemote](docs/PythonPythonRemote.md)\n - [PythonPythonRemoteResponse](docs/PythonPythonRemoteResponse.md)\n - [PythonPythonRemoteResponseHiddenFieldsInner](docs/PythonPythonRemoteResponseHiddenFieldsInner.md)\n - [PythonPythonRepository](docs/PythonPythonRepository.md)\n - [PythonPythonRepositoryResponse](docs/PythonPythonRepositoryResponse.md)\n - [Repair](docs/Repair.md)\n - [RepositoryAddRemoveContent](docs/RepositoryAddRemoveContent.md)\n - [RepositorySyncURL](docs/RepositorySyncURL.md)\n - [RepositoryVersionResponse](docs/RepositoryVersionResponse.md)\n - [SetLabel](docs/SetLabel.md)\n - [SetLabelResponse](docs/SetLabelResponse.md)\n - [SummaryResponse](docs/SummaryResponse.md)\n - [UnsetLabel](docs/UnsetLabel.md)\n - [UnsetLabelResponse](docs/UnsetLabelResponse.md)\n\n\n<a id=\"documentation-for-authorization\"></a>\n## Documentation For Authorization\n\n\nAuthentication schemes defined for the API:\n<a id=\"basicAuth\"></a>\n### basicAuth\n\n- **Type**: HTTP basic authentication\n\n<a id=\"cookieAuth\"></a>\n### cookieAuth\n\n- **Type**: API key\n- **API key parameter name**: sessionid\n- **Location**: \n\n\n## Author\n\npulp-list@redhat.com\n\n\n",
    "bugtrack_url": null,
    "license": "GPL-2.0-or-later",
    "summary": "Pulp 3 API",
    "version": "3.19.1",
    "project_urls": {
        "Repository": "https://github.com/GIT_USER_ID/GIT_REPO_ID"
    },
    "split_keywords": [
        "openapi",
        " openapi-generator",
        " pulp 3 api"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "b5ae2067a8f30a537b1ccfc373c093ea29c7833b52ecb883de4f798ba7dec041",
                "md5": "3d9d3545487895a2567f8abe7de2d339",
                "sha256": "eae6280732c9067720fd7b109c8c09f01e3681ae13655f4dffbd3c2610835dd4"
            },
            "downloads": -1,
            "filename": "pulp_python_client-3.19.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "3d9d3545487895a2567f8abe7de2d339",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 149487,
            "upload_time": "2025-09-14T17:22:10",
            "upload_time_iso_8601": "2025-09-14T17:22:10.991301Z",
            "url": "https://files.pythonhosted.org/packages/b5/ae/2067a8f30a537b1ccfc373c093ea29c7833b52ecb883de4f798ba7dec041/pulp_python_client-3.19.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "9183fe3db8e594a6b0312102175d16915a02412e61b86557c0872c98b1beb2e1",
                "md5": "f879b9b4e0ed557ea36108e99f9c930e",
                "sha256": "1c6219ed839af4aa36aff844861381753e80f2222c575a62711022e20c468bfc"
            },
            "downloads": -1,
            "filename": "pulp_python-client-3.19.1.tar.gz",
            "has_sig": false,
            "md5_digest": "f879b9b4e0ed557ea36108e99f9c930e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 89637,
            "upload_time": "2025-09-14T17:22:13",
            "upload_time_iso_8601": "2025-09-14T17:22:13.539190Z",
            "url": "https://files.pythonhosted.org/packages/91/83/fe3db8e594a6b0312102175d16915a02412e61b86557c0872c98b1beb2e1/pulp_python-client-3.19.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-09-14 17:22:13",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "GIT_USER_ID",
    "github_project": "GIT_REPO_ID",
    "github_not_found": true,
    "lcname": "pulp-python-client"
}
        
Elapsed time: 2.06144s