$npx skillfedfor your agent

types-polib

Typing stubs for polib

With conditionsPyPI Software DevelopmentReleased May 2026243.4K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — types_polib-1.2.0.20260518-py3-none-any.whl
v1.2.0.20260518 · released 2026-05-18 · Python >=3.10

Yes, if you use polib and want static type checking. It has no runtime cost, no dependencies, and is actively maintained. Install it alongside polib and configure your type checker to use it. If you don't use a type checker or don't use polib, it provides no value.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later.
  • Only useful when used alongside polib itself and a type checker (mypy, pyright, or similar).
  • Low friction: a pure-Python stub package with no runtime dependencies.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license; no restrictions on use, modification, or distribution in commercial or open-source projects.

last release 2026-05-18 (88 days) · last repo commit 2026-08-14 · 37 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 243,375 downloads/mo, #8,806 on PyPI

Verify before relying

pip install types-polib

# In your code, import polib normally; type checkers will use the stubs:
import polib
po = polib.pofile('translations.po')
  • Whether the stubs cover all public APIs of polib 1.2.x or only a subset.
  • Whether this package is automatically installed as a dependency of polib or must be installed separately.
Same gist for agents: .md · .json

What it is and what it does

types-polib is a type stub package that bridges the gap between the polib library (used for reading and writing gettext PO translation files) and Python's static type checkers. When installed, it allows mypy, pyright, and other type checkers to understand the types and signatures of polib's public API, so you can catch type errors in your code before runtime.

This is a pure metadata package with no runtime dependencies—it only provides type information. It's part of the typeshed project, the community-maintained repository of type stubs for popular packages that don't ship their own. The stubs are kept in sync with polib 1.2.x and tested against current versions of mypy and pyright.

Use it for

  • Enable type checking in projects that use polib to parse or generate gettext PO translation files.
  • Catch type errors in translation workflow automation scripts before deployment.
  • Improve IDE autocomplete and inline documentation when working with polib in type-aware editors.
  • Enforce type safety in CI/CD pipelines that validate translation tooling code.

Worth the install?

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

With conditions

Yes, if you use polib and want static type checking.

It has no runtime cost, no dependencies, and is actively maintained. Install it alongside polib and configure your type checker to use it. If you don't use a type checker or don't use polib, it provides no value.

Install

types-polib on PyPI

Before you install

Low friction: a pure-Python stub package with no runtime dependencies. Actively maintained as part of typeshed; last commit 2026-08-14. Tested with mypy 2.1.0 and pyright 1.1.409.

Requires Python 3.10 or later. Only useful when used alongside polib itself and a type checker (mypy, pyright, or similar).

License in practice

Apache-2.0 permissive license; no restrictions on use, modification, or distribution in commercial or open-source projects.

Quickstart

pip install types-polib

# In your code, import polib normally; type checkers will use the stubs:
import polib
po = polib.pofile('translations.po')

Verify before relying

  • Whether the stubs cover all public APIs of polib 1.2.x or only a subset.
  • Whether this package is automatically installed as a dependency of polib or must be installed separately.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 88 days since the last release
Last repo commit
First released
Downloads243,375 / month, #8,806 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_polib-1.2.0.20260518-py3-none-any.whl

Tags

Capabilities
type stubs polibpolib type hintsmypy polib annotationspyright polib typesgettext po file typing
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 polib”

  • types-polibProvides type stubs for the polib package, enabling static type…
  • polibpolib reads, writes, and manipulates gettext translation files (PO,…
  • 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-grpcio-health-checking · types-ldap3 · types-pexpect · types-protobuf · types-qrcode · types-vobject · polib · types-psutil · types-mock · types-cffi