$npx skillfedfor your agent

pyre-extensions

Type system extensions for use with the pyre type checker

With conditionsPyPI Software DevelopmentReleased Nov 20241.7M downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pyre_extensions-0.0.32-py3-none-any.whl
v0.0.32 · released 2024-11-22 · 2 runtime deps: typing-inspect, typing-extensions

Yes, if you use Pyre for type checking and need ParameterSpecification or type-safe JSON parsing. The low install friction and permissive license make it a low-risk addition. However, dormant maintenance (630 days since last release) means no active bug fixes or feature development; evaluate whether your use case requires these features and whether safe_json meets your performance and validation needs.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low install friction with only two runtime dependencies (typing-inspect and typing-extensions).
  • Dormant maintenance status—last release 630 days ago—suggests stability but no active development.

License · maintenance · safety

permissive license (permissive) — MIT license (permissive) imposes no restrictions on use, modification, or redistribution in proprietary or open-source projects.

last release 2024-11-22 (630 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,706,205 downloads/mo, #3,634 on PyPI

Verify before relying

pip install pyre-extensions

from pyre_extensions import safe_json
from typing import List

result = safe_json.loads('[1, 2, 3]', List[int])
print(result)  # [1, 2, 3]
  • Whether ParameterSpecification remains necessary given native ParamSpec support in recent Python versions
  • Current compatibility with modern Python versions and Pyre's latest releases
  • Whether safe_json validation performance is suitable for large or streaming JSON
Same gist for agents: .md · .json

What it is and what it does

Pyre Extensions is a companion library to the Pyre type checker that adds three main capabilities to Python's typing system. It defines ParameterSpecification, a special type variable that captures callable parameter specifications (argument names, types, and whether they're required) rather than just types—useful for typing decorators that preserve a function's signature while transforming its return type. It provides none_throws, a utility function that asserts an Optional value is not None and returns it, making assumptions about Optional types explicit in code. It also includes safe_json, a drop-in replacement for the standard json module that validates parsed JSON against a specified type schema (using TypedDict for complex structures) and raises InvalidJson if the data doesn't match.

The package is designed as a lightweight companion to Pyre, with minimal dependencies (only typing-inspect and typing-extensions). It has been dormant for 630 days, suggesting the API is stable but no longer under active development. The library is classified as Alpha and intended for developers using Pyre for static type checking who need these specific typing patterns.

Use it for

  • Type decorators that preserve function signatures while changing return types using ParameterSpecification
  • Validating JSON API responses against a TypedDict schema before processing
  • Making Optional type handling explicit by asserting non-None values with none_throws
  • Parsing configuration files with known structure and enforcing type safety at load time
  • Catching JSON schema mismatches early in development rather than at runtime

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you use Pyre for type checking and need ParameterSpecification or type-safe JSON parsing.

The low install friction and permissive license make it a low-risk addition. However, dormant maintenance (630 days since last release) means no active bug fixes or feature development; evaluate whether your use case requires these features and whether safe_json meets your performance and validation needs.

Install

pyre-extensions on PyPI

Before you install

Low install friction with only two runtime dependencies (typing-inspect and typing-extensions). Dormant maintenance status—last release 630 days ago—suggests stability but no active development.

License in practice

MIT license (permissive) imposes no restrictions on use, modification, or redistribution in proprietary or open-source projects.

Quickstart

pip install pyre-extensions

from pyre_extensions import safe_json
from typing import List

result = safe_json.loads('[1, 2, 3]', List[int])
print(result)  # [1, 2, 3]

Verify before relying

  • Whether ParameterSpecification remains necessary given native ParamSpec support in recent Python versions
  • Current compatibility with modern Python versions and Pyre's latest releases
  • Whether safe_json validation performance is suitable for large or streaming JSON

Package facts

Licensepermissive license permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
typing-inspecttyping-extensions
MaintenanceDormant 630 days since the last release
First released
Downloads1,706,205 / month, #3,634 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 3 - AlphaEnvironment :: ConsoleIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonTopic :: Software DevelopmentTyping :: Typed

Evidence: pyre_extensions-0.0.32-py3-none-any.whl

Tags

Capabilities
pyre type checker extensionsparametric type variables decoratorstype-safe json parsingoptional type assertionstyping module extensionspyre typechecker supportsafe json validation
Topics
type-checkingpyre-companionjson-validation

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “pyre type checker extensions”

  • pyre-extensionsProvides typing extensions for the Pyre type checker, including…
  • mypy-extensionsProvides type system extensions for Python programs checked with…
  • pyreflyPyrefly is a fast type checker and language server for Python that…

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also typing-inspect · django-types · result · typing-validation · mypy-extensions · typing-json · pyre-check · strongtyping · dacite · pyrefly