Skip to content

Latest commit

 

History

History
50 lines (41 loc) · 2.53 KB

File metadata and controls

50 lines (41 loc) · 2.53 KB

Small utilities — index

Transitive dependencies bundled because something else needs them. You'd rarely import any of these directly. Each one now has its own page — this file is just a table of contents.

Per-library docs

Library Version What needs it Doc
cloup 3.0.5 nicer Click CLIs cloup.md
soupsieve 2.8 CSS-selector engine for BeautifulSoup soupsieve.md
rpds-py 0.22.3 persistent data structures for referencing / jsonschema rpds.md
srt 3.5.3 .srt subtitle parsing / writing srt.md
pylab (ships with matplotlib) legacy MATLAB-style pyplot + numpy namespace pylab.md
torchgen 2.1.0 (ships with torch) PyTorch operator code-generation toolchain (build-time only) torchgen.md
_distutils_hack (ships with setuptools) import-time shim that registers setuptools' bundled distutils distutils-hack.md
pkg_resources (ships with setuptools) legacy package-discovery API (use importlib.metadata instead) pkg-resources.md
setuptools 82.0.1 Python package builder; PEP 517 build backend for sdists setuptools.md
wheel 0.46.3 .whl builder + repack / unpack CLI wheel.md

Why bundle all of these

They're transitive deps of the libraries we DO want users to interact with:

your script
 |- requests          -> certifi, urllib3, idna, charset_normalizer
 |- jsonschema        -> referencing, rpds, attrs
 |- rich              -> markdown_it, mdurl, pygments
 |- click             -> cloup (sometimes)
 |- bs4               -> soupsieve
 |- pip + setuptools  -> wheel, _distutils_hack, pkg_resources
 |- matplotlib        -> pylab
 `- torch             -> torchgen

Removing any one of them breaks the corresponding import. They add up to maybe ~15 MB total — small enough that bundling all of them is the right call.

See also