$npx skillfedfor your agent

types-unidiff

Typing stubs for unidiff

With conditionsPyPI Software DevelopmentReleased Jul 2026102.7K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — types_unidiff-0.7.0.20260727-py3-none-any.whl
v0.7.0.20260727 · released 2026-07-27 · Python >=3.10

Yes, if you are using unidiff 0.7.x and rely on static type checking. Install it alongside unidiff 0.7.* to get full type support. No, if you are already on unidiff 1.0.0 or newer—uninstall this package and use unidiff's built-in type annotations instead. The package is actively maintained and has no known vulnerabilities.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later.
  • Only useful if you are using unidiff 0.7.x; unidiff 1.0.0+ includes its own type stubs.
  • Low install friction with no runtime dependencies.

License · maintenance · safety

Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing use in most projects without significant legal constraints.

last release 2026-07-27 (18 days) · last repo commit 2026-08-14 · 37 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 102,676 downloads/mo, #12,855 on PyPI

Verify before relying

pip install types-unidiff

# Then use unidiff normally; type checkers will now understand its types
import unidiff
patch = unidiff.PatchSet.from_filename('changes.patch')
  • Whether this package is still needed if you are already using unidiff 1.0.0 or newer (description suggests it should be uninstalled in that case)
Same gist for agents: .md · .json

What it is and what it does

types-unidiff is a type stub package that provides type hints for the unidiff library, which parses unified diff format files. It is part of the typeshed project and allows static type checkers like mypy and pyright to understand and validate code that uses unidiff. The stubs target unidiff 0.7.x specifically and have been tested against mypy 2.3.0 and pyright 1.1.411.

This package is a stub-only distribution with no runtime dependencies, so it adds no overhead to your environment. However, it is primarily useful for developers still on unidiff 0.7.x; the unidiff package itself has included type annotations since version 1.0.0, making this stub package redundant for newer versions.

Use it for

  • Enable mypy or pyright to type-check code that parses unified diff files with unidiff 0.7.x
  • Catch type errors in diff-parsing workflows before runtime in CI/CD pipelines
  • Provide IDE autocomplete and inline type hints for unidiff API calls in editors like VS Code

Worth the install?

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

With conditions

Yes, if you are using unidiff 0.7.x and rely on static type checking.

Install it alongside unidiff 0.7.* to get full type support. No, if you are already on unidiff 1.0.0 or newer—uninstall this package and use unidiff's built-in type annotations instead. The package is actively maintained and has no known vulnerabilities.

Install

types-unidiff on PyPI

Before you install

Low install friction with no runtime dependencies. Actively maintained as part of typeshed; released 18 days ago. Note that unidiff 1.0.0+ includes its own type annotations, making this package unnecessary for newer unidiff versions.

Requires Python 3.10 or later. Only useful if you are using unidiff 0.7.x; unidiff 1.0.0+ includes its own type stubs.

License in practice

Licensed under Apache-2.0 (permissive), allowing use in most projects without significant legal constraints.

Quickstart

pip install types-unidiff

# Then use unidiff normally; type checkers will now understand its types
import unidiff
patch = unidiff.PatchSet.from_filename('changes.patch')

Verify before relying

  • Whether this package is still needed if you are already using unidiff 1.0.0 or newer (description suggests it should be uninstalled in that case)

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 18 days since the last release
Last repo commit
First released
Downloads102,676 / month, #12,855 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Programming Language :: Python :: 3Typing :: Stubs Only

Evidence: types_unidiff-0.7.0.20260727-py3-none-any.whl

Tags

Capabilities
type stubs unidiffmypy unidiff typingpyright type checking diffunified diff type annotationsstatic type checking patches
Topics
type-stubstypeshed

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 › “type stubs unidiff”

  • types-unidiffProvides type stubs for the unidiff package, enabling static type…
  • unidiffParses unified diff format data into structured Python objects,…
  • types-assertpyProvides type stubs enabling static type checkers like mypy and…

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 types-pyflakes · types-mypy-extensions · unidiff · unidiff2 · types-boltons · types-Markdown · types-pytz · types-httplib2 · types-six · types-regex