$npx skillfedfor your agent

python-gnupg

A wrapper for the Gnu Privacy Guard (GPG or GnuPG)

With conditionsPyPI Python ModulesReleased Dec 202517.6M downloads / moBSDPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — python_gnupg-0.5.6-py2.py3-none-any.whl
v0.5.6 · released 2025-12-31

Yes, if you need to integrate GnuPG operations into Python code and have GnuPG already installed on your system. The package is mature, actively maintained, has no Python dependencies, and carries no known vulnerabilities. It is well-suited for automation, key management, and signature workflows. Not suitable if you need a pure-Python cryptographic library without external tool dependencies.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires GnuPG (gpg or gpg2) to be installed and available on the system PATH; the Python module is a wrapper around the command-line tool.
  • Low friction installation with no runtime dependencies.
  • Active maintenance as of 2026-08-09 with recent releases; the package has been stable since its 2013 inception and supports a wide range of Python versions from 2.7 through 3.14.

License · maintenance · safety

BSD (permissive) — BSD license is permissive, allowing use in proprietary and open-source projects with minimal restrictions beyond attribution.

last release 2025-12-31 (226 days) · last repo commit 2026-08-09 · 143 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 17,637,239 downloads/mo, #1,107 on PyPI

Verify before relying

import gnupg

gpg = gnupg.GPG()
encrypted_data = gpg.encrypt('hello world', recipients=['user@example.com'])
print(encrypted_data.status)
  • Whether the package works with GnuPG 2.x versions and what compatibility issues, if any, exist with modern GPG releases.
  • Performance characteristics when handling large keys or bulk encryption/decryption operations.
Same gist for agents: .md · .json

What it is and what it does

python-gnupg is a wrapper around the GnuPG command-line tool that exposes its key management, encryption, decryption, signing, and verification capabilities to Python programs. It does not implement cryptography itself but delegates to an external GnuPG installation, making it a thin interface layer rather than a cryptographic library.

The package is intended for developers who need to integrate GPG operations into Python applications—managing keys, encrypting sensitive data, or verifying signatures. It supports Python 2.7 and Python 3.6 through 3.14, has no external Python dependencies, and installs as a pure-Python wheel. Maintenance is active, with the repository last updated in August 2026.

Use it for

  • Encrypt sensitive configuration or credentials in Python applications without managing raw cryptographic primitives.
  • Automate GPG key operations (import, export, trust management) as part of deployment or key rotation workflows.
  • Verify GPG signatures on downloaded files or packages to confirm authenticity and integrity.
  • Sign documents or data programmatically to prove origin and non-repudiation in compliance workflows.
  • Build a Python-based key management interface that wraps GnuPG for team or organizational use.

Worth the install?

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

With conditions

Yes, if you need to integrate GnuPG operations into Python code and have GnuPG already installed on your system.

The package is mature, actively maintained, has no Python dependencies, and carries no known vulnerabilities. It is well-suited for automation, key management, and signature workflows. Not suitable if you need a pure-Python cryptographic library without external tool dependencies.

Install

python-gnupg on PyPI

Before you install

Low friction installation with no runtime dependencies. Active maintenance as of 2026-08-09 with recent releases; the package has been stable since its 2013 inception and supports a wide range of Python versions from 2.7 through 3.14.

Requires GnuPG (gpg or gpg2) to be installed and available on the system PATH; the Python module is a wrapper around the command-line tool.

License in practice

BSD license is permissive, allowing use in proprietary and open-source projects with minimal restrictions beyond attribution.

Quickstart

import gnupg

gpg = gnupg.GPG()
encrypted_data = gpg.encrypt('hello world', recipients=['user@example.com'])
print(encrypted_data.status)

Verify before relying

  • Whether the package works with GnuPG 2.x versions and what compatibility issues, if any, exist with modern GPG releases.
  • Performance characteristics when handling large keys or bulk encryption/decryption operations.

Package facts

LicenseBSD permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 226 days since the last release
Last repo commit
First released
Downloads17,637,239 / month, #1,107 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python Modules

Evidence: python_gnupg-0.5.6-py2.py3-none-any.whl

Tags

Capabilities
gnupg python wrappergpg encryption decryptionpython cryptography signinggnu privacy guard pythonpgp key management pythongpg signature verificationpython gnupg bindings
Topics
gpg-wrapperkey-managementsystem-integration
PyPI keywords
GnuPGcryptographyencryptiondecryptionsigningverification

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 › “gnu privacy guard python”

  • python-gnupgProvides Python bindings to GnuPG for key management, encryption,…
  • toolguardGenerates deterministic Python code that enforces business policy…
  • pygnuutilsProvides pure Python implementations of GNU utility commands (like…

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 ansible-sign · PGPy13 · PGPy · gnupg · crypto · rsa · pysequoia · pywidevine · xmlsec · scrypt