$npx skillfedfor your agent

pem

PEM file parsing in Python.

With conditionsPyPI Python ModulesReleased Jun 20231.4M downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pem-23.1.0-py3-none-any.whl
v23.1.0 · released 2023-06-21 · Python >=3.8

Yes, if you need straightforward PEM parsing with zero dependencies and your use case does not require ongoing maintenance or security updates. The library is stable and handles its narrow scope well, but the abandoned status (no releases since June 2023) means no fixes for future Python or certificate standard changes. Suitable for stable, long-lived applications that do not depend on active upstream support.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low install friction with no runtime dependencies.
  • However, the package is marked as abandoned with no releases for 1150 days, which may affect long-term maintenance and security updates.

License · maintenance · safety

permissive license (permissive) — Licensed under MIT (permissive), allowing free use, modification, and distribution with minimal restrictions.

last release 2023-06-21 (1150 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,433,597 downloads/mo, #3,906 on PyPI

Verify before relying

import pem
certs = pem.parse_file("chain.pem")
print(str(certs[0]))
  • Whether the lack of updates since June 2023 affects compatibility with current Python or certificate standards.
  • Whether Twisted integration helpers remain functional with current Twisted versions.
Same gist for agents: .md · .json

What it is and what it does

pem is a lightweight Python library for parsing and extracting individual certificates, keys, and certificate chains from PEM-formatted files. It handles the common problem of different servers expecting certificate components in different arrangements—some require separate files, others concatenated, others combined—by providing simple parsing that works across all scenarios.

The library contains no runtime dependencies and does not validate or interpret certificate contents; it purely extracts and splits PEM-encoded blocks. It also includes helpers for Twisted to reduce boilerplate when loading PEM data into Twisted SSL certificate objects. The package supports Python 3.8 through 3.12 and is classified as production/stable.

Use it for

  • Extract individual certificates from a concatenated PEM chain file for use with servers that require separate certificate files.
  • Parse mixed PEM files containing keys, certificates, and chains to reorganize them for different server configurations.
  • Load PEM data into Twisted SSL Certificate objects using built-in helper functions.
  • Programmatically split OpenPGP keys and certificates from PEM files for cryptographic operations.
  • Read certificate chains from disk and access individual components via the parsed PEM objects.

Worth the install?

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

With conditions

Yes, if you need straightforward PEM parsing with zero dependencies and your use case does not require ongoing maintenance or security updates.

The library is stable and handles its narrow scope well, but the abandoned status (no releases since June 2023) means no fixes for future Python or certificate standard changes. Suitable for stable, long-lived applications that do not depend on active upstream support.

Install

pem on PyPI

Before you install

Low install friction with no runtime dependencies. However, the package is marked as abandoned with no releases for 1150 days, which may affect long-term maintenance and security updates.

License in practice

Licensed under MIT (permissive), allowing free use, modification, and distribution with minimal restrictions.

Quickstart

import pem
certs = pem.parse_file("chain.pem")
print(str(certs[0]))

Verify before relying

  • Whether the lack of updates since June 2023 affects compatibility with current Python or certificate standards.
  • Whether Twisted integration helpers remain functional with current Twisted versions.

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceAbandoned 1,150 days since the last release
First released
Downloads1,433,597 / month, #3,906 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python Modules

Evidence: pem-23.1.0-py3-none-any.whl

Tags

Capabilities
pem file parsingcertificate parsing pythonextract keys from pemsplit pem certificatesparse ssl certificatespem file splittingcertificate chain parsing
Topics
certificate-parsingpem-formatzero-dependency
PyPI keywords
cryptographypempyopensslssltlstwisted

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 › “pem file parsing”

  • pemParses and splits PEM files (Base64-encoded DER keys and…
  • truelayer-signingProduces and verifies cryptographic signatures for TrueLayer API…
  • wallet-py3kGenerates Apple Wallet (.pkpass) files from Python, encoding pass…

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

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also asn1crypto · pyas2lib · trustme · acme · wincertstore · docker-image-py · certbot · certifi · apkutils2 · tls-parser