$npx skillfedfor your agent

jsonalias

A microlibrary that defines a Json type alias for Python.

With conditionsPyPI Software DevelopmentReleased Oct 20221.4M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — jsonalias-0.1.2-py3-none-any.whl
v0.1.2 · released 2022-10-30 · Python >=3.7,<4.0

Yes, if you use type hints and work with JSON data. The package is stable, has no dependencies, and solves a genuine typing problem. Dormant maintenance is not a concern for a minimal, self-contained type alias. Verify mypy version and configuration requirements before adopting in strict type-checking environments.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires mypy >= 0.981 with --enable-recursive-aliases flag for type checking to work correctly.
  • Low friction: pure Python, no runtime dependencies, distributed as a wheel.
  • Dormant maintenance (last release October 2022, last commit January 2025) but the package is minimal and stable—no active development needed.

License · maintenance · safety

MIT (permissive) — MIT license permits unrestricted use, modification, and distribution in commercial and private projects with minimal attribution requirements.

last release 2022-10-30 (1384 days) · last repo commit 2025-01-14 · 20 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,380,947 downloads/mo, #3,981 on PyPI

Verify before relying

from jsonalias import Json

d: Json = {"foo": ["bar", {"x": "y"}]}
  • Whether mypy >= 0.981 with --enable-recursive-aliases is a hard requirement or merely recommended for full type-checking support
  • Compatibility with type checkers other than mypy (e.g., pyright, pyre)
Same gist for agents: .md · .json

What it is and what it does

jsonalias exports a single recursive type alias, `Json`, that represents any valid JSON value: a dictionary with string keys and JSON values, a list of JSON values, or a primitive (string, integer, float, boolean, or None). The alias is defined using Python's `typing` module and supports recursive self-reference, allowing you to annotate variables and function parameters that hold JSON-compatible data.

The package exists because this type alias is useful across multiple projects but verbose enough to be tedious to redefine. It requires mypy >= 0.981 with the --enable-recursive-aliases flag to type-check correctly. The implementation is minimal—just a few lines of type definition—and carries no runtime dependencies, making it a zero-cost addition to your type-checking workflow.

Use it for

  • Annotate function parameters that accept arbitrary JSON data from APIs or file parsing
  • Type-hint configuration dictionaries or settings objects with mixed nested structures
  • Define return types for JSON serialization or deserialization functions
  • Validate type consistency in data transformation pipelines that work with JSON
  • Document expected shapes for dynamically-structured data in codebases using strict typing

Worth the install?

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

With conditions

Yes, if you use type hints and work with JSON data.

The package is stable, has no dependencies, and solves a genuine typing problem. Dormant maintenance is not a concern for a minimal, self-contained type alias. Verify mypy version and configuration requirements before adopting in strict type-checking environments.

Install

jsonalias on PyPI

Before you install

Low friction: pure Python, no runtime dependencies, distributed as a wheel. Dormant maintenance (last release October 2022, last commit January 2025) but the package is minimal and stable—no active development needed.

Requires mypy >= 0.981 with --enable-recursive-aliases flag for type checking to work correctly.

License in practice

MIT license permits unrestricted use, modification, and distribution in commercial and private projects with minimal attribution requirements.

Quickstart

from jsonalias import Json

d: Json = {"foo": ["bar", {"x": "y"}]}

Verify before relying

  • Whether mypy >= 0.981 with --enable-recursive-aliases is a hard requirement or merely recommended for full type-checking support
  • Compatibility with type checkers other than mypy (e.g., pyright, pyre)

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.7,<4.0
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceDormant 1,384 days since the last release
Last repo commit
First released
Downloads1,380,947 / month, #3,981 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: jsonalias-0.1.2-py3-none-any.whl

Tags

Capabilities
json type alias pythontyping json recursivejson type hintpython json typingrecursive type alias json
Topics
typingjson-schema

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 › “json type alias python”

  • jsonaliasProvides a recursive type alias for JSON-compatible data structures…
  • typing-aliasesProvides a collection of type aliases for Python's typing system,…
  • pyserdeSerialize and deserialize Python dataclasses to and from JSON, YAML,…

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-json · json-strong-typing · flatdict · jsonschema-typed-v2 · jsoncompat · jsonlines · databind · condense-json · json-normalize · pampy