pulp-python-client 3.16.0__tar.gz → 3.17.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulp-python-client might be problematic. Click here for more details.
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/PKG-INFO +1 -1
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/README.md +20 -15
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulp_python_client.egg-info/PKG-INFO +1 -1
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulpcore/client/pulp_python/__init__.py +1 -1
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulpcore/client/pulp_python/api/content_packages_api.py +341 -201
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulpcore/client/pulp_python/api/distributions_pypi_api.py +192 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulpcore/client/pulp_python/api/publications_pypi_api.py +128 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulpcore/client/pulp_python/api/pypi_api.py +16 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulpcore/client/pulp_python/api/pypi_legacy_api.py +17 -1
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulpcore/client/pulp_python/api/pypi_metadata_api.py +16 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulpcore/client/pulp_python/api/pypi_simple_api.py +48 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulpcore/client/pulp_python/api/remotes_python_api.py +208 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulpcore/client/pulp_python/api/repositories_python_api.py +240 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulpcore/client/pulp_python/api/repositories_python_versions_api.py +70 -6
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulpcore/client/pulp_python/api_client.py +1 -1
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulpcore/client/pulp_python/configuration.py +1 -1
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulpcore/client/pulp_python/models/python_python_package_content_response.py +80 -53
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pyproject.toml +1 -1
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/setup.py +1 -1
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/test/test_paginatedpython_python_package_content_response_list.py +46 -36
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/test/test_python_python_package_content_response.py +23 -18
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulp_python_client.egg-info/SOURCES.txt +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulp_python_client.egg-info/dependency_links.txt +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulp_python_client.egg-info/requires.txt +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulp_python_client.egg-info/top_level.txt +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulpcore/__init__.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulpcore/client/__init__.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulpcore/client/pulp_python/api/__init__.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulpcore/client/pulp_python/api_response.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulpcore/client/pulp_python/exceptions.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulpcore/client/pulp_python/models/__init__.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulpcore/client/pulp_python/models/async_operation_response.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulpcore/client/pulp_python/models/content_summary_response.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulpcore/client/pulp_python/models/exclude_platforms_enum.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulpcore/client/pulp_python/models/my_permissions_response.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulpcore/client/pulp_python/models/nested_role.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulpcore/client/pulp_python/models/nested_role_response.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulpcore/client/pulp_python/models/object_roles_response.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulpcore/client/pulp_python/models/package_metadata_response.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulpcore/client/pulp_python/models/package_types_enum.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulpcore/client/pulp_python/models/package_upload_task_response.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulpcore/client/pulp_python/models/paginated_repository_version_response_list.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulpcore/client/pulp_python/models/paginatedpython_python_distribution_response_list.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulpcore/client/pulp_python/models/paginatedpython_python_package_content_response_list.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulpcore/client/pulp_python/models/paginatedpython_python_publication_response_list.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulpcore/client/pulp_python/models/paginatedpython_python_remote_response_list.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulpcore/client/pulp_python/models/paginatedpython_python_repository_response_list.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulpcore/client/pulp_python/models/patchedpython_python_distribution.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulpcore/client/pulp_python/models/patchedpython_python_remote.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulpcore/client/pulp_python/models/patchedpython_python_repository.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulpcore/client/pulp_python/models/policy_enum.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulpcore/client/pulp_python/models/python_python_distribution.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulpcore/client/pulp_python/models/python_python_distribution_response.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulpcore/client/pulp_python/models/python_python_publication.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulpcore/client/pulp_python/models/python_python_publication_response.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulpcore/client/pulp_python/models/python_python_remote.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulpcore/client/pulp_python/models/python_python_remote_response.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulpcore/client/pulp_python/models/python_python_remote_response_hidden_fields_inner.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulpcore/client/pulp_python/models/python_python_repository.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulpcore/client/pulp_python/models/python_python_repository_response.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulpcore/client/pulp_python/models/repair.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulpcore/client/pulp_python/models/repository_add_remove_content.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulpcore/client/pulp_python/models/repository_sync_url.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulpcore/client/pulp_python/models/repository_version_response.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulpcore/client/pulp_python/models/set_label.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulpcore/client/pulp_python/models/set_label_response.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulpcore/client/pulp_python/models/summary_response.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulpcore/client/pulp_python/models/unset_label.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulpcore/client/pulp_python/models/unset_label_response.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulpcore/client/pulp_python/py.typed +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/pulpcore/client/pulp_python/rest.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/setup.cfg +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/test/test_async_operation_response.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/test/test_content_packages_api.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/test/test_content_summary_response.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/test/test_distributions_pypi_api.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/test/test_exclude_platforms_enum.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/test/test_my_permissions_response.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/test/test_nested_role.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/test/test_nested_role_response.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/test/test_object_roles_response.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/test/test_package_metadata_response.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/test/test_package_types_enum.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/test/test_package_upload_task_response.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/test/test_paginated_repository_version_response_list.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/test/test_paginatedpython_python_distribution_response_list.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/test/test_paginatedpython_python_publication_response_list.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/test/test_paginatedpython_python_remote_response_list.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/test/test_paginatedpython_python_repository_response_list.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/test/test_patchedpython_python_distribution.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/test/test_patchedpython_python_remote.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/test/test_patchedpython_python_repository.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/test/test_policy_enum.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/test/test_publications_pypi_api.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/test/test_pypi_api.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/test/test_pypi_legacy_api.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/test/test_pypi_metadata_api.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/test/test_pypi_simple_api.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/test/test_python_python_distribution.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/test/test_python_python_distribution_response.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/test/test_python_python_publication.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/test/test_python_python_publication_response.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/test/test_python_python_remote.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/test/test_python_python_remote_response.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/test/test_python_python_remote_response_hidden_fields_inner.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/test/test_python_python_repository.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/test/test_python_python_repository_response.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/test/test_remotes_python_api.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/test/test_repair.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/test/test_repositories_python_api.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/test/test_repositories_python_versions_api.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/test/test_repository_add_remove_content.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/test/test_repository_sync_url.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/test/test_repository_version_response.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/test/test_set_label.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/test/test_set_label_response.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/test/test_summary_response.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/test/test_unset_label.py +0 -0
- {pulp_python-client-3.16.0 → pulp_python-client-3.17.0}/test/test_unset_label_response.py +0 -0
|
@@ -4,7 +4,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
|
4
4
|
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
5
5
|
|
|
6
6
|
- API version: v3
|
|
7
|
-
- Package version: 3.
|
|
7
|
+
- Package version: 3.17.0
|
|
8
8
|
- Generator version: 7.10.0
|
|
9
9
|
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
|
10
10
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
|
@@ -85,38 +85,43 @@ with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
|
85
85
|
# Create an instance of the API class
|
|
86
86
|
api_instance = pulpcore.client.pulp_python.ContentPackagesApi(api_client)
|
|
87
87
|
relative_path = 'relative_path_example' # str | Path where the artifact is located relative to distributions base_path
|
|
88
|
+
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
|
|
88
89
|
repository = 'repository_example' # str | A URI of a repository the new content unit should be associated with. (optional)
|
|
89
90
|
pulp_labels = None # Dict[str, Optional[str]] | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. (optional)
|
|
90
91
|
artifact = 'artifact_example' # str | Artifact file representing the physical content (optional)
|
|
91
92
|
file = None # bytearray | An uploaded file that may be turned into the content unit. (optional)
|
|
92
93
|
upload = 'upload_example' # str | An uncommitted upload that may be turned into the content unit. (optional)
|
|
93
94
|
file_url = 'file_url_example' # str | A url that Pulp can download and turn into the content unit. (optional)
|
|
94
|
-
|
|
95
|
-
|
|
95
|
+
author = 'author_example' # str | Text containing the author's name. Contact information can also be added, separated with newlines. (optional)
|
|
96
|
+
author_email = 'author_email_example' # str | The author's e-mail address. (optional)
|
|
96
97
|
description = 'description_example' # str | A longer description of the package that can run to several paragraphs. (optional)
|
|
97
|
-
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)
|
|
98
|
-
keywords = 'keywords_example' # str | Additional keywords to be used to assist searching for the package in a larger catalog. (optional)
|
|
99
98
|
home_page = 'home_page_example' # str | The URL for the package's home page. (optional)
|
|
99
|
+
keywords = 'keywords_example' # str | Additional keywords to be used to assist searching for the package in a larger catalog. (optional)
|
|
100
|
+
license = 'license_example' # str | Text indicating the license covering the distribution (optional)
|
|
101
|
+
platform = 'platform_example' # str | A comma-separated list of platform specifications, summarizing the operating systems supported by the package. (optional)
|
|
102
|
+
summary = 'summary_example' # str | A one-line summary of what the package does. (optional)
|
|
103
|
+
classifiers = None # object | A JSON list containing classification values for a Python package. (optional)
|
|
100
104
|
download_url = 'download_url_example' # str | Legacy field denoting the URL from which this package can be downloaded. (optional)
|
|
101
|
-
|
|
102
|
-
author_email = 'author_email_example' # str | The author's e-mail address. (optional)
|
|
105
|
+
supported_platform = 'supported_platform_example' # str | Field to specify the OS and CPU for which the binary package was compiled. (optional)
|
|
103
106
|
maintainer = 'maintainer_example' # str | The maintainer's name at a minimum; additional contact information may be provided. (optional)
|
|
104
107
|
maintainer_email = 'maintainer_email_example' # str | The maintainer's e-mail address. (optional)
|
|
105
|
-
|
|
106
|
-
requires_python = 'requires_python_example' # str | The Python version(s) that the distribution is guaranteed to be compatible with. (optional)
|
|
108
|
+
obsoletes_dist = None # object | A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time. (optional)
|
|
107
109
|
project_url = 'project_url_example' # str | A browsable URL for the project and a label for it, separated by a comma. (optional)
|
|
108
110
|
project_urls = None # object | A dictionary of labels and URLs for the project. (optional)
|
|
109
|
-
platform = 'platform_example' # str | A comma-separated list of platform specifications, summarizing the operating systems supported by the package. (optional)
|
|
110
|
-
supported_platform = 'supported_platform_example' # str | Field to specify the OS and CPU for which the binary package was compiled. (optional)
|
|
111
|
-
requires_dist = None # object | A JSON list containing names of some other distutils project required by this distribution. (optional)
|
|
112
111
|
provides_dist = None # object | A JSON list containing names of a Distutils project which is contained within this distribution. (optional)
|
|
113
|
-
obsoletes_dist = None # object | A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time. (optional)
|
|
114
112
|
requires_external = None # object | A JSON list containing some dependency in the system that the distribution is to be used. (optional)
|
|
115
|
-
|
|
113
|
+
requires_dist = None # object | A JSON list containing names of some other distutils project required by this distribution. (optional)
|
|
114
|
+
requires_python = 'requires_python_example' # str | The Python version(s) that the distribution is guaranteed to be compatible with. (optional)
|
|
115
|
+
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)
|
|
116
|
+
provides_extras = None # object | A JSON list containing names of optional features provided by the package. (optional)
|
|
117
|
+
dynamic = None # object | A JSON list containing names of other core metadata fields which are permitted to vary between sdist and bdist packages. Fields NOT marked dynamic MUST be the same between bdist and sdist. (optional)
|
|
118
|
+
license_expression = 'license_expression_example' # str | Text string that is a valid SPDX license expression. (optional)
|
|
119
|
+
license_file = None # object | A JSON list containing names of the paths to license-related files. (optional)
|
|
120
|
+
sha256 = '' # str | The SHA256 digest of this package. (optional) (default to '')
|
|
116
121
|
|
|
117
122
|
try:
|
|
118
123
|
# Create a python package content
|
|
119
|
-
api_response = api_instance.create(relative_path, repository=repository, pulp_labels=pulp_labels, artifact=artifact, file=file, upload=upload, file_url=file_url,
|
|
124
|
+
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)
|
|
120
125
|
print("The response of ContentPackagesApi->create:\n")
|
|
121
126
|
pprint(api_response)
|
|
122
127
|
except ApiException as e:
|