Skip to main content

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:

%load_ext ipython_beartype
%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.

Release files for ipython-beartype 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ipython-beartype 0.2.0
File Size Uploaded
ipython_beartype-0.2.0.tar.gz 18.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ipython-beartype 0.2.0
File Interpreter ABI Platform
ipython_beartype-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 22.9 kB

Release files / ipython_beartype-0.2.0.tar.gz

Download URL ipython_beartype-0.2.0.tar.gz
Size 18.4 kB
Tags Source
SHA-256 checksum
How to use checksums
83deb80fb90ee92138e3ebd3368d1b368fd4974c45cbd49c617a50b9172ef7e8
BLAKE2b-256 checksum
How to use checksums
01ced214c97bdee971021b528b0d87758fe2540a764f0b85c0aa0749e5cf23a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 15, 2025.

Transparency log

Release files / ipython_beartype-0.2.0-py3-none-any.whl

Download URL ipython_beartype-0.2.0-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9f79b5264a8ccbaeba487639fb37d6818c9576a0d270f79b7f5a8e6ef352340c
BLAKE2b-256 checksum
How to use checksums
df52a63ad6df0d74ca74019b4f4498a5a00483cdaf2e5f17efea261d1f05e3b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 15, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page