dist_meta.wheel
¶
Parse and create *dist-info/WHEEL
files.
Functions:
|
Construct a |
|
Construct a |
|
Parse a |
|
Parse a |
|
Parse a generator string into its name and version. |
-
dump
(fields, filename)[source]¶ Construct a
WHEEL
file from the given fields, and write it tofilename
.
-
load
(filename)[source]¶ Parse a
WHEEL
file from the given file.- Parameters
- Return type
- Returns
A mapping of the metadata fields, and the long description
-
loads
(rawtext)[source]¶ Parse a
WHEEL
file from the given string.- Parameters
rawtext (
str
)- Return type
- Returns
A mapping of the metadata fields, and the long description