pulp-python-client 3.16.0__py3-none-any.whl → 3.17.0__py3-none-any.whl
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.dist-info → pulp_python_client-3.17.0.dist-info}/METADATA +1 -1
- {pulp_python_client-3.16.0.dist-info → pulp_python_client-3.17.0.dist-info}/RECORD +18 -18
- pulpcore/client/pulp_python/__init__.py +1 -1
- pulpcore/client/pulp_python/api/content_packages_api.py +341 -201
- pulpcore/client/pulp_python/api/distributions_pypi_api.py +192 -0
- pulpcore/client/pulp_python/api/publications_pypi_api.py +128 -0
- pulpcore/client/pulp_python/api/pypi_api.py +16 -0
- pulpcore/client/pulp_python/api/pypi_legacy_api.py +17 -1
- pulpcore/client/pulp_python/api/pypi_metadata_api.py +16 -0
- pulpcore/client/pulp_python/api/pypi_simple_api.py +48 -0
- pulpcore/client/pulp_python/api/remotes_python_api.py +208 -0
- pulpcore/client/pulp_python/api/repositories_python_api.py +240 -0
- pulpcore/client/pulp_python/api/repositories_python_versions_api.py +70 -6
- pulpcore/client/pulp_python/api_client.py +1 -1
- pulpcore/client/pulp_python/configuration.py +1 -1
- pulpcore/client/pulp_python/models/python_python_package_content_response.py +80 -53
- {pulp_python_client-3.16.0.dist-info → pulp_python_client-3.17.0.dist-info}/WHEEL +0 -0
- {pulp_python_client-3.16.0.dist-info → pulp_python_client-3.17.0.dist-info}/top_level.txt +0 -0
|
@@ -34,34 +34,39 @@ class PythonPythonPackageContentResponse(BaseModel):
|
|
|
34
34
|
pulp_last_updated: Optional[datetime] = Field(default=None, description="Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.")
|
|
35
35
|
pulp_labels: Optional[Dict[str, Optional[StrictStr]]] = Field(default=None, description="A dictionary of arbitrary key/value pairs used to describe a specific Content instance.")
|
|
36
36
|
artifact: Optional[StrictStr] = Field(default=None, description="Artifact file representing the physical content")
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
name: Optional[StrictStr] = Field(default=None, description="The name of the python project.")
|
|
40
|
-
version: Optional[StrictStr] = Field(default=None, description="The packages version number.")
|
|
41
|
-
sha256: Optional[StrictStr] = Field(default='', description="The SHA256 digest of this package.")
|
|
42
|
-
metadata_version: Optional[StrictStr] = Field(default=None, description="Version of the file format")
|
|
43
|
-
summary: Optional[StrictStr] = Field(default=None, description="A one-line summary of what the package does.")
|
|
37
|
+
author: Optional[StrictStr] = Field(default=None, description="Text containing the author's name. Contact information can also be added, separated with newlines.")
|
|
38
|
+
author_email: Optional[StrictStr] = Field(default=None, description="The author's e-mail address. ")
|
|
44
39
|
description: Optional[StrictStr] = Field(default=None, description="A longer description of the package that can run to several paragraphs.")
|
|
45
|
-
description_content_type: Optional[StrictStr] = Field(default=None, description="A string stating the markup syntax (if any) used in the distribution’s description, so that tools can intelligently render the description.")
|
|
46
|
-
keywords: Optional[StrictStr] = Field(default=None, description="Additional keywords to be used to assist searching for the package in a larger catalog.")
|
|
47
40
|
home_page: Optional[StrictStr] = Field(default=None, description="The URL for the package's home page.")
|
|
41
|
+
keywords: Optional[StrictStr] = Field(default=None, description="Additional keywords to be used to assist searching for the package in a larger catalog.")
|
|
42
|
+
license: Optional[StrictStr] = Field(default=None, description="Text indicating the license covering the distribution")
|
|
43
|
+
metadata_version: Optional[StrictStr] = Field(default=None, description="Version of the file format")
|
|
44
|
+
name: Optional[StrictStr] = Field(default=None, description="The name of the python project.")
|
|
45
|
+
platform: Optional[StrictStr] = Field(default=None, description="A comma-separated list of platform specifications, summarizing the operating systems supported by the package.")
|
|
46
|
+
summary: Optional[StrictStr] = Field(default=None, description="A one-line summary of what the package does.")
|
|
47
|
+
version: Optional[StrictStr] = Field(default=None, description="The packages version number.")
|
|
48
|
+
classifiers: Optional[Any] = Field(default=None, description="A JSON list containing classification values for a Python package.")
|
|
48
49
|
download_url: Optional[StrictStr] = Field(default=None, description="Legacy field denoting the URL from which this package can be downloaded.")
|
|
49
|
-
|
|
50
|
-
author_email: Optional[StrictStr] = Field(default=None, description="The author's e-mail address. ")
|
|
50
|
+
supported_platform: Optional[StrictStr] = Field(default=None, description="Field to specify the OS and CPU for which the binary package was compiled. ")
|
|
51
51
|
maintainer: Optional[StrictStr] = Field(default=None, description="The maintainer's name at a minimum; additional contact information may be provided.")
|
|
52
52
|
maintainer_email: Optional[StrictStr] = Field(default=None, description="The maintainer's e-mail address.")
|
|
53
|
-
|
|
54
|
-
requires_python: Optional[StrictStr] = Field(default=None, description="The Python version(s) that the distribution is guaranteed to be compatible with.")
|
|
53
|
+
obsoletes_dist: Optional[Any] = Field(default=None, description="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.")
|
|
55
54
|
project_url: Optional[StrictStr] = Field(default=None, description="A browsable URL for the project and a label for it, separated by a comma.")
|
|
56
55
|
project_urls: Optional[Any] = Field(default=None, description="A dictionary of labels and URLs for the project.")
|
|
57
|
-
platform: Optional[StrictStr] = Field(default=None, description="A comma-separated list of platform specifications, summarizing the operating systems supported by the package.")
|
|
58
|
-
supported_platform: Optional[StrictStr] = Field(default=None, description="Field to specify the OS and CPU for which the binary package was compiled. ")
|
|
59
|
-
requires_dist: Optional[Any] = Field(default=None, description="A JSON list containing names of some other distutils project required by this distribution.")
|
|
60
56
|
provides_dist: Optional[Any] = Field(default=None, description="A JSON list containing names of a Distutils project which is contained within this distribution.")
|
|
61
|
-
obsoletes_dist: Optional[Any] = Field(default=None, description="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.")
|
|
62
57
|
requires_external: Optional[Any] = Field(default=None, description="A JSON list containing some dependency in the system that the distribution is to be used.")
|
|
63
|
-
|
|
64
|
-
|
|
58
|
+
requires_dist: Optional[Any] = Field(default=None, description="A JSON list containing names of some other distutils project required by this distribution.")
|
|
59
|
+
requires_python: Optional[StrictStr] = Field(default=None, description="The Python version(s) that the distribution is guaranteed to be compatible with.")
|
|
60
|
+
description_content_type: Optional[StrictStr] = Field(default=None, description="A string stating the markup syntax (if any) used in the distribution’s description, so that tools can intelligently render the description.")
|
|
61
|
+
provides_extras: Optional[Any] = Field(default=None, description="A JSON list containing names of optional features provided by the package.")
|
|
62
|
+
dynamic: Optional[Any] = Field(default=None, description="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.")
|
|
63
|
+
license_expression: Optional[StrictStr] = Field(default=None, description="Text string that is a valid SPDX license expression.")
|
|
64
|
+
license_file: Optional[Any] = Field(default=None, description="A JSON list containing names of the paths to license-related files.")
|
|
65
|
+
filename: Optional[StrictStr] = Field(default=None, description="The name of the distribution package, usually of the format: {distribution}-{version}(-{build tag})?-{python tag}-{abi tag}-{platform tag}.{packagetype}")
|
|
66
|
+
packagetype: Optional[StrictStr] = Field(default=None, description="The type of the distribution package (e.g. sdist, bdist_wheel, bdist_egg, etc)")
|
|
67
|
+
python_version: Optional[StrictStr] = Field(default=None, description="The tag that indicates which Python implementation or version the package requires.")
|
|
68
|
+
sha256: Optional[StrictStr] = Field(default='', description="The SHA256 digest of this package.")
|
|
69
|
+
__properties: ClassVar[List[str]] = ["pulp_href", "prn", "pulp_created", "pulp_last_updated", "pulp_labels", "artifact", "author", "author_email", "description", "home_page", "keywords", "license", "metadata_version", "name", "platform", "summary", "version", "classifiers", "download_url", "supported_platform", "maintainer", "maintainer_email", "obsoletes_dist", "project_url", "project_urls", "provides_dist", "requires_external", "requires_dist", "requires_python", "description_content_type", "provides_extras", "dynamic", "license_expression", "license_file", "filename", "packagetype", "python_version", "sha256"]
|
|
65
70
|
|
|
66
71
|
model_config = ConfigDict(
|
|
67
72
|
populate_by_name=True,
|
|
@@ -102,17 +107,19 @@ class PythonPythonPackageContentResponse(BaseModel):
|
|
|
102
107
|
* OpenAPI `readOnly` fields are excluded.
|
|
103
108
|
* OpenAPI `readOnly` fields are excluded.
|
|
104
109
|
* OpenAPI `readOnly` fields are excluded.
|
|
110
|
+
* OpenAPI `readOnly` fields are excluded.
|
|
105
111
|
"""
|
|
106
112
|
excluded_fields: Set[str] = set([
|
|
107
113
|
"pulp_href",
|
|
108
114
|
"prn",
|
|
109
115
|
"pulp_created",
|
|
110
116
|
"pulp_last_updated",
|
|
111
|
-
"
|
|
112
|
-
"packagetype",
|
|
117
|
+
"metadata_version",
|
|
113
118
|
"name",
|
|
114
119
|
"version",
|
|
115
|
-
"
|
|
120
|
+
"filename",
|
|
121
|
+
"packagetype",
|
|
122
|
+
"python_version",
|
|
116
123
|
])
|
|
117
124
|
|
|
118
125
|
_dict = self.model_dump(
|
|
@@ -120,35 +127,50 @@ class PythonPythonPackageContentResponse(BaseModel):
|
|
|
120
127
|
exclude=excluded_fields,
|
|
121
128
|
exclude_none=True,
|
|
122
129
|
)
|
|
130
|
+
# set to None if classifiers (nullable) is None
|
|
131
|
+
# and model_fields_set contains the field
|
|
132
|
+
if self.classifiers is None and "classifiers" in self.model_fields_set:
|
|
133
|
+
_dict['classifiers'] = None
|
|
134
|
+
|
|
135
|
+
# set to None if obsoletes_dist (nullable) is None
|
|
136
|
+
# and model_fields_set contains the field
|
|
137
|
+
if self.obsoletes_dist is None and "obsoletes_dist" in self.model_fields_set:
|
|
138
|
+
_dict['obsoletes_dist'] = None
|
|
139
|
+
|
|
123
140
|
# set to None if project_urls (nullable) is None
|
|
124
141
|
# and model_fields_set contains the field
|
|
125
142
|
if self.project_urls is None and "project_urls" in self.model_fields_set:
|
|
126
143
|
_dict['project_urls'] = None
|
|
127
144
|
|
|
128
|
-
# set to None if requires_dist (nullable) is None
|
|
129
|
-
# and model_fields_set contains the field
|
|
130
|
-
if self.requires_dist is None and "requires_dist" in self.model_fields_set:
|
|
131
|
-
_dict['requires_dist'] = None
|
|
132
|
-
|
|
133
145
|
# set to None if provides_dist (nullable) is None
|
|
134
146
|
# and model_fields_set contains the field
|
|
135
147
|
if self.provides_dist is None and "provides_dist" in self.model_fields_set:
|
|
136
148
|
_dict['provides_dist'] = None
|
|
137
149
|
|
|
138
|
-
# set to None if obsoletes_dist (nullable) is None
|
|
139
|
-
# and model_fields_set contains the field
|
|
140
|
-
if self.obsoletes_dist is None and "obsoletes_dist" in self.model_fields_set:
|
|
141
|
-
_dict['obsoletes_dist'] = None
|
|
142
|
-
|
|
143
150
|
# set to None if requires_external (nullable) is None
|
|
144
151
|
# and model_fields_set contains the field
|
|
145
152
|
if self.requires_external is None and "requires_external" in self.model_fields_set:
|
|
146
153
|
_dict['requires_external'] = None
|
|
147
154
|
|
|
148
|
-
# set to None if
|
|
155
|
+
# set to None if requires_dist (nullable) is None
|
|
149
156
|
# and model_fields_set contains the field
|
|
150
|
-
if self.
|
|
151
|
-
_dict['
|
|
157
|
+
if self.requires_dist is None and "requires_dist" in self.model_fields_set:
|
|
158
|
+
_dict['requires_dist'] = None
|
|
159
|
+
|
|
160
|
+
# set to None if provides_extras (nullable) is None
|
|
161
|
+
# and model_fields_set contains the field
|
|
162
|
+
if self.provides_extras is None and "provides_extras" in self.model_fields_set:
|
|
163
|
+
_dict['provides_extras'] = None
|
|
164
|
+
|
|
165
|
+
# set to None if dynamic (nullable) is None
|
|
166
|
+
# and model_fields_set contains the field
|
|
167
|
+
if self.dynamic is None and "dynamic" in self.model_fields_set:
|
|
168
|
+
_dict['dynamic'] = None
|
|
169
|
+
|
|
170
|
+
# set to None if license_file (nullable) is None
|
|
171
|
+
# and model_fields_set contains the field
|
|
172
|
+
if self.license_file is None and "license_file" in self.model_fields_set:
|
|
173
|
+
_dict['license_file'] = None
|
|
152
174
|
|
|
153
175
|
return _dict
|
|
154
176
|
|
|
@@ -168,33 +190,38 @@ class PythonPythonPackageContentResponse(BaseModel):
|
|
|
168
190
|
"pulp_last_updated": obj.get("pulp_last_updated"),
|
|
169
191
|
"pulp_labels": obj.get("pulp_labels"),
|
|
170
192
|
"artifact": obj.get("artifact"),
|
|
171
|
-
"
|
|
172
|
-
"
|
|
173
|
-
"name": obj.get("name"),
|
|
174
|
-
"version": obj.get("version"),
|
|
175
|
-
"sha256": obj.get("sha256") if obj.get("sha256") is not None else '',
|
|
176
|
-
"metadata_version": obj.get("metadata_version"),
|
|
177
|
-
"summary": obj.get("summary"),
|
|
193
|
+
"author": obj.get("author"),
|
|
194
|
+
"author_email": obj.get("author_email"),
|
|
178
195
|
"description": obj.get("description"),
|
|
179
|
-
"description_content_type": obj.get("description_content_type"),
|
|
180
|
-
"keywords": obj.get("keywords"),
|
|
181
196
|
"home_page": obj.get("home_page"),
|
|
197
|
+
"keywords": obj.get("keywords"),
|
|
198
|
+
"license": obj.get("license"),
|
|
199
|
+
"metadata_version": obj.get("metadata_version"),
|
|
200
|
+
"name": obj.get("name"),
|
|
201
|
+
"platform": obj.get("platform"),
|
|
202
|
+
"summary": obj.get("summary"),
|
|
203
|
+
"version": obj.get("version"),
|
|
204
|
+
"classifiers": obj.get("classifiers"),
|
|
182
205
|
"download_url": obj.get("download_url"),
|
|
183
|
-
"
|
|
184
|
-
"author_email": obj.get("author_email"),
|
|
206
|
+
"supported_platform": obj.get("supported_platform"),
|
|
185
207
|
"maintainer": obj.get("maintainer"),
|
|
186
208
|
"maintainer_email": obj.get("maintainer_email"),
|
|
187
|
-
"
|
|
188
|
-
"requires_python": obj.get("requires_python"),
|
|
209
|
+
"obsoletes_dist": obj.get("obsoletes_dist"),
|
|
189
210
|
"project_url": obj.get("project_url"),
|
|
190
211
|
"project_urls": obj.get("project_urls"),
|
|
191
|
-
"platform": obj.get("platform"),
|
|
192
|
-
"supported_platform": obj.get("supported_platform"),
|
|
193
|
-
"requires_dist": obj.get("requires_dist"),
|
|
194
212
|
"provides_dist": obj.get("provides_dist"),
|
|
195
|
-
"obsoletes_dist": obj.get("obsoletes_dist"),
|
|
196
213
|
"requires_external": obj.get("requires_external"),
|
|
197
|
-
"
|
|
214
|
+
"requires_dist": obj.get("requires_dist"),
|
|
215
|
+
"requires_python": obj.get("requires_python"),
|
|
216
|
+
"description_content_type": obj.get("description_content_type"),
|
|
217
|
+
"provides_extras": obj.get("provides_extras"),
|
|
218
|
+
"dynamic": obj.get("dynamic"),
|
|
219
|
+
"license_expression": obj.get("license_expression"),
|
|
220
|
+
"license_file": obj.get("license_file"),
|
|
221
|
+
"filename": obj.get("filename"),
|
|
222
|
+
"packagetype": obj.get("packagetype"),
|
|
223
|
+
"python_version": obj.get("python_version"),
|
|
224
|
+
"sha256": obj.get("sha256") if obj.get("sha256") is not None else ''
|
|
198
225
|
})
|
|
199
226
|
return _obj
|
|
200
227
|
|
|
File without changes
|
|
File without changes
|