pulp-python-client 3.17.1__tar.gz → 3.19.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.

Files changed (123) hide show
  1. pulp_python-client-3.19.0/PKG-INFO +282 -0
  2. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/README.md +14 -13
  3. pulp_python-client-3.19.0/pulp_python_client.egg-info/PKG-INFO +282 -0
  4. pulp_python-client-3.19.0/pulp_python_client.egg-info/requires.txt +5 -0
  5. pulp_python-client-3.19.0/pulpcore/client/pulp_python/__init__.py +144 -0
  6. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulpcore/client/pulp_python/api/content_packages_api.py +802 -60
  7. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulpcore/client/pulp_python/api_client.py +6 -2
  8. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulpcore/client/pulp_python/configuration.py +10 -3
  9. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulpcore/client/pulp_python/exceptions.py +17 -0
  10. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulpcore/client/pulp_python/models/async_operation_response.py +8 -0
  11. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulpcore/client/pulp_python/models/content_summary_response.py +8 -0
  12. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulpcore/client/pulp_python/models/my_permissions_response.py +8 -0
  13. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulpcore/client/pulp_python/models/nested_role.py +8 -0
  14. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulpcore/client/pulp_python/models/nested_role_response.py +8 -0
  15. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulpcore/client/pulp_python/models/object_roles_response.py +8 -0
  16. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulpcore/client/pulp_python/models/package_metadata_response.py +10 -2
  17. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulpcore/client/pulp_python/models/package_upload_task_response.py +8 -0
  18. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulpcore/client/pulp_python/models/paginated_repository_version_response_list.py +8 -10
  19. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulpcore/client/pulp_python/models/paginatedpython_python_distribution_response_list.py +8 -10
  20. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulpcore/client/pulp_python/models/paginatedpython_python_package_content_response_list.py +8 -10
  21. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulpcore/client/pulp_python/models/paginatedpython_python_publication_response_list.py +8 -10
  22. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulpcore/client/pulp_python/models/paginatedpython_python_remote_response_list.py +8 -10
  23. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulpcore/client/pulp_python/models/paginatedpython_python_repository_response_list.py +8 -10
  24. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulpcore/client/pulp_python/models/patchedpython_python_distribution.py +8 -0
  25. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulpcore/client/pulp_python/models/patchedpython_python_remote.py +9 -1
  26. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulpcore/client/pulp_python/models/patchedpython_python_repository.py +10 -2
  27. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulpcore/client/pulp_python/models/python_python_distribution.py +8 -0
  28. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulpcore/client/pulp_python/models/python_python_distribution_response.py +8 -0
  29. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulpcore/client/pulp_python/models/python_python_package_content_response.py +23 -11
  30. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulpcore/client/pulp_python/models/python_python_publication.py +8 -0
  31. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulpcore/client/pulp_python/models/python_python_publication_response.py +8 -2
  32. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulpcore/client/pulp_python/models/python_python_remote.py +9 -1
  33. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulpcore/client/pulp_python/models/python_python_remote_response.py +9 -3
  34. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulpcore/client/pulp_python/models/python_python_remote_response_hidden_fields_inner.py +8 -0
  35. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulpcore/client/pulp_python/models/python_python_repository.py +10 -2
  36. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulpcore/client/pulp_python/models/python_python_repository_response.py +10 -3
  37. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulpcore/client/pulp_python/models/repair.py +8 -0
  38. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulpcore/client/pulp_python/models/repository_add_remove_content.py +8 -0
  39. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulpcore/client/pulp_python/models/repository_sync_url.py +8 -0
  40. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulpcore/client/pulp_python/models/repository_version_response.py +14 -2
  41. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulpcore/client/pulp_python/models/set_label.py +8 -0
  42. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulpcore/client/pulp_python/models/set_label_response.py +8 -0
  43. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulpcore/client/pulp_python/models/summary_response.py +8 -0
  44. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulpcore/client/pulp_python/models/unset_label.py +8 -0
  45. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulpcore/client/pulp_python/models/unset_label_response.py +8 -0
  46. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulpcore/client/pulp_python/rest.py +1 -0
  47. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pyproject.toml +21 -14
  48. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/setup.py +6 -6
  49. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/test/test_content_packages_api.py +7 -0
  50. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/test/test_paginated_repository_version_response_list.py +4 -2
  51. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/test/test_paginatedpython_python_package_content_response_list.py +2 -0
  52. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/test/test_paginatedpython_python_remote_response_list.py +2 -2
  53. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/test/test_paginatedpython_python_repository_response_list.py +2 -2
  54. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/test/test_patchedpython_python_remote.py +1 -1
  55. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/test/test_patchedpython_python_repository.py +1 -1
  56. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/test/test_python_python_package_content_response.py +1 -0
  57. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/test/test_python_python_remote.py +1 -1
  58. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/test/test_python_python_remote_response.py +1 -1
  59. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/test/test_python_python_repository.py +1 -1
  60. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/test/test_python_python_repository_response.py +1 -1
  61. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/test/test_repository_version_response.py +2 -1
  62. pulp_python-client-3.17.1/PKG-INFO +0 -13
  63. pulp_python-client-3.17.1/pulp_python_client.egg-info/PKG-INFO +0 -13
  64. pulp_python-client-3.17.1/pulp_python_client.egg-info/requires.txt +0 -4
  65. pulp_python-client-3.17.1/pulpcore/client/pulp_python/__init__.py +0 -82
  66. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulp_python_client.egg-info/SOURCES.txt +0 -0
  67. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulp_python_client.egg-info/dependency_links.txt +0 -0
  68. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulp_python_client.egg-info/top_level.txt +0 -0
  69. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulpcore/__init__.py +0 -0
  70. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulpcore/client/__init__.py +0 -0
  71. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulpcore/client/pulp_python/api/__init__.py +0 -0
  72. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulpcore/client/pulp_python/api/distributions_pypi_api.py +0 -0
  73. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulpcore/client/pulp_python/api/publications_pypi_api.py +0 -0
  74. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulpcore/client/pulp_python/api/pypi_api.py +0 -0
  75. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulpcore/client/pulp_python/api/pypi_legacy_api.py +0 -0
  76. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulpcore/client/pulp_python/api/pypi_metadata_api.py +0 -0
  77. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulpcore/client/pulp_python/api/pypi_simple_api.py +0 -0
  78. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulpcore/client/pulp_python/api/remotes_python_api.py +0 -0
  79. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulpcore/client/pulp_python/api/repositories_python_api.py +0 -0
  80. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulpcore/client/pulp_python/api/repositories_python_versions_api.py +0 -0
  81. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulpcore/client/pulp_python/api_response.py +0 -0
  82. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulpcore/client/pulp_python/models/__init__.py +0 -0
  83. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulpcore/client/pulp_python/models/exclude_platforms_enum.py +0 -0
  84. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulpcore/client/pulp_python/models/package_types_enum.py +0 -0
  85. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulpcore/client/pulp_python/models/policy_enum.py +0 -0
  86. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/pulpcore/client/pulp_python/py.typed +0 -0
  87. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/setup.cfg +0 -0
  88. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/test/test_async_operation_response.py +0 -0
  89. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/test/test_content_summary_response.py +0 -0
  90. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/test/test_distributions_pypi_api.py +0 -0
  91. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/test/test_exclude_platforms_enum.py +0 -0
  92. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/test/test_my_permissions_response.py +0 -0
  93. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/test/test_nested_role.py +0 -0
  94. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/test/test_nested_role_response.py +0 -0
  95. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/test/test_object_roles_response.py +0 -0
  96. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/test/test_package_metadata_response.py +0 -0
  97. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/test/test_package_types_enum.py +0 -0
  98. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/test/test_package_upload_task_response.py +0 -0
  99. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/test/test_paginatedpython_python_distribution_response_list.py +0 -0
  100. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/test/test_paginatedpython_python_publication_response_list.py +0 -0
  101. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/test/test_patchedpython_python_distribution.py +0 -0
  102. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/test/test_policy_enum.py +0 -0
  103. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/test/test_publications_pypi_api.py +0 -0
  104. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/test/test_pypi_api.py +0 -0
  105. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/test/test_pypi_legacy_api.py +0 -0
  106. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/test/test_pypi_metadata_api.py +0 -0
  107. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/test/test_pypi_simple_api.py +0 -0
  108. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/test/test_python_python_distribution.py +0 -0
  109. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/test/test_python_python_distribution_response.py +0 -0
  110. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/test/test_python_python_publication.py +0 -0
  111. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/test/test_python_python_publication_response.py +0 -0
  112. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/test/test_python_python_remote_response_hidden_fields_inner.py +0 -0
  113. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/test/test_remotes_python_api.py +0 -0
  114. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/test/test_repair.py +0 -0
  115. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/test/test_repositories_python_api.py +0 -0
  116. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/test/test_repositories_python_versions_api.py +0 -0
  117. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/test/test_repository_add_remove_content.py +0 -0
  118. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/test/test_repository_sync_url.py +0 -0
  119. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/test/test_set_label.py +0 -0
  120. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/test/test_set_label_response.py +0 -0
  121. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/test/test_summary_response.py +0 -0
  122. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/test/test_unset_label.py +0 -0
  123. {pulp_python-client-3.17.1 → pulp_python-client-3.19.0}/test/test_unset_label_response.py +0 -0
