$npx skillfedfor your agent

types-pyasn1

Typing stubs for pyasn1

With conditionsPyPI Quality AssuranceReleased Jul 20262.5M downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — types_pyasn1-0.6.0.20260724-py3-none-any.whl
v0.6.0.20260724 · released 2026-07-24 · Python >=3.10

Yes, if you use pyasn1 and want static type checking. Install it alongside pyasn1 to enable mypy or pyright to validate your code. It has no runtime cost, is actively maintained, and carries a permissive license. If you do not use a type checker or do not use pyasn1, there is no reason to install it.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later; only provides type information, does not provide runtime functionality for pyasn1 itself.
  • Low install friction with no runtime dependencies.
  • Actively maintained as part of typeshed, with a recent release (21 days old) and tested against mypy 2.3.0 and pyright 1.1.411.

License · maintenance · safety

Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing use in both open-source and proprietary projects with minimal restrictions.

last release 2026-07-24 (21 days) · last repo commit 2026-08-14 · 37 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 2,513,751 downloads/mo, #3,031 on PyPI

Verify before relying

pip install types-pyasn1

# In your code, type checkers will now understand pyasn1 types:
import pyasn1
# mypy or pyright will validate pyasn1 usage without errors
  • Whether coverage of pyasn1 0.6.* API is complete or if some modules lack type annotations.
  • Compatibility with pyasn1 versions outside the 0.6.* series.
Same gist for agents: .md · .json

What it is and what it does

types-pyasn1 is a type stub package that provides type annotations for the pyasn1 library, which handles ASN.1 (Abstract Syntax Notation One) encoding and decoding. It is part of the typeshed project and enables static type checkers like mypy and pyright to understand and validate code that uses pyasn1, catching type errors at development time rather than runtime.

The package contains no runtime code—it is purely metadata for type checkers. It targets pyasn1 version 0.6.* and has been tested with mypy 2.3.0 and pyright 1.1.411. Installation is lightweight with no dependencies, and it requires Python 3.10 or later. Updates and fixes are contributed upstream to typeshed, so this package tracks the main typeshed repository.

Use it for

  • Enable mypy or pyright to type-check code that imports and uses pyasn1 for ASN.1 serialization tasks.
  • Catch type errors in cryptographic or network protocol code that relies on pyasn1 before runtime.
  • Provide IDE autocomplete and type hints for pyasn1 APIs in editors that support type stubs.
  • Validate data structure definitions and encoding/decoding calls against pyasn1's type contracts.

Worth the install?

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

With conditions

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

Install it alongside pyasn1 to enable mypy or pyright to validate your code. It has no runtime cost, is actively maintained, and carries a permissive license. If you do not use a type checker or do not use pyasn1, there is no reason to install it.

Install

types-pyasn1 on PyPI

Before you install

Low install friction with no runtime dependencies. Actively maintained as part of typeshed, with a recent release (21 days old) and tested against mypy 2.3.0 and pyright 1.1.411.

Requires Python 3.10 or later; only provides type information, does not provide runtime functionality for pyasn1 itself.

License in practice

Licensed under Apache-2.0 (permissive), allowing use in both open-source and proprietary projects with minimal restrictions.

Quickstart

pip install types-pyasn1

# In your code, type checkers will now understand pyasn1 types:
import pyasn1
# mypy or pyright will validate pyasn1 usage without errors

Verify before relying

  • Whether coverage of pyasn1 0.6.* API is complete or if some modules lack type annotations.
  • Compatibility with pyasn1 versions outside the 0.6.* series.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 21 days since the last release
Last repo commit
First released
Downloads2,513,751 / month, #3,031 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_pyasn1-0.6.0.20260724-py3-none-any.whl

Tags

Capabilities
type stubs pyasn1pyasn1 type hintsstatic type checking asn1mypy pyasn1 annotationspyright type stubspython type checking cryptographyasn.1 type annotations
Topics
type-stubsstatic-analysis

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

  • types-pyasn1Provides type stubs for the pyasn1 package, enabling static type…
  • pyasn1-modulesProvides a collection of ASN.1 data structures expressed as Python…
  • pyasn1Pyasn1 encodes and decodes ASN.1 data structures using BER, CER, DER,…

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

More Quality Assurance packages

coverage Worth it
PyPI · Testing · released Aug 2026

Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.

Install it if you want to measure test completeness or enforce coverage thresholds in your project.

permissive licensepure Python · 3.10+
335.8Mdownloads / mo
ruff Worth it
PyPI · Python Modules · released Aug 2026

Ruff is a Python linter and code formatter written in Rust that combines linting, formatting, and code fixing into a single tool, replacing Flake8, Black, isort, and related utilities.

MITcompiled wheel · 3.7+
316.1Mdownloads / mo
pexpect With conditions
PyPI · Software Development · released Nov 2023

Pexpect spawns and controls interactive console applications by sending input and matching output patterns, automating tasks that would otherwise require manual interaction.

ISCpure Pythonaging
200.8Mdownloads / mo
black Worth it
PyPI · Python Modules · released May 2026

Black reformats Python source code to a consistent style by parsing entire files and rewriting them according to an opinionated, deterministic set of rules, eliminating manual formatting decisions.

MITpure Python · 3.10+
179.9Mdownloads / mo
pytest-xdist Worth it
PyPI · Utilities · released Jul 2025

pytest-xdist distributes pytest tests across multiple CPU cores or machines to speed up test execution, with the simplest usage being `pytest -n auto` to spawn workers equal to available CPUs.

Install it if your test suite takes long enough that parallelization would save meaningful time.

MITpure Python · 3.9+
177.1Mdownloads / mo
cfn-lint Worth it
PyPI · Quality Assurance · released Aug 2026

Validates AWS CloudFormation templates in YAML or JSON format against resource provider schemas and best practices, checking property values and configuration correctness.

Install it if you work with CloudFormation templates.

MIT-0pure Python
114.9Mdownloads / mo

See also types-netaddr · types-pyflakes · pyasn1-modules · pyasn1 · asn1 · types-boltons · types-mypy-extensions · types-oauthlib · types-networkx · types-httplib2