@@ -54,6 +54,39 @@ Glossary
54
54
Python files). See :ref: `package-formats ` for more information.
55
55
56
56
57
+ Built Metadata
58
+
59
+ The concrete form :term: `Core Metadata ` takes
60
+ when included inside an installed :term: `Project ` (``METADATA `` file)
61
+ or a :term: `Distribution Archive `
62
+ (``PKG-INFO `` in a
63
+ :term: `Sdist <Source Distribution (or "sdist")> `
64
+ and ``METADATA `` in a :term: `Wheel `).
65
+
66
+
67
+ Core Metadata
68
+
69
+ The :ref: `specification <core-metadata >`
70
+ and the set of :term: `Core Metadata Field `\s it defines
71
+ that describe key static attributes of
72
+ a :term: `Distribution Package ` or :term: `Installed Project `.
73
+
74
+
75
+ Core Metadata Field
76
+
77
+ A single key-value pair
78
+ (or sequence of such with the same name, for multiple-use fields)
79
+ defined in the :term: `Core Metadata ` spec
80
+ and stored in the :term: `Built Metadata `.
81
+ Notably, distinct from a :term: `Pyproject Metadata Key `.
82
+
83
+
84
+ Distribution Archive
85
+
86
+ The physical distribution artifact (i.e. a file on disk)
87
+ for a :term: `Distribution Package `.
88
+
89
+
57
90
Distribution Package
58
91
59
92
A versioned archive file that contains Python :term: `packages <Import
@@ -106,6 +139,14 @@ Glossary
106
139
is also commonly called a "package". See :ref: `distribution-package-vs-import-package `
107
140
for a breakdown of the differences.
108
141
142
+
143
+ Installed Project
144
+
145
+ A :term: `Project ` that is installed for use with
146
+ a Python interpreter or :term: `Virtual Environment `,
147
+ as described in the specicifcation :ref: `recording-installed-packages `.
148
+
149
+
109
150
Module
110
151
111
152
The basic unit of code reusability in Python, existing in one of two
@@ -149,12 +190,64 @@ Glossary
149
190
'bar'.
150
191
151
192
193
+ Project Root Directory
194
+
195
+ The filesystem directory in which
196
+ a :term: `Project `'s :term: `source tree <Project Source Tree> ` is located.
197
+
198
+
199
+ Project Source Tree
200
+
201
+ The on-disk format of a :term: `Project ` used for development,
202
+ containing its raw source code before being packaged
203
+ into a
204
+ :term: `Source Distribution <Source Distribution (or "sdist")> `
205
+ or :term: `Built Distribution `.
206
+
207
+
208
+ Project Source Metadata
209
+
210
+ Metadata defined by the package author
211
+ in a :term: `Project `'s :term: `source tree <Project Source Tree> `,
212
+ to be transformed into :term: `Core Metadata field `\s
213
+ in the :term: `Built Metadata `
214
+ by the project's :term: `build backend <Build Backend> `.
215
+ Can be written as :term: `Pyproject Metadata `,
216
+ or in a tool-specific format
217
+ (under the ``[tool] `` table in ``pyproject.toml ``,
218
+ or in a tool's own configuration file).
219
+
220
+
152
221
Pure Module
153
222
154
223
A :term: `Module ` written in Python and contained in a single ``.py `` file (and
155
224
possibly associated ``.pyc `` and/or ``.pyo `` files).
156
225
157
226
227
+ Pyproject Metadata
228
+
229
+ The :term: `Project Source Metadata ` format
230
+ defined by the :ref: `declaring-project-metadata ` specification
231
+ and originally introduced in :pep: `621 `,
232
+ stored as :term: `Pyproject Metadata Key `\s
233
+ under the ``[project] `` table of a :term: `pyproject.toml ` file.
234
+ Notably, *not * a tool-specific source metadata format
235
+ under the ``[tool] `` table in ``pyproject.toml ``.
236
+
237
+
238
+ Pyproject Metadata Key
239
+
240
+ A top-level TOML key in the ``[project] `` table in ``pyproject.toml ``;
241
+ part of the :term: `Pyproject Metadata `.
242
+ Notably, distinct from a :term: `Core Metadata Field `.
243
+
244
+
245
+ Pyproject Metadata Subkey
246
+
247
+ A second-level TOML key under a table-valued
248
+ :term: `Pyproject Metadata Key `.
249
+
250
+
158
251
Python Packaging Authority (PyPA)
159
252
160
253
PyPA is a working group that maintains many of the relevant
@@ -236,7 +329,7 @@ Glossary
236
329
237
330
Source Distribution (or "sdist")
238
331
239
- A :term: `distribution <Distribution Package > ` format (usually generated
332
+ A :term: `distribution <Distribution Archive > ` format (usually generated
240
333
using ``python -m build --sdist ``) that provides metadata and the
241
334
essential source files needed for installing by a tool like :ref: `pip `,
242
335
or for generating a :term: `Built Distribution `. See :ref: `package-formats `
@@ -264,10 +357,22 @@ Glossary
264
357
wide. For more information, see the section on :ref: `Creating and using
265
358
Virtual Environments`.
266
359
360
+
361
+ Wheel Format
267
362
Wheel
268
363
269
- The standard :term: `Built Distribution ` format.
364
+ The standard :term: `Built Distribution ` format
365
+ originally introduced in :pep: `427 `
366
+ and defined by the :ref: `binary-distribution-format ` specification.
270
367
See :ref: `package-formats ` for more information.
368
+ Not to be confused with its reference implementation,
369
+ the :term: `Wheel Project `.
370
+
371
+
372
+ Wheel Project
373
+
374
+ The PyPA reference implementation of the :term: `Wheel Format `; see :ref: `wheel `.
375
+
271
376
272
377
Working Set
273
378
0 commit comments