$npx skillfedfor your agent

types-pyserial

Typing stubs for pyserial

With conditionsPyPI Software DevelopmentReleased Jul 20261.4M downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — types_pyserial-3.5.0.20260712-py3-none-any.whl
v3.5.0.20260712 · released 2026-07-12 · Python >=3.10

Yes, if you use pyserial and want static type checking. Install it alongside pyserial to enable type validation in mypy or pyright with zero runtime overhead. No security concerns, actively maintained, and permissively licensed. Only skip it if you don't use a type checker or don't use pyserial.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 the actual pyserial package and a compatible type checker.
  • Low friction installation with no runtime dependencies.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license allows use in most projects without restriction.

last release 2026-07-12 (33 days) · last repo commit 2026-08-14 · 37 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,431,771 downloads/mo, #3,912 on PyPI

Verify before relying

pip install types-pyserial

# Type checkers will now understand pyserial code in your project
  • Whether these stubs cover all pyserial 3.5.* APIs or only a subset of the public interface.
  • Compatibility with type checkers other than mypy 2.2.0 and pyright 1.1.411.
  • Whether installing types-pyserial automatically satisfies type checking for existing pyserial code without additional configuration.
Same gist for agents: .md · .json

What it is and what it does

types-pyserial is a type stub package that adds static type information to the pyserial library. It allows Python type checkers like mypy and pyright to understand and validate code that uses pyserial's serial port APIs, catching type errors before runtime. The stubs are maintained as part of the typeshed project and are kept in sync with pyserial 3.5.* releases.

This package contains no runtime code—it only provides type annotations. You install it alongside pyserial to enable type checking in your IDE and CI/CD pipelines. It requires Python 3.10 or later and has no external dependencies, making it a lightweight addition to any project that already uses pyserial.

Use it for

  • Enable type checkers to validate code that uses pyserial for serial port communication.
  • Catch type mismatches in serial port configuration at development time.
  • Add IDE autocomplete and inline type hints for pyserial methods and properties.
  • Enforce type safety in embedded systems or IoT projects that communicate over serial interfaces.
  • Integrate serial port code into a strictly typed Python codebase without disabling type checking.

Worth the install?

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

With conditions

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

Install it alongside pyserial to enable type validation in mypy or pyright with zero runtime overhead. No security concerns, actively maintained, and permissively licensed. Only skip it if you don't use a type checker or don't use pyserial.

Install

types-pyserial on PyPI

Before you install

Low friction installation with no runtime dependencies. Actively maintained as part of the typeshed project with recent updates.

Requires Python 3.10 or later. Only useful when used alongside the actual pyserial package and a compatible type checker.

License in practice

Apache-2.0 permissive license allows use in most projects without restriction.

Quickstart

pip install types-pyserial

# Type checkers will now understand pyserial code in your project

Verify before relying

  • Whether these stubs cover all pyserial 3.5.* APIs or only a subset of the public interface.
  • Compatibility with type checkers other than mypy 2.2.0 and pyright 1.1.411.
  • Whether installing types-pyserial automatically satisfies type checking for existing pyserial code without additional configuration.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 33 days since the last release
Last repo commit
First released
Downloads1,431,771 / month, #3,912 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_pyserial-3.5.0.20260712-py3-none-any.whl

Tags

Capabilities
type stubs pyserialpyserial type hintsserial port typingstatic type checking serialpyserial type checkingtype annotations serialtypeshed stubs
Topics
type-stubsserial-communication

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 pyserial”

  • types-pyserialProvides type hints for the pyserial library, enabling static type…
  • pyserial-asyncioAdds async/await support to pyserial for non-blocking serial port…
  • aioserialProvides async/await serial port I/O using asyncio, wrapping pyserial…

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-pynput · types-pycurl · types-python-jose · pexpect-serial · types-pyfarmhash · types-pyRFC3339 · types-pyaudio · types-pyflakes · types-gdb · types-docker