@@ -0,0 +1,282 @@
1
+ Metadata-Version: 2.1
2
+ Name: pulp_python-client
3
+ Version: 3.19.0
4
+ Summary: Pulp 3 API
5
+ Home-page:
6
+ Author: Pulp Team
7
+ Author-email: Pulp Team <pulp-list@redhat.com>
8
+ License: GPL-2.0-or-later
9
+ Project-URL: Repository, https://github.com/GIT_USER_ID/GIT_REPO_ID
10
+ Keywords: OpenAPI,OpenAPI-Generator,Pulp 3 API
11
+ Requires-Python: >= 3.9
12
+ Description-Content-Type: text/markdown
13
+
14
+ # pulp_python-client
15
+ Fetch, Upload, Organize, and Distribute Software Packages
16
+
17
+ This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
18
+
19
+ - API version: v3
20
+ - Package version: 3.19.0
21
+ - Generator version: 7.14.0
22
+ - Build package: org.openapitools.codegen.languages.PythonClientCodegen
23
+ For more information, please visit [https://pulpproject.org](https://pulpproject.org)
24
+
25
+ ## Requirements.
26
+
27
+ Python 3.9+
28
+
29
+ ## Installation & Usage
30
+ ### pip install
31
+
32
+ If the python package is hosted on a repository, you can install directly using:
33
+
34
+ ```sh
35
+ pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
36
+ ```
37
+ (you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`)
38
+
39
+ Then import the package:
40
+ ```python
41
+ import pulpcore.client.pulp_python
42
+ ```
43
+
44
+ ### Setuptools
45
+
46
+ Install via [Setuptools](http://pypi.python.org/pypi/setuptools).
47
+
48
+ ```sh
49
+ python setup.py install --user
50
+ ```
51
+ (or `sudo python setup.py install` to install the package for all users)
52
+
53
+ Then import the package:
54
+ ```python
55
+ import pulpcore.client.pulp_python
56
+ ```
57
+
58
+ ### Tests
59
+
60
+ Execute `pytest` to run the tests.
61
+
62
+ ## Getting Started
63
+
64
+ Please follow the [installation procedure](#installation--usage) and then run the following:
65
+
66
+ ```python
67
+
68
+ import pulpcore.client.pulp_python
69
+ from pulpcore.client.pulp_python.rest import ApiException
70
+ from pprint import pprint
71
+
72
+ # Defining the host is optional and defaults to http://localhost:24817
73
+ # See configuration.py for a list of all supported configuration parameters.
74
+ configuration = pulpcore.client.pulp_python.Configuration(
75
+ host = "http://localhost:24817"
76
+ )
77
+
78
+ # The client must configure the authentication and authorization parameters
79
+ # in accordance with the API server security policy.
80
+ # Examples for each auth method are provided below, use the example that
81
+ # satisfies your auth use case.
82
+
83
+ # Configure HTTP basic authorization: basicAuth
84
+ configuration = pulpcore.client.pulp_python.Configuration(
85
+ username = os.environ["USERNAME"],
86
+ password = os.environ["PASSWORD"]
87
+ )
88
+
89
+ # Configure API key authorization: cookieAuth
90
+ configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
91
+
92
+ # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
93
+ # configuration.api_key_prefix['cookieAuth'] = 'Bearer'
94
+
95
+
96
+ # Enter a context with an instance of the API client
97
+ with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
98
+ # Create an instance of the API class
99
+ api_instance = pulpcore.client.pulp_python.ContentPackagesApi(api_client)
100
+ relative_path = 'relative_path_example' # str | Path where the artifact is located relative to distributions base_path
101
+ x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
102
+ repository = 'repository_example' # str | A URI of a repository the new content unit should be associated with. (optional)
103
+ pulp_labels = None # Dict[str, Optional[str]] | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. (optional)
104
+ artifact = 'artifact_example' # str | Artifact file representing the physical content (optional)
105
+ file = None # bytearray | An uploaded file that may be turned into the content unit. (optional)
106
+ upload = 'upload_example' # str | An uncommitted upload that may be turned into the content unit. (optional)
107
+ file_url = 'file_url_example' # str | A url that Pulp can download and turn into the content unit. (optional)
108
+ author = 'author_example' # str | Text containing the author's name. Contact information can also be added, separated with newlines. (optional)
109
+ author_email = 'author_email_example' # str | The author's e-mail address. (optional)
110
+ description = 'description_example' # str | A longer description of the package that can run to several paragraphs. (optional)
111
+ home_page = 'home_page_example' # str | The URL for the package's home page. (optional)
112
+ keywords = 'keywords_example' # str | Additional keywords to be used to assist searching for the package in a larger catalog. (optional)
113
+ license = 'license_example' # str | Text indicating the license covering the distribution (optional)
114
+ platform = 'platform_example' # str | A comma-separated list of platform specifications, summarizing the operating systems supported by the package. (optional)
115
+ summary = 'summary_example' # str | A one-line summary of what the package does. (optional)
116
+ classifiers = None # object | (optional)
117
+ download_url = 'download_url_example' # str | Legacy field denoting the URL from which this package can be downloaded. (optional)
118
+ supported_platform = 'supported_platform_example' # str | Field to specify the OS and CPU for which the binary package was compiled. (optional)
119
+ maintainer = 'maintainer_example' # str | The maintainer's name at a minimum; additional contact information may be provided. (optional)
120
+ maintainer_email = 'maintainer_email_example' # str | The maintainer's e-mail address. (optional)
121
+ obsoletes_dist = None # object | (optional)
122
+ project_url = 'project_url_example' # str | A browsable URL for the project and a label for it, separated by a comma. (optional)
123
+ project_urls = None # object | (optional)
124
+ provides_dist = None # object | (optional)
125
+ requires_external = None # object | (optional)
126
+ requires_dist = None # object | (optional)
127
+ requires_python = 'requires_python_example' # str | The Python version(s) that the distribution is guaranteed to be compatible with. (optional)
128
+ 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)
129
+ provides_extras = None # object | (optional)
130
+ dynamic = None # object | (optional)
131
+ license_expression = 'license_expression_example' # str | Text string that is a valid SPDX license expression. (optional)
132
+ license_file = None # object | (optional)
133
+ sha256 = '' # str | The SHA256 digest of this package. (optional) (default to '')
134
+
135
+ try:
136
+ # Create a python package content
137
+ 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)
138
+ print("The response of ContentPackagesApi->create:\n")
139
+ pprint(api_response)
140
+ except ApiException as e:
141
+ print("Exception when calling ContentPackagesApi->create: %s\n" % e)
142
+
143
+ ```
144
+
145
+ ## Documentation for API Endpoints
146
+
147
+ All URIs are relative to *http://localhost:24817*
148
+
149
+ Class | Method | HTTP request | Description
150
+ ------------ | ------------- | ------------- | -------------
151
+ *ContentPackagesApi* | [**create**](docs/ContentPackagesApi.md#create) | **POST** /pulp/api/v3/content/python/packages/ | Create a python package content
152
+ *ContentPackagesApi* | [**list**](docs/ContentPackagesApi.md#list) | **GET** /pulp/api/v3/content/python/packages/ | List python package contents
153
+ *ContentPackagesApi* | [**read**](docs/ContentPackagesApi.md#read) | **GET** {python_python_package_content_href} | Inspect a python package content
154
+ *ContentPackagesApi* | [**set_label**](docs/ContentPackagesApi.md#set_label) | **POST** {python_python_package_content_href}set_label/ | Set a label
155
+ *ContentPackagesApi* | [**unset_label**](docs/ContentPackagesApi.md#unset_label) | **POST** {python_python_package_content_href}unset_label/ | Unset a label
156
+ *ContentPackagesApi* | [**upload**](docs/ContentPackagesApi.md#upload) | **POST** /pulp/api/v3/content/python/packages/upload/ | Synchronous Python package upload
157
+ *DistributionsPypiApi* | [**add_role**](docs/DistributionsPypiApi.md#add_role) | **POST** {python_python_distribution_href}add_role/ | Add a role
158
+ *DistributionsPypiApi* | [**create**](docs/DistributionsPypiApi.md#create) | **POST** /pulp/api/v3/distributions/python/pypi/ | Create a python distribution
159
+ *DistributionsPypiApi* | [**delete**](docs/DistributionsPypiApi.md#delete) | **DELETE** {python_python_distribution_href} | Delete a python distribution
160
+ *DistributionsPypiApi* | [**list**](docs/DistributionsPypiApi.md#list) | **GET** /pulp/api/v3/distributions/python/pypi/ | List python distributions
161
+ *DistributionsPypiApi* | [**list_roles**](docs/DistributionsPypiApi.md#list_roles) | **GET** {python_python_distribution_href}list_roles/ | List roles
162
+ *DistributionsPypiApi* | [**my_permissions**](docs/DistributionsPypiApi.md#my_permissions) | **GET** {python_python_distribution_href}my_permissions/ | List user permissions
163
+ *DistributionsPypiApi* | [**partial_update**](docs/DistributionsPypiApi.md#partial_update) | **PATCH** {python_python_distribution_href} | Update a python distribution
164
+ *DistributionsPypiApi* | [**read**](docs/DistributionsPypiApi.md#read) | **GET** {python_python_distribution_href} | Inspect a python distribution
165
+ *DistributionsPypiApi* | [**remove_role**](docs/DistributionsPypiApi.md#remove_role) | **POST** {python_python_distribution_href}remove_role/ | Remove a role
166
+ *DistributionsPypiApi* | [**set_label**](docs/DistributionsPypiApi.md#set_label) | **POST** {python_python_distribution_href}set_label/ | Set a label
167
+ *DistributionsPypiApi* | [**unset_label**](docs/DistributionsPypiApi.md#unset_label) | **POST** {python_python_distribution_href}unset_label/ | Unset a label
168
+ *DistributionsPypiApi* | [**update**](docs/DistributionsPypiApi.md#update) | **PUT** {python_python_distribution_href} | Update a python distribution
169
+ *PublicationsPypiApi* | [**add_role**](docs/PublicationsPypiApi.md#add_role) | **POST** {python_python_publication_href}add_role/ | Add a role
170
+ *PublicationsPypiApi* | [**create**](docs/PublicationsPypiApi.md#create) | **POST** /pulp/api/v3/publications/python/pypi/ | Create a python publication
171
+ *PublicationsPypiApi* | [**delete**](docs/PublicationsPypiApi.md#delete) | **DELETE** {python_python_publication_href} | Delete a python publication
172
+ *PublicationsPypiApi* | [**list**](docs/PublicationsPypiApi.md#list) | **GET** /pulp/api/v3/publications/python/pypi/ | List python publications
173
+ *PublicationsPypiApi* | [**list_roles**](docs/PublicationsPypiApi.md#list_roles) | **GET** {python_python_publication_href}list_roles/ | List roles
174
+ *PublicationsPypiApi* | [**my_permissions**](docs/PublicationsPypiApi.md#my_permissions) | **GET** {python_python_publication_href}my_permissions/ | List user permissions
175
+ *PublicationsPypiApi* | [**read**](docs/PublicationsPypiApi.md#read) | **GET** {python_python_publication_href} | Inspect a python publication
176
+ *PublicationsPypiApi* | [**remove_role**](docs/PublicationsPypiApi.md#remove_role) | **POST** {python_python_publication_href}remove_role/ | Remove a role
177
+ *PypiApi* | [**read**](docs/PypiApi.md#read) | **GET** /pypi/{path}/ | Get index summary
178
+ *PypiLegacyApi* | [**create**](docs/PypiLegacyApi.md#create) | **POST** /pypi/{path}/legacy/ | Upload a package
179
+ *PypiMetadataApi* | [**read**](docs/PypiMetadataApi.md#read) | **GET** /pypi/{path}/pypi/{meta}/ | Get package metadata
180
+ *PypiSimpleApi* | [**create**](docs/PypiSimpleApi.md#create) | **POST** /pypi/{path}/simple/ | Upload a package
181
+ *PypiSimpleApi* | [**pypi_simple_package_read**](docs/PypiSimpleApi.md#pypi_simple_package_read) | **GET** /pypi/{path}/simple/{package}/ | Get package simple page
182
+ *PypiSimpleApi* | [**read**](docs/PypiSimpleApi.md#read) | **GET** /pypi/{path}/simple/ | Get index simple page
183
+ *RemotesPythonApi* | [**add_role**](docs/RemotesPythonApi.md#add_role) | **POST** {python_python_remote_href}add_role/ | Add a role
184
+ *RemotesPythonApi* | [**create**](docs/RemotesPythonApi.md#create) | **POST** /pulp/api/v3/remotes/python/python/ | Create a python remote
185
+ *RemotesPythonApi* | [**delete**](docs/RemotesPythonApi.md#delete) | **DELETE** {python_python_remote_href} | Delete a python remote
186
+ *RemotesPythonApi* | [**from_bandersnatch**](docs/RemotesPythonApi.md#from_bandersnatch) | **POST** /pulp/api/v3/remotes/python/python/from_bandersnatch/ | Create from Bandersnatch
187
+ *RemotesPythonApi* | [**list**](docs/RemotesPythonApi.md#list) | **GET** /pulp/api/v3/remotes/python/python/ | List python remotes
188
+ *RemotesPythonApi* | [**list_roles**](docs/RemotesPythonApi.md#list_roles) | **GET** {python_python_remote_href}list_roles/ | List roles
189
+ *RemotesPythonApi* | [**my_permissions**](docs/RemotesPythonApi.md#my_permissions) | **GET** {python_python_remote_href}my_permissions/ | List user permissions
190
+ *RemotesPythonApi* | [**partial_update**](docs/RemotesPythonApi.md#partial_update) | **PATCH** {python_python_remote_href} | Update a python remote
191
+ *RemotesPythonApi* | [**read**](docs/RemotesPythonApi.md#read) | **GET** {python_python_remote_href} | Inspect a python remote
192
+ *RemotesPythonApi* | [**remove_role**](docs/RemotesPythonApi.md#remove_role) | **POST** {python_python_remote_href}remove_role/ | Remove a role
193
+ *RemotesPythonApi* | [**set_label**](docs/RemotesPythonApi.md#set_label) | **POST** {python_python_remote_href}set_label/ | Set a label
194
+ *RemotesPythonApi* | [**unset_label**](docs/RemotesPythonApi.md#unset_label) | **POST** {python_python_remote_href}unset_label/ | Unset a label
195
+ *RemotesPythonApi* | [**update**](docs/RemotesPythonApi.md#update) | **PUT** {python_python_remote_href} | Update a python remote
196
+ *RepositoriesPythonApi* | [**add_role**](docs/RepositoriesPythonApi.md#add_role) | **POST** {python_python_repository_href}add_role/ | Add a role
197
+ *RepositoriesPythonApi* | [**create**](docs/RepositoriesPythonApi.md#create) | **POST** /pulp/api/v3/repositories/python/python/ | Create a python repository
198
+ *RepositoriesPythonApi* | [**delete**](docs/RepositoriesPythonApi.md#delete) | **DELETE** {python_python_repository_href} | Delete a python repository
199
+ *RepositoriesPythonApi* | [**list**](docs/RepositoriesPythonApi.md#list) | **GET** /pulp/api/v3/repositories/python/python/ | List python repositorys
200
+ *RepositoriesPythonApi* | [**list_roles**](docs/RepositoriesPythonApi.md#list_roles) | **GET** {python_python_repository_href}list_roles/ | List roles
201
+ *RepositoriesPythonApi* | [**modify**](docs/RepositoriesPythonApi.md#modify) | **POST** {python_python_repository_href}modify/ | Modify Repository Content
202
+ *RepositoriesPythonApi* | [**my_permissions**](docs/RepositoriesPythonApi.md#my_permissions) | **GET** {python_python_repository_href}my_permissions/ | List user permissions
203
+ *RepositoriesPythonApi* | [**partial_update**](docs/RepositoriesPythonApi.md#partial_update) | **PATCH** {python_python_repository_href} | Update a python repository
204
+ *RepositoriesPythonApi* | [**read**](docs/RepositoriesPythonApi.md#read) | **GET** {python_python_repository_href} | Inspect a python repository
205
+ *RepositoriesPythonApi* | [**remove_role**](docs/RepositoriesPythonApi.md#remove_role) | **POST** {python_python_repository_href}remove_role/ | Remove a role
206
+ *RepositoriesPythonApi* | [**repair_metadata**](docs/RepositoriesPythonApi.md#repair_metadata) | **POST** {python_python_repository_href}repair_metadata/ | Repair metadata
207
+ *RepositoriesPythonApi* | [**set_label**](docs/RepositoriesPythonApi.md#set_label) | **POST** {python_python_repository_href}set_label/ | Set a label
208
+ *RepositoriesPythonApi* | [**sync**](docs/RepositoriesPythonApi.md#sync) | **POST** {python_python_repository_href}sync/ | Sync from remote
209
+ *RepositoriesPythonApi* | [**unset_label**](docs/RepositoriesPythonApi.md#unset_label) | **POST** {python_python_repository_href}unset_label/ | Unset a label
210
+ *RepositoriesPythonApi* | [**update**](docs/RepositoriesPythonApi.md#update) | **PUT** {python_python_repository_href} | Update a python repository
211
+ *RepositoriesPythonVersionsApi* | [**delete**](docs/RepositoriesPythonVersionsApi.md#delete) | **DELETE** {python_python_repository_version_href} | Delete a repository version
212
+ *RepositoriesPythonVersionsApi* | [**list**](docs/RepositoriesPythonVersionsApi.md#list) | **GET** {python_python_repository_href}versions/ | List repository versions
213
+ *RepositoriesPythonVersionsApi* | [**read**](docs/RepositoriesPythonVersionsApi.md#read) | **GET** {python_python_repository_version_href} | Inspect a repository version
214
+ *RepositoriesPythonVersionsApi* | [**repair**](docs/RepositoriesPythonVersionsApi.md#repair) | **POST** {python_python_repository_version_href}repair/ |
215
+
216
+
217
+ ## Documentation For Models
218
+
219
+ - [AsyncOperationResponse](docs/AsyncOperationResponse.md)
220
+ - [ContentSummaryResponse](docs/ContentSummaryResponse.md)
221
+ - [ExcludePlatformsEnum](docs/ExcludePlatformsEnum.md)
222
+ - [MyPermissionsResponse](docs/MyPermissionsResponse.md)
223
+ - [NestedRole](docs/NestedRole.md)
224
+ - [NestedRoleResponse](docs/NestedRoleResponse.md)
225
+ - [ObjectRolesResponse](docs/ObjectRolesResponse.md)
226
+ - [PackageMetadataResponse](docs/PackageMetadataResponse.md)
227
+ - [PackageTypesEnum](docs/PackageTypesEnum.md)
228
+ - [PackageUploadTaskResponse](docs/PackageUploadTaskResponse.md)
229
+ - [PaginatedRepositoryVersionResponseList](docs/PaginatedRepositoryVersionResponseList.md)
230
+ - [PaginatedpythonPythonDistributionResponseList](docs/PaginatedpythonPythonDistributionResponseList.md)
231
+ - [PaginatedpythonPythonPackageContentResponseList](docs/PaginatedpythonPythonPackageContentResponseList.md)
232
+ - [PaginatedpythonPythonPublicationResponseList](docs/PaginatedpythonPythonPublicationResponseList.md)
233
+ - [PaginatedpythonPythonRemoteResponseList](docs/PaginatedpythonPythonRemoteResponseList.md)
234
+ - [PaginatedpythonPythonRepositoryResponseList](docs/PaginatedpythonPythonRepositoryResponseList.md)
235
+ - [PatchedpythonPythonDistribution](docs/PatchedpythonPythonDistribution.md)
236
+ - [PatchedpythonPythonRemote](docs/PatchedpythonPythonRemote.md)
237
+ - [PatchedpythonPythonRepository](docs/PatchedpythonPythonRepository.md)
238
+ - [PolicyEnum](docs/PolicyEnum.md)
239
+ - [PythonPythonDistribution](docs/PythonPythonDistribution.md)
240
+ - [PythonPythonDistributionResponse](docs/PythonPythonDistributionResponse.md)
241
+ - [PythonPythonPackageContentResponse](docs/PythonPythonPackageContentResponse.md)
242
+ - [PythonPythonPublication](docs/PythonPythonPublication.md)
243
+ - [PythonPythonPublicationResponse](docs/PythonPythonPublicationResponse.md)
244
+ - [PythonPythonRemote](docs/PythonPythonRemote.md)
245
+ - [PythonPythonRemoteResponse](docs/PythonPythonRemoteResponse.md)
246
+ - [PythonPythonRemoteResponseHiddenFieldsInner](docs/PythonPythonRemoteResponseHiddenFieldsInner.md)
247
+ - [PythonPythonRepository](docs/PythonPythonRepository.md)
248
+ - [PythonPythonRepositoryResponse](docs/PythonPythonRepositoryResponse.md)
249
+ - [Repair](docs/Repair.md)
250
+ - [RepositoryAddRemoveContent](docs/RepositoryAddRemoveContent.md)
251
+ - [RepositorySyncURL](docs/RepositorySyncURL.md)
252
+ - [RepositoryVersionResponse](docs/RepositoryVersionResponse.md)
253
+ - [SetLabel](docs/SetLabel.md)
254
+ - [SetLabelResponse](docs/SetLabelResponse.md)
255
+ - [SummaryResponse](docs/SummaryResponse.md)
256
+ - [UnsetLabel](docs/UnsetLabel.md)
257
+ - [UnsetLabelResponse](docs/UnsetLabelResponse.md)
258
+
259
+
260
+ <a id="documentation-for-authorization"></a>
261
+ ## Documentation For Authorization
262
+
263
+
264
+ Authentication schemes defined for the API:
265
+ <a id="basicAuth"></a>
266
+ ### basicAuth
267
+
268
+ - **Type**: HTTP basic authentication
269
+
270
+ <a id="cookieAuth"></a>
271
+ ### cookieAuth
272
+
273
+ - **Type**: API key
274
+ - **API key parameter name**: sessionid
275
+ - **Location**:
276
+
277
+
278
+ ## Author
279
+
280
+ pulp-list@redhat.com
281
+
282
+
@@ -4,14 +4,14 @@ 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.17.1
8
- - Generator version: 7.10.0
7
+ - Package version: 3.19.0
8
+ - Generator version: 7.14.0
9
9
  - Build package: org.openapitools.codegen.languages.PythonClientCodegen
10
10
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
11
11
 
12
12
  ## Requirements.
13
13
 
14
- Python 3.8+
14
+ Python 3.9+
15
15
 
16
16
  ## Installation & Usage
17
17
  ### pip install
@@ -100,23 +100,23 @@ with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
100
100
  license = 'license_example' # str | Text indicating the license covering the distribution (optional)
101
101
  platform = 'platform_example' # str | A comma-separated list of platform specifications, summarizing the operating systems supported by the package. (optional)
102
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)
103
+ classifiers = None # object | (optional)
104
104
  download_url = 'download_url_example' # str | Legacy field denoting the URL from which this package can be downloaded. (optional)
105
105
  supported_platform = 'supported_platform_example' # str | Field to specify the OS and CPU for which the binary package was compiled. (optional)
106
106
  maintainer = 'maintainer_example' # str | The maintainer's name at a minimum; additional contact information may be provided. (optional)
107
107
  maintainer_email = 'maintainer_email_example' # str | The maintainer's e-mail address. (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)
108
+ obsoletes_dist = None # object | (optional)
109
109
  project_url = 'project_url_example' # str | A browsable URL for the project and a label for it, separated by a comma. (optional)
110
- project_urls = None # object | A dictionary of labels and URLs for the project. (optional)
111
- provides_dist = None # object | A JSON list containing names of a Distutils project which is contained within this distribution. (optional)
112
- requires_external = None # object | A JSON list containing some dependency in the system that the distribution is to be used. (optional)
113
- requires_dist = None # object | A JSON list containing names of some other distutils project required by this distribution. (optional)
110
+ project_urls = None # object | (optional)
111
+ provides_dist = None # object | (optional)
112
+ requires_external = None # object | (optional)
113
+ requires_dist = None # object | (optional)
114
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 distributions 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)
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 | (optional)
117
+ dynamic = None # object | (optional)
118
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)
119
+ license_file = None # object | (optional)
120
120
  sha256 = '' # str | The SHA256 digest of this package. (optional) (default to '')
121
121
 
122
122
  try:
@@ -140,6 +140,7 @@ Class | Method | HTTP request | Description
140
140
  *ContentPackagesApi* | [**read**](docs/ContentPackagesApi.md#read) | **GET** {python_python_package_content_href} | Inspect a python package content
141
141
  *ContentPackagesApi* | [**set_label**](docs/ContentPackagesApi.md#set_label) | **POST** {python_python_package_content_href}set_label/ | Set a label
142
142
  *ContentPackagesApi* | [**unset_label**](docs/ContentPackagesApi.md#unset_label) | **POST** {python_python_package_content_href}unset_label/ | Unset a label
143
+ *ContentPackagesApi* | [**upload**](docs/ContentPackagesApi.md#upload) | **POST** /pulp/api/v3/content/python/packages/upload/ | Synchronous Python package upload
143
144
  *DistributionsPypiApi* | [**add_role**](docs/DistributionsPypiApi.md#add_role) | **POST** {python_python_distribution_href}add_role/ | Add a role
144
145
  *DistributionsPypiApi* | [**create**](docs/DistributionsPypiApi.md#create) | **POST** /pulp/api/v3/distributions/python/pypi/ | Create a python distribution
145
146
  *DistributionsPypiApi* | [**delete**](docs/DistributionsPypiApi.md#delete) | **DELETE** {python_python_distribution_href} | Delete a python distribution
@@ -0,0 +1,282 @@
1
+ Metadata-Version: 2.1
2
+ Name: pulp-python-client
3
+ Version: 3.19.0
4
+ Summary: Pulp 3 API
5
+ Home-page:
6
+ Author: Pulp Team
7
+ Author-email: Pulp Team <pulp-list@redhat.com>
8
+ License: GPL-2.0-or-later
9
+ Project-URL: Repository, https://github.com/GIT_USER_ID/GIT_REPO_ID
10
+ Keywords: OpenAPI,OpenAPI-Generator,Pulp 3 API
11
+ Requires-Python: >= 3.9
12
+ Description-Content-Type: text/markdown
13
+
14
+ # pulp_python-client
15
+ Fetch, Upload, Organize, and Distribute Software Packages
16
+
17
+ This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
18
+
19
+ - API version: v3
20
+ - Package version: 3.19.0
21
+ - Generator version: 7.14.0
22
+ - Build package: org.openapitools.codegen.languages.PythonClientCodegen
23
+ For more information, please visit [https://pulpproject.org](https://pulpproject.org)
24
+
25
+ ## Requirements.
26
+
27
+ Python 3.9+
28
+
29
+ ## Installation & Usage
30
+ ### pip install
31
+
32
+ If the python package is hosted on a repository, you can install directly using:
33
+
34
+ ```sh
35
+ pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
36
+ ```
37
+ (you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`)
38
+
39
+ Then import the package:
40
+ ```python
41
+ import pulpcore.client.pulp_python
42
+ ```
43
+
44
+ ### Setuptools
45
+
46
+ Install via [Setuptools](http://pypi.python.org/pypi/setuptools).
47
+
48
+ ```sh
49
+ python setup.py install --user
50
+ ```
51
+ (or `sudo python setup.py install` to install the package for all users)
52
+
53
+ Then import the package:
54
+ ```python
55
+ import pulpcore.client.pulp_python
56
+ ```
57
+
58
+ ### Tests
59
+
60
+ Execute `pytest` to run the tests.
61
+
62
+ ## Getting Started
63
+
64
+ Please follow the [installation procedure](#installation--usage) and then run the following:
65
+
66
+ ```python
67
+
68
+ import pulpcore.client.pulp_python
69
+ from pulpcore.client.pulp_python.rest import ApiException
70
+ from pprint import pprint
71
+
72
+ # Defining the host is optional and defaults to http://localhost:24817
73
+ # See configuration.py for a list of all supported configuration parameters.
74
+ configuration = pulpcore.client.pulp_python.Configuration(
75
+ host = "http://localhost:24817"
76
+ )
77
+
78
+ # The client must configure the authentication and authorization parameters
79
+ # in accordance with the API server security policy.
80
+ # Examples for each auth method are provided below, use the example that
81
+ # satisfies your auth use case.
82
+
83
+ # Configure HTTP basic authorization: basicAuth
84
+ configuration = pulpcore.client.pulp_python.Configuration(
85
+ username = os.environ["USERNAME"],
86
+ password = os.environ["PASSWORD"]
87
+ )
88
+
89
+ # Configure API key authorization: cookieAuth
90
+ configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
91
+
92
+ # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
93
+ # configuration.api_key_prefix['cookieAuth'] = 'Bearer'
94
+
95
+
96
+ # Enter a context with an instance of the API client
97
+ with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
98
+ # Create an instance of the API class
99
+ api_instance = pulpcore.client.pulp_python.ContentPackagesApi(api_client)
100
+ relative_path = 'relative_path_example' # str | Path where the artifact is located relative to distributions base_path
101
+ x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
102
+ repository = 'repository_example' # str | A URI of a repository the new content unit should be associated with. (optional)
103
+ pulp_labels = None # Dict[str, Optional[str]] | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. (optional)
104
+ artifact = 'artifact_example' # str | Artifact file representing the physical content (optional)
105
+ file = None # bytearray | An uploaded file that may be turned into the content unit. (optional)
106
+ upload = 'upload_example' # str | An uncommitted upload that may be turned into the content unit. (optional)
107
+ file_url = 'file_url_example' # str | A url that Pulp can download and turn into the content unit. (optional)
108
+ author = 'author_example' # str | Text containing the author's name. Contact information can also be added, separated with newlines. (optional)
109
+ author_email = 'author_email_example' # str | The author's e-mail address. (optional)
110
+ description = 'description_example' # str | A longer description of the package that can run to several paragraphs. (optional)
111
+ home_page = 'home_page_example' # str | The URL for the package's home page. (optional)
112
+ keywords = 'keywords_example' # str | Additional keywords to be used to assist searching for the package in a larger catalog. (optional)
113
+ license = 'license_example' # str | Text indicating the license covering the distribution (optional)
114
+ platform = 'platform_example' # str | A comma-separated list of platform specifications, summarizing the operating systems supported by the package. (optional)
115
+ summary = 'summary_example' # str | A one-line summary of what the package does. (optional)
116
+ classifiers = None # object | (optional)
117
+ download_url = 'download_url_example' # str | Legacy field denoting the URL from which this package can be downloaded. (optional)
118
+ supported_platform = 'supported_platform_example' # str | Field to specify the OS and CPU for which the binary package was compiled. (optional)
119
+ maintainer = 'maintainer_example' # str | The maintainer's name at a minimum; additional contact information may be provided. (optional)
120
+ maintainer_email = 'maintainer_email_example' # str | The maintainer's e-mail address. (optional)
121
+ obsoletes_dist = None # object | (optional)
122
+ project_url = 'project_url_example' # str | A browsable URL for the project and a label for it, separated by a comma. (optional)
123
+ project_urls = None # object | (optional)
124
+ provides_dist = None # object | (optional)
125
+ requires_external = None # object | (optional)
126
+ requires_dist = None # object | (optional)
127
+ requires_python = 'requires_python_example' # str | The Python version(s) that the distribution is guaranteed to be compatible with. (optional)
128
+ 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)
129
+ provides_extras = None # object | (optional)
130
+ dynamic = None # object | (optional)
131
+ license_expression = 'license_expression_example' # str | Text string that is a valid SPDX license expression. (optional)
132
+ license_file = None # object | (optional)
133
+ sha256 = '' # str | The SHA256 digest of this package. (optional) (default to '')
134
+
135
+ try:
136
+ # Create a python package content
137
+ 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)
138
+ print("The response of ContentPackagesApi->create:\n")
139
+ pprint(api_response)
140
+ except ApiException as e:
141
+ print("Exception when calling ContentPackagesApi->create: %s\n" % e)
142
+
143
+ ```
144
+
145
+ ## Documentation for API Endpoints
146
+
147
+ All URIs are relative to *http://localhost:24817*
148
+
149
+ Class | Method | HTTP request | Description
150
+ ------------ | ------------- | ------------- | -------------
151
+ *ContentPackagesApi* | [**create**](docs/ContentPackagesApi.md#create) | **POST** /pulp/api/v3/content/python/packages/ | Create a python package content
152
+ *ContentPackagesApi* | [**list**](docs/ContentPackagesApi.md#list) | **GET** /pulp/api/v3/content/python/packages/ | List python package contents
153
+ *ContentPackagesApi* | [**read**](docs/ContentPackagesApi.md#read) | **GET** {python_python_package_content_href} | Inspect a python package content
154
+ *ContentPackagesApi* | [**set_label**](docs/ContentPackagesApi.md#set_label) | **POST** {python_python_package_content_href}set_label/ | Set a label
155
+ *ContentPackagesApi* | [**unset_label**](docs/ContentPackagesApi.md#unset_label) | **POST** {python_python_package_content_href}unset_label/ | Unset a label
156
+ *ContentPackagesApi* | [**upload**](docs/ContentPackagesApi.md#upload) | **POST** /pulp/api/v3/content/python/packages/upload/ | Synchronous Python package upload
157
+ *DistributionsPypiApi* | [**add_role**](docs/DistributionsPypiApi.md#add_role) | **POST** {python_python_distribution_href}add_role/ | Add a role
158
+ *DistributionsPypiApi* | [**create**](docs/DistributionsPypiApi.md#create) | **POST** /pulp/api/v3/distributions/python/pypi/ | Create a python distribution
159
+ *DistributionsPypiApi* | [**delete**](docs/DistributionsPypiApi.md#delete) | **DELETE** {python_python_distribution_href} | Delete a python distribution
160
+ *DistributionsPypiApi* | [**list**](docs/DistributionsPypiApi.md#list) | **GET** /pulp/api/v3/distributions/python/pypi/ | List python distributions
161
+ *DistributionsPypiApi* | [**list_roles**](docs/DistributionsPypiApi.md#list_roles) | **GET** {python_python_distribution_href}list_roles/ | List roles
162
+ *DistributionsPypiApi* | [**my_permissions**](docs/DistributionsPypiApi.md#my_permissions) | **GET** {python_python_distribution_href}my_permissions/ | List user permissions
163
+ *DistributionsPypiApi* | [**partial_update**](docs/DistributionsPypiApi.md#partial_update) | **PATCH** {python_python_distribution_href} | Update a python distribution
164
+ *DistributionsPypiApi* | [**read**](docs/DistributionsPypiApi.md#read) | **GET** {python_python_distribution_href} | Inspect a python distribution
165
+ *DistributionsPypiApi* | [**remove_role**](docs/DistributionsPypiApi.md#remove_role) | **POST** {python_python_distribution_href}remove_role/ | Remove a role
166
+ *DistributionsPypiApi* | [**set_label**](docs/DistributionsPypiApi.md#set_label) | **POST** {python_python_distribution_href}set_label/ | Set a label
167
+ *DistributionsPypiApi* | [**unset_label**](docs/DistributionsPypiApi.md#unset_label) | **POST** {python_python_distribution_href}unset_label/ | Unset a label
168
+ *DistributionsPypiApi* | [**update**](docs/DistributionsPypiApi.md#update) | **PUT** {python_python_distribution_href} | Update a python distribution
169
+ *PublicationsPypiApi* | [**add_role**](docs/PublicationsPypiApi.md#add_role) | **POST** {python_python_publication_href}add_role/ | Add a role
170
+ *PublicationsPypiApi* | [**create**](docs/PublicationsPypiApi.md#create) | **POST** /pulp/api/v3/publications/python/pypi/ | Create a python publication
171
+ *PublicationsPypiApi* | [**delete**](docs/PublicationsPypiApi.md#delete) | **DELETE** {python_python_publication_href} | Delete a python publication
172
+ *PublicationsPypiApi* | [**list**](docs/PublicationsPypiApi.md#list) | **GET** /pulp/api/v3/publications/python/pypi/ | List python publications
173
+ *PublicationsPypiApi* | [**list_roles**](docs/PublicationsPypiApi.md#list_roles) | **GET** {python_python_publication_href}list_roles/ | List roles
174
+ *PublicationsPypiApi* | [**my_permissions**](docs/PublicationsPypiApi.md#my_permissions) | **GET** {python_python_publication_href}my_permissions/ | List user permissions
175
+ *PublicationsPypiApi* | [**read**](docs/PublicationsPypiApi.md#read) | **GET** {python_python_publication_href} | Inspect a python publication
176
+ *PublicationsPypiApi* | [**remove_role**](docs/PublicationsPypiApi.md#remove_role) | **POST** {python_python_publication_href}remove_role/ | Remove a role
177
+ *PypiApi* | [**read**](docs/PypiApi.md#read) | **GET** /pypi/{path}/ | Get index summary
178
+ *PypiLegacyApi* | [**create**](docs/PypiLegacyApi.md#create) | **POST** /pypi/{path}/legacy/ | Upload a package
179
+ *PypiMetadataApi* | [**read**](docs/PypiMetadataApi.md#read) | **GET** /pypi/{path}/pypi/{meta}/ | Get package metadata
180
+ *PypiSimpleApi* | [**create**](docs/PypiSimpleApi.md#create) | **POST** /pypi/{path}/simple/ | Upload a package
181
+ *PypiSimpleApi* | [**pypi_simple_package_read**](docs/PypiSimpleApi.md#pypi_simple_package_read) | **GET** /pypi/{path}/simple/{package}/ | Get package simple page
182
+ *PypiSimpleApi* | [**read**](docs/PypiSimpleApi.md#read) | **GET** /pypi/{path}/simple/ | Get index simple page
183
+ *RemotesPythonApi* | [**add_role**](docs/RemotesPythonApi.md#add_role) | **POST** {python_python_remote_href}add_role/ | Add a role
184
+ *RemotesPythonApi* | [**create**](docs/RemotesPythonApi.md#create) | **POST** /pulp/api/v3/remotes/python/python/ | Create a python remote
185
+ *RemotesPythonApi* | [**delete**](docs/RemotesPythonApi.md#delete) | **DELETE** {python_python_remote_href} | Delete a python remote
186
+ *RemotesPythonApi* | [**from_bandersnatch**](docs/RemotesPythonApi.md#from_bandersnatch) | **POST** /pulp/api/v3/remotes/python/python/from_bandersnatch/ | Create from Bandersnatch
187
+ *RemotesPythonApi* | [**list**](docs/RemotesPythonApi.md#list) | **GET** /pulp/api/v3/remotes/python/python/ | List python remotes
188
+ *RemotesPythonApi* | [**list_roles**](docs/RemotesPythonApi.md#list_roles) | **GET** {python_python_remote_href}list_roles/ | List roles
189
+ *RemotesPythonApi* | [**my_permissions**](docs/RemotesPythonApi.md#my_permissions) | **GET** {python_python_remote_href}my_permissions/ | List user permissions
190
+ *RemotesPythonApi* | [**partial_update**](docs/RemotesPythonApi.md#partial_update) | **PATCH** {python_python_remote_href} | Update a python remote
191
+ *RemotesPythonApi* | [**read**](docs/RemotesPythonApi.md#read) | **GET** {python_python_remote_href} | Inspect a python remote
192
+ *RemotesPythonApi* | [**remove_role**](docs/RemotesPythonApi.md#remove_role) | **POST** {python_python_remote_href}remove_role/ | Remove a role
193
+ *RemotesPythonApi* | [**set_label**](docs/RemotesPythonApi.md#set_label) | **POST** {python_python_remote_href}set_label/ | Set a label
194
+ *RemotesPythonApi* | [**unset_label**](docs/RemotesPythonApi.md#unset_label) | **POST** {python_python_remote_href}unset_label/ | Unset a label
195
+ *RemotesPythonApi* | [**update**](docs/RemotesPythonApi.md#update) | **PUT** {python_python_remote_href} | Update a python remote
196
+ *RepositoriesPythonApi* | [**add_role**](docs/RepositoriesPythonApi.md#add_role) | **POST** {python_python_repository_href}add_role/ | Add a role
197
+ *RepositoriesPythonApi* | [**create**](docs/RepositoriesPythonApi.md#create) | **POST** /pulp/api/v3/repositories/python/python/ | Create a python repository
198
+ *RepositoriesPythonApi* | [**delete**](docs/RepositoriesPythonApi.md#delete) | **DELETE** {python_python_repository_href} | Delete a python repository
199
+ *RepositoriesPythonApi* | [**list**](docs/RepositoriesPythonApi.md#list) | **GET** /pulp/api/v3/repositories/python/python/ | List python repositorys
200
+ *RepositoriesPythonApi* | [**list_roles**](docs/RepositoriesPythonApi.md#list_roles) | **GET** {python_python_repository_href}list_roles/ | List roles
201
+ *RepositoriesPythonApi* | [**modify**](docs/RepositoriesPythonApi.md#modify) | **POST** {python_python_repository_href}modify/ | Modify Repository Content
202
+ *RepositoriesPythonApi* | [**my_permissions**](docs/RepositoriesPythonApi.md#my_permissions) | **GET** {python_python_repository_href}my_permissions/ | List user permissions
203
+ *RepositoriesPythonApi* | [**partial_update**](docs/RepositoriesPythonApi.md#partial_update) | **PATCH** {python_python_repository_href} | Update a python repository
204
+ *RepositoriesPythonApi* | [**read**](docs/RepositoriesPythonApi.md#read) | **GET** {python_python_repository_href} | Inspect a python repository
205
+ *RepositoriesPythonApi* | [**remove_role**](docs/RepositoriesPythonApi.md#remove_role) | **POST** {python_python_repository_href}remove_role/ | Remove a role
206
+ *RepositoriesPythonApi* | [**repair_metadata**](docs/RepositoriesPythonApi.md#repair_metadata) | **POST** {python_python_repository_href}repair_metadata/ | Repair metadata
207
+ *RepositoriesPythonApi* | [**set_label**](docs/RepositoriesPythonApi.md#set_label) | **POST** {python_python_repository_href}set_label/ | Set a label
208
+ *RepositoriesPythonApi* | [**sync**](docs/RepositoriesPythonApi.md#sync) | **POST** {python_python_repository_href}sync/ | Sync from remote
209
+ *RepositoriesPythonApi* | [**unset_label**](docs/RepositoriesPythonApi.md#unset_label) | **POST** {python_python_repository_href}unset_label/ | Unset a label
210
+ *RepositoriesPythonApi* | [**update**](docs/RepositoriesPythonApi.md#update) | **PUT** {python_python_repository_href} | Update a python repository
211
+ *RepositoriesPythonVersionsApi* | [**delete**](docs/RepositoriesPythonVersionsApi.md#delete) | **DELETE** {python_python_repository_version_href} | Delete a repository version
212
+ *RepositoriesPythonVersionsApi* | [**list**](docs/RepositoriesPythonVersionsApi.md#list) | **GET** {python_python_repository_href}versions/ | List repository versions
213
+ *RepositoriesPythonVersionsApi* | [**read**](docs/RepositoriesPythonVersionsApi.md#read) | **GET** {python_python_repository_version_href} | Inspect a repository version
214
+ *RepositoriesPythonVersionsApi* | [**repair**](docs/RepositoriesPythonVersionsApi.md#repair) | **POST** {python_python_repository_version_href}repair/ |
215
+
216
+
217
+ ## Documentation For Models
218
+
219
+ - [AsyncOperationResponse](docs/AsyncOperationResponse.md)
220
+ - [ContentSummaryResponse](docs/ContentSummaryResponse.md)
221
+ - [ExcludePlatformsEnum](docs/ExcludePlatformsEnum.md)
222
+ - [MyPermissionsResponse](docs/MyPermissionsResponse.md)
223
+ - [NestedRole](docs/NestedRole.md)
224
+ - [NestedRoleResponse](docs/NestedRoleResponse.md)
225
+ - [ObjectRolesResponse](docs/ObjectRolesResponse.md)
226
+ - [PackageMetadataResponse](docs/PackageMetadataResponse.md)
227
+ - [PackageTypesEnum](docs/PackageTypesEnum.md)
228
+ - [PackageUploadTaskResponse](docs/PackageUploadTaskResponse.md)
229
+ - [PaginatedRepositoryVersionResponseList](docs/PaginatedRepositoryVersionResponseList.md)
230
+ - [PaginatedpythonPythonDistributionResponseList](docs/PaginatedpythonPythonDistributionResponseList.md)
231
+ - [PaginatedpythonPythonPackageContentResponseList](docs/PaginatedpythonPythonPackageContentResponseList.md)
232
+ - [PaginatedpythonPythonPublicationResponseList](docs/PaginatedpythonPythonPublicationResponseList.md)
233
+ - [PaginatedpythonPythonRemoteResponseList](docs/PaginatedpythonPythonRemoteResponseList.md)
234
+ - [PaginatedpythonPythonRepositoryResponseList](docs/PaginatedpythonPythonRepositoryResponseList.md)
235
+ - [PatchedpythonPythonDistribution](docs/PatchedpythonPythonDistribution.md)
236
+ - [PatchedpythonPythonRemote](docs/PatchedpythonPythonRemote.md)
237
+ - [PatchedpythonPythonRepository](docs/PatchedpythonPythonRepository.md)
238
+ - [PolicyEnum](docs/PolicyEnum.md)
239
+ - [PythonPythonDistribution](docs/PythonPythonDistribution.md)
240
+ - [PythonPythonDistributionResponse](docs/PythonPythonDistributionResponse.md)
241
+ - [PythonPythonPackageContentResponse](docs/PythonPythonPackageContentResponse.md)
242
+ - [PythonPythonPublication](docs/PythonPythonPublication.md)
243
+ - [PythonPythonPublicationResponse](docs/PythonPythonPublicationResponse.md)
244
+ - [PythonPythonRemote](docs/PythonPythonRemote.md)
245
+ - [PythonPythonRemoteResponse](docs/PythonPythonRemoteResponse.md)
246
+ - [PythonPythonRemoteResponseHiddenFieldsInner](docs/PythonPythonRemoteResponseHiddenFieldsInner.md)
247
+ - [PythonPythonRepository](docs/PythonPythonRepository.md)
248
+ - [PythonPythonRepositoryResponse](docs/PythonPythonRepositoryResponse.md)
249
+ - [Repair](docs/Repair.md)
250
+ - [RepositoryAddRemoveContent](docs/RepositoryAddRemoveContent.md)
251
+ - [RepositorySyncURL](docs/RepositorySyncURL.md)
252
+ - [RepositoryVersionResponse](docs/RepositoryVersionResponse.md)
253
+ - [SetLabel](docs/SetLabel.md)
254
+ - [SetLabelResponse](docs/SetLabelResponse.md)
255
+ - [SummaryResponse](docs/SummaryResponse.md)
256
+ - [UnsetLabel](docs/UnsetLabel.md)
257
+ - [UnsetLabelResponse](docs/UnsetLabelResponse.md)
258
+
259
+
260
+ <a id="documentation-for-authorization"></a>
261
+ ## Documentation For Authorization
262
+
263
+
264
+ Authentication schemes defined for the API:
265
+ <a id="basicAuth"></a>
266
+ ### basicAuth
267
+
268
+ - **Type**: HTTP basic authentication
269
+
270
+ <a id="cookieAuth"></a>
271
+ ### cookieAuth
272
+
273
+ - **Type**: API key
274
+ - **API key parameter name**: sessionid
275
+ - **Location**:
276
+
277
+
278
+ ## Author
279
+
280
+ pulp-list@redhat.com
281
+
282
+
@@ -0,0 +1,5 @@
1
+ urllib3<3.0.0,>=2.1.0
2
+ python-dateutil>=2.8.2
3
+ pydantic>=2
4
+ typing-extensions>=4.7.1
5
+ lazy-imports<2,>=1