Registry / serialization / certificates

certificates

JSON →
library2.3.3pypypiunverified

A Python library for generating event certificates easily. Version 2.3.3 supports Python >=3.12, with a simple API to create PDF certificates from templates or data models. Active development on GitHub.

pip install certificates
INSTALL
IMPORT
SIG · CERTIFICATES
C
certificates
serializationpythonv2.3.3
Install
1.5s avg
Import
Disk
16MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v2.1.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 17.8MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 1.5s · import 0.000s · 18MB
16MB installed
● package 16MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Certificate
from certificates import Certificate
from certificates import Certificate

Create a basic certificate with default template and save as PDF.

from certificates import Certificate from datetime import datetime cert = Certificate( name="Jane Doe", event="PyCon 2024", date=datetime(2024, 5, 10), template="modern" ) cert.generate("jane_doe_certificate.pdf") print("Certificate generated!")
Debug
Known issues
breakingIn version 2.3.0, the API was restructured: `Certificate` now requires a `template` argument (string). Omitting it will raise a TypeError.
fix
Pass `template='modern'` or another valid template name.
affects: >=2.3.0
deprecatedThe `from certificates.event import CertificateEvent` import path is deprecated since 2.3.0. Use `from certificates import CertificateEvent` instead.
fix
Change import to `from certificates import CertificateEvent`.
affects: >=2.3.0,<3.0
gotchaThe library requires Python >=3.12. Installing on older Python versions will fail.
fix
Ensure Python 3.12 or higher is used.
affects: >=2.3.0
Upgrade
Version history
2.3.3latest on PyPI · released Apr 17, 2026
Audit
Dependencies
reportlabrequiredPDF generation
pydanticrequireddata validation for certificate models
Agent activity
15 hits · last 30 days
node
10
OpenAI (training)
1
Resources
certificates — pip install certificates · libregistry