Skip to main content

pyyi

pyyi is a small package which provides cryptographic recipes and primitives to python developers. The goal is a compact, dependable toolkit: high level recipes for everyday tasks and low level interfaces to classic cryptographic algorithms such as symmetric ciphers, message digests and key derivation functions.

The wheel is pure python and needs nothing beyond the standard library.

install

pip install pyyi

quickstart

>>> import pyyi
>>> key = pyyi.generate_key()
>>> token = pyyi.encrypt(key, b"a really secret message")
>>> pyyi.decrypt(key, token)
b'a really secret message'

license

MIT

Metadata

Release files for pyyi 2.5.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for pyyi 2.5.4
File Interpreter ABI Platform
pyyi-2.5.4-py3-none-any.whl Python 3 none any Details

Release files / pyyi-2.5.4-py3-none-any.whl

Download URL pyyi-2.5.4-py3-none-any.whl
Size 9.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b375d860eb0fda8719f3ba10941eed75ccee943a5b68461b454ddfbcd53e9610
BLAKE2b-256 checksum
How to use checksums
75f9b66d295a3282267efa7ae6ee4fd7938f6d7cfc116695cb5eee76b72de5b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Security for pyyi 2.5.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page