Skip to main content

pboot-typing

The type-system layer the pboot stack is written against. Three upstream projects, vendored unmodified except for their import lines:

Module Upstream Version License
pboot.typing typing_extensions 4.16.0 PSF-2.0
pboot.typing.doc annotated_doc 0.0.7 MIT
pboot.typing.inspection typing_inspection 0.4.5 MIT

Nothing is reimplemented, so behaviour is byte-for-byte what upstream does — including the typing vs typing_extensions discrimination that pydantic depends on. Only import typing_extensions and from typing_extensions import became pboot.typing; _backport.py itself is a straight copy of the upstream single-module release, so diff against it still works.

Why one package

typing_extensions is a single module, typing_inspection three files, annotated_doc two files and thirty-nine lines. Keeping them as three separate distributions costs three PyPI projects, three release flows and three version pins for code that only the pboot packages consume. Keeping them out of pboot would force pboot, pboot-kernel and pboot-validator to vendor three private copies of the same code and drift apart.

Use

from pboot.typing import Self, override, deprecated
from pboot.typing.doc import Doc
from pboot.typing.inspection.introspection import get_type_hints, is_annotated

def handler(name: Annotated[str, Doc("Who to greet")]) -> None: ...

This package is a component of pboot, not a general-purpose replacement for typing_extensions — it has no compatibility promise of its own.

Licenses

LICENSE.typing_extensions, LICENSE.typing_inspection and LICENSE.annotated_doc carry the original notices and must ship with every wheel and sdist.

Metadata

Release files for pboot-typing 1.0.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 pboot-typing 1.0.0
File Size Uploaded Provenance Actions
pboot_typing-1.0.0.tar.gz 56.7 kB Without provenance Details for pboot_typing-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pboot-typing 1.0.0
File Interpreter ABI Platform Actions
pboot_typing-1.0.0-py3-none-any.whl Python 3 none any Details for pboot_typing-1.0.0-py3-none-any.whl

Total release size: 117.8 kB

Release files / pboot_typing-1.0.0.tar.gz

Download URL pboot_typing-1.0.0.tar.gz
Size 56.7 kB
Tags Source
SHA-256 checksum
How to use checksums
1f776395f000d6e9b608c45089086a0da966922e4b3a656b4e93de3b9e03362c
BLAKE2b-256 checksum
How to use checksums
8dd12a9490eff75b6846f2e07b100dc2e087408de30b074cc3a873ea952b5b67
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.7

Release files / pboot_typing-1.0.0-py3-none-any.whl

Download URL pboot_typing-1.0.0-py3-none-any.whl
Size 61.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d511dcc7e64aa411bc771195a64bc534f27c3c17058babab87c60e62dd59663f
BLAKE2b-256 checksum
How to use checksums
71d2b71ab370aa87e14ed4f65e69fa83625e9ed0bb76b33348013bbec7c0fc05
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.7

Security for pboot-typing 1.0.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

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