Skip to main content

Python ctypes bindings to the Monocypher library

Project description

pymonocypher

This python package uses cython to wrap the Monocypher C library. Monocypher is an easy to use, easy to deploy, auditable crypto library written in portable C.

Normal Python installations have access to a wide selection of quality crypto libraries. This python binding is intended to communicate with other implementations that do use the Monocypher library. A typical application is to communicate with a microcontroller that uses Monocypher.

The Python binding API mirrors the underlying C API, but with simplifications to only pass bytes objects, not uint8_t * and length.

Installation

You can install directly from pypi:

pip install pymonocypher

You can then use pymonocypher:

python
>>> import monocypher
>>> monocypher.blake2b(b'hello world')

You may also build a standalone, reproducible Debian package:

make deb

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pymonocypher-4.0.3.0.tar.gz (457.7 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pymonocypher-4.0.3.0-cp314-cp314-win_amd64.whl (93.1 kB view details)

Uploaded CPython 3.14Windows x86-64

pymonocypher-4.0.3.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (490.5 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

pymonocypher-4.0.3.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (481.0 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

pymonocypher-4.0.3.0-cp314-cp314-macosx_10_15_universal2.whl (199.7 kB view details)

Uploaded CPython 3.14macOS 10.15+ universal2 (ARM64, x86-64)

pymonocypher-4.0.3.0-cp313-cp313-win_amd64.whl (90.3 kB view details)

Uploaded CPython 3.13Windows x86-64

pymonocypher-4.0.3.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (492.4 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

pymonocypher-4.0.3.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (478.7 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

pymonocypher-4.0.3.0-cp313-cp313-macosx_10_13_universal2.whl (199.4 kB view details)

Uploaded CPython 3.13macOS 10.13+ universal2 (ARM64, x86-64)

pymonocypher-4.0.3.0-cp312-cp312-win_amd64.whl (91.1 kB view details)

Uploaded CPython 3.12Windows x86-64

pymonocypher-4.0.3.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (495.3 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

pymonocypher-4.0.3.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (481.5 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

pymonocypher-4.0.3.0-cp312-cp312-macosx_10_13_universal2.whl (201.1 kB view details)

Uploaded CPython 3.12macOS 10.13+ universal2 (ARM64, x86-64)

pymonocypher-4.0.3.0-cp311-cp311-win_amd64.whl (91.4 kB view details)

Uploaded CPython 3.11Windows x86-64

pymonocypher-4.0.3.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (494.8 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

pymonocypher-4.0.3.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (485.1 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

pymonocypher-4.0.3.0-cp311-cp311-macosx_10_9_universal2.whl (199.4 kB view details)

Uploaded CPython 3.11macOS 10.9+ universal2 (ARM64, x86-64)

File details

Details for the file pymonocypher-4.0.3.0.tar.gz.

File metadata

  • Download URL: pymonocypher-4.0.3.0.tar.gz
  • Upload date:
  • Size: 457.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for pymonocypher-4.0.3.0.tar.gz
Algorithm Hash digest
SHA256 93ca80b0bd4ef7ab30417fbc2abafe11aa7261125627ba2157c594cb0c8e0d1e
MD5 6a46970b28b199f7a712758f91d623cc
BLAKE2b-256 8c83c62c03aaa6fa8dbba7cfd0f968c34a659eb779bbf5db980102729f77b5c9

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymonocypher-4.0.3.0.tar.gz:

Publisher: packaging.yml on jetperch/pymonocypher

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pymonocypher-4.0.3.0-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for pymonocypher-4.0.3.0-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 e406a401cb72a29eb7045506ff1c0ec743844b72302fb0fbfbcefceea00a8b6a
MD5 75d1f5a62ea7c6c6ac9457397f88d90b
BLAKE2b-256 e14f6b187da5c7bd070f42222d62c353f7db4185f3b7322eabc24b7476fd7369

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymonocypher-4.0.3.0-cp314-cp314-win_amd64.whl:

Publisher: packaging.yml on jetperch/pymonocypher

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pymonocypher-4.0.3.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pymonocypher-4.0.3.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3d2459918ff5e4a4620779b631a813cec51ec10aad325d0ebe540fc5030cb442
MD5 4e05e8f4fcf74875a56703b9fc7ac491
BLAKE2b-256 8ea1f9dd17d6920ba6b198bb7168af294ac0b4eeb1920e8b13391b5c4057fe10

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymonocypher-4.0.3.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl:

Publisher: packaging.yml on jetperch/pymonocypher

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pymonocypher-4.0.3.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pymonocypher-4.0.3.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 882f90d47812462d11df985a589cc34593561ef4387036443d443de5bb237c06
MD5 d5ec2f29baec0e48d1587bdd6b78a35c
BLAKE2b-256 c8d7b99e61cdacd5ae426bbf26459c117dd6151b74c9a83ee9a6c212887be639

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymonocypher-4.0.3.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl:

Publisher: packaging.yml on jetperch/pymonocypher

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pymonocypher-4.0.3.0-cp314-cp314-macosx_10_15_universal2.whl.

File metadata

File hashes

Hashes for pymonocypher-4.0.3.0-cp314-cp314-macosx_10_15_universal2.whl
Algorithm Hash digest
SHA256 1b61132893554f9dffc92b5bf94482d18c80d19a2b596ec2888c8706fa6cd8e2
MD5 b726201a9dcc03f4d8a8bf114fbd0cef
BLAKE2b-256 7fb483f4b94f7e54a55f97e7d440bdcfd3b9b1279904a847854d2b10ba4cb4f5

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymonocypher-4.0.3.0-cp314-cp314-macosx_10_15_universal2.whl:

Publisher: packaging.yml on jetperch/pymonocypher

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pymonocypher-4.0.3.0-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for pymonocypher-4.0.3.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 440658476c578d318bede35a7e34061e4b14ed55c7a13087e7033376b72e89f1
MD5 7268d72d9d97cc146d5b690db69c1b9b
BLAKE2b-256 d0b3a4b86ec96788a9e02ad7f4438f85f1ac863a2507fa7e8abb5020e6eee595

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymonocypher-4.0.3.0-cp313-cp313-win_amd64.whl:

Publisher: packaging.yml on jetperch/pymonocypher

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pymonocypher-4.0.3.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pymonocypher-4.0.3.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7ba6dcc845673df69390369e3f0d4e73076208ae089318a5ac3d237cf11fb9b4
MD5 982310d824808e620cd58b0318069177
BLAKE2b-256 d9161ea899f28cb416d69eb95f665a72aa0a2a2ae9578844f6f4f3f0c3545ee6

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymonocypher-4.0.3.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl:

Publisher: packaging.yml on jetperch/pymonocypher

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pymonocypher-4.0.3.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pymonocypher-4.0.3.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 87faf76638b5d2a4200a8b77ae8b356d8203a1f3a6fd30cb7ef809b548e9e933
MD5 0290bb69d4e26ef226d6ba29b9b04520
BLAKE2b-256 8ab0ba11dcd885872301a816566d5812d191fa095e07014b85a4a199dff447e0

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymonocypher-4.0.3.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl:

Publisher: packaging.yml on jetperch/pymonocypher

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pymonocypher-4.0.3.0-cp313-cp313-macosx_10_13_universal2.whl.

File metadata

File hashes

Hashes for pymonocypher-4.0.3.0-cp313-cp313-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 7d49d30dd39e6afdbe4d1e61af4345e5b6e63d08035993c4e9430f6ea61ae860
MD5 f6d169ce3174496ecde9c0fe2e3d0f76
BLAKE2b-256 9a3e902d013cc0a35d121eac4423e1626bb7edd1fe62c02324324b66d5990316

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymonocypher-4.0.3.0-cp313-cp313-macosx_10_13_universal2.whl:

Publisher: packaging.yml on jetperch/pymonocypher

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pymonocypher-4.0.3.0-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for pymonocypher-4.0.3.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 2850e020a79d6dde1263d12b11cb9bec5e1303d78553f9cb9aa80def59039de8
MD5 40d5dae6e26aeb71a523fc03d138483d
BLAKE2b-256 9c3a474f31067097c1a21f3fc5aec832142a827baa9ce0470efcb7c838b28c59

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymonocypher-4.0.3.0-cp312-cp312-win_amd64.whl:

Publisher: packaging.yml on jetperch/pymonocypher

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pymonocypher-4.0.3.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pymonocypher-4.0.3.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 831c4c12db680fd4ceba3533b365472d508fb5589866d10a891beb62f262a3ed
MD5 8c4ec99ec7c33443dc0f288c52174d59
BLAKE2b-256 9fe419a5fafa80dd54f200c1fd85b6e6991a22564f6a1811bcf674ec62d22aeb

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymonocypher-4.0.3.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl:

Publisher: packaging.yml on jetperch/pymonocypher

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pymonocypher-4.0.3.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pymonocypher-4.0.3.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 2441bd956e8351cf9f6fee5b2db5e6a5a155e72fdcc532ce87fb641d1237654d
MD5 138fae5e3035ddbe23e4dc32830de413
BLAKE2b-256 9181e3c5a138dacc84e2b3e098c4d3a1322616ac08eec80270215c5d52726c83

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymonocypher-4.0.3.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl:

Publisher: packaging.yml on jetperch/pymonocypher

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pymonocypher-4.0.3.0-cp312-cp312-macosx_10_13_universal2.whl.

File metadata

File hashes

Hashes for pymonocypher-4.0.3.0-cp312-cp312-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 f2efccc9bc57fa188bb8437281cde33417daad8d142c08c3c1f6eb1e61444e4b
MD5 2cd2b3463c8c98634720971f9f33a211
BLAKE2b-256 bd21c1269db992fb2e606f435c9b334d7c16994f46216eb264ba50e7526804da

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymonocypher-4.0.3.0-cp312-cp312-macosx_10_13_universal2.whl:

Publisher: packaging.yml on jetperch/pymonocypher

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pymonocypher-4.0.3.0-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for pymonocypher-4.0.3.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 f742734ca85fab2e1ea4dcf678f8dbc67775741b814fa51547d2dc6533e961a3
MD5 804fbab64adea55652b0f988e483b9c7
BLAKE2b-256 b9777db83a1fea71fa78549e74b1e7da721fd4070d7b05d1b20c457454c44cdf

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymonocypher-4.0.3.0-cp311-cp311-win_amd64.whl:

Publisher: packaging.yml on jetperch/pymonocypher

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pymonocypher-4.0.3.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pymonocypher-4.0.3.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 58a890ca12827c25bdeb65c3a099f6db3236a79282495db8ec084c1fd75a2290
MD5 709e605f43907f1487802ea4de492f21
BLAKE2b-256 0b99e919529ac0373b07255ba55fdcb64d1737700cdd5edef6c79667db596640

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymonocypher-4.0.3.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl:

Publisher: packaging.yml on jetperch/pymonocypher

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pymonocypher-4.0.3.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pymonocypher-4.0.3.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 d4280e919ef5c431ece5b40d300636832e57c9d9f3f6cd5b6cfa8a56ff772984
MD5 63bae915ff7abf6cc91f79f0d2709d43
BLAKE2b-256 6eef5eaf01bef290d39817c86c94796729e40df78f53ac27d2c5b30f19105c5e

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymonocypher-4.0.3.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl:

Publisher: packaging.yml on jetperch/pymonocypher

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pymonocypher-4.0.3.0-cp311-cp311-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for pymonocypher-4.0.3.0-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 5108808f4fb26106546fca9e9ff8bb3626f7d053229d937b0c253a452933de1a
MD5 404ad73d64fb728c5eb01357da6b32e6
BLAKE2b-256 684adb24aba236b5b922de7a0719b92ca318682391175d502b138ad17bea2acb

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymonocypher-4.0.3.0-cp311-cp311-macosx_10_9_universal2.whl:

Publisher: packaging.yml on jetperch/pymonocypher

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page