File tree Expand file tree Collapse file tree 4 files changed +26
-1
lines changed Expand file tree Collapse file tree 4 files changed +26
-1
lines changed Original file line number Diff line number Diff line change 7
7
:no-members:
8
8
:autosummary-members:
9
9
10
+ .. autosummary-widths :: 40/100
11
+
10
12
.. autoclass :: pypi_json.PyPIJSON
11
13
:member-order: bysource
14
+ :no-show-inheritance:
12
15
13
16
.. autonamedtuple :: pypi_json.ProjectMetadata
14
17
:member-order: bysource
18
+ :exclude-members: __repr__
15
19
16
20
.. autovariable :: pypi_json.USER_AGENT
17
21
:no-value:
Original file line number Diff line number Diff line change 2
2
:mod: `pypi_json.typehints `
3
3
============================
4
4
5
+ .. autosummary-widths :: 35/100
5
6
.. automodule :: pypi_json.typehints
Original file line number Diff line number Diff line change 67
67
class ProjectMetadata (NamedTuple ):
68
68
"""
69
69
Represents a project's metadata from the PyPI JSON API.
70
+
71
+ :param info: Generic information about a specific version of a project.
72
+
73
+ :bold-title:`Attributes:`
74
+
75
+ .. autosummary::
76
+
77
+ ~pypi_json.ProjectMetadata.name
78
+ ~pypi_json.ProjectMetadata.version
79
+
80
+ **Methods:**
81
+
82
+ .. autosummary::
83
+
84
+ ~pypi_json.ProjectMetadata.get_latest_version
85
+ ~pypi_json.ProjectMetadata.get_releases_with_digests
86
+ ~pypi_json.ProjectMetadata.get_releases
87
+ ~pypi_json.ProjectMetadata.get_wheel_tag_mapping
70
88
"""
71
89
72
90
#: Generic information about a specific version of a project.
@@ -206,6 +224,8 @@ class PyPIJSON:
206
224
:param session: Optional :class:`requests.Session` object to use instead of creating a fresh one.
207
225
208
226
.. _another authentication object accepted by requests: https://requests.readthedocs.io/en/master/user/authentication/
227
+
228
+ .. latex:clearpage::
209
229
"""
210
230
211
231
timeout : ClassVar [int ] = 10
Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ class DistributionPackageDict(TypedDict):
190
190
191
191
class FileURL (TypedDict ):
192
192
"""
193
- :class:`typing.TypedDict` representing the output of
193
+ Represents the output of
194
194
:meth:`ProjectMetadata.get_releases_with_digests <pypi_json.ProjectMetadata.get_releases_with_digests>`.
195
195
""" # noqa: D400
196
196
You can’t perform that action at this time.
0 commit comments