beartype
ipython-beartype
Shell

Jupyter (IPython) extension for type-checking Jupyter notebooks and IPython environments with @beartype.

Last updated Dec 16, 2025
11
Stars
2
Forks
0
Issues
0
Stars/day
Attention Score
1
Language breakdown
No language data available.
Files click to expand
README

https://beartype.readthedocs.io

ipython-beartype

IPython extension type-checking IPython environments with beartype.

Installation

pip install ipython_beartype

Usage

Within an IPython / Jupyter notebook session, do the following:

%loadext ipythonbeartype
%beartype

All the type annotations in the following cells will be type checked.

Local Development / Testing

  • Create and activate a virtual environment
  • Run pip install -e .[dev] to do an editable install
  • Run pytest to run tests

Type Checking

Run mypy .

Credits

Thanks to knyazer and patrick-kidger for building the jaxtyping IPython extension, which was used as the base for this extension.

Also special thanks to leycec for creating beartype and the IPython team.

🔗 More in this category

© 2026 GitRepoTrend · beartype/ipython-beartype · Updated daily from GitHub