{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/3"}],"enrichment":{"capability":"Encodes and decodes ASN.1 data structures using BER and DER formats, supporting most common ASN.1 types including REAL, with a pure-Python implementation.","skillfed_tags":["asn1-encoding","protocol-parsing","binary-serialization"],"use_cases":["Encode and decode structured data in network protocols that use ASN.1 serialization","Work with Object Identifiers (OIDs) and other ASN.1 primitives in protocol implementations","Integrate ASN.1 handling into legacy Python 2.7 systems without external C dependencies","Parse and generate ASN.1-encoded messages in compliance testing or protocol analysis","Build tools that transform ASN.1-encoded data across different encoding formats"],"what_it_does":"Python-ASN1 is a pure-Python library for encoding and decoding ASN.1 data structures, the standard format used in cryptography, network protocols, and structured data interchange. It supports both BER (parser) and DER (parser and generator) encoding formats, including indefinite lengths, and handles most common ASN.1 types including REAL values. The library is designed to be lightweight and portable\u2014it can be integrated by simply including a file in your project or installed via pip.\n\nThe package provides two main interfaces: an Encoder class for converting Python data into ASN.1 binary format, and a Decoder class for parsing ASN.1 bytes back into readable values. Recent versions add context-manager support for cleaner resource handling and comply with ASN.1:2008 standards. It targets Python 2.7 and 3.5 through 3.14, relying only on enum-compat as a runtime dependency.","worth_installing":"Yes. The package is actively maintained, has no known vulnerabilities, carries a permissive MIT license, and installs with minimal friction. It is suitable for any project needing ASN.1 encoding/decoding in pure Python across a wide range of Python versions."},"id":"asn1","links":{"html":"https://skillfed.io/packages/asn1","md":"https://skillfed.io/packages/asn1.md","pypi":"https://pypi.org/project/asn1/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-05-15","license_spdx":null,"license_treatment":"permissive","name":"asn1","python_support":"unspecified","summary":"Python-ASN1 is a simple ASN.1 encoder and decoder for Python 2.7+ and 3.5+."},"popularity":{"monthly_downloads":1747756,"position":3595,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"3.3.0"}
