Skip to main content

Types for notebook formats.

Project description

Re-export TypedDict versions of (currently) nbformat schemas v3_0, v4_0v4_5 (the latter also as current).

Usage:

from typing import cast, TYPE_CHECKING
import nbformat
if TYPE_CHECKING:
    from nbformat_types import Document  # currently v4

with open("Notebook.ipynb") as f:
    doc = cast(Document, nbformat.read(f, 4))

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nbformat_types-0.1.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nbformat_types-0.1-py3-none-any.whl (19.6 kB view details)

Uploaded Python 3

File details

Details for the file nbformat_types-0.1.tar.gz.

File metadata

  • Download URL: nbformat_types-0.1.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for nbformat_types-0.1.tar.gz
Algorithm Hash digest
SHA256 8f04c9ad85eb182da3d076a5d72fcdcd9a5a5f75aed6e14ed9f820ab071c0669
MD5 cf0e4343aa9e11fa4e6d9b3f35872f50
BLAKE2b-256 4b0e303a0d5355430986230d0124810ddcc776fc89f6dacae386240ba9bf4488

See more details on using hashes here.

Provenance

The following attestation bundles were made for nbformat_types-0.1.tar.gz:

Publisher: publish.yml on flying-sheep/nbformat-types

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file nbformat_types-0.1-py3-none-any.whl.

File metadata

  • Download URL: nbformat_types-0.1-py3-none-any.whl
  • Upload date:
  • Size: 19.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for nbformat_types-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9689f63d7deada13412d08bfedf5ecfc11a172f6f9a5c1b743f6f19928cc76ed
MD5 8c8fb7c99e3c59fbee48df75631faa5a
BLAKE2b-256 d7c6bf459a961839c53114c5c7072554e76333ee82b639191ec4c2e204a3e176

See more details on using hashes here.

Provenance

The following attestation bundles were made for nbformat_types-0.1-py3-none-any.whl:

Publisher: publish.yml on flying-sheep/nbformat-types

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page