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.2.8.tar.gz (456.9 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.2.8-cp314-cp314-win_amd64.whl (92.5 kB view details)

Uploaded CPython 3.14Windows x86-64

pymonocypher-4.0.2.8-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (495.0 kB view details)

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

pymonocypher-4.0.2.8-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (485.0 kB view details)

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

pymonocypher-4.0.2.8-cp314-cp314-macosx_10_15_universal2.whl (199.3 kB view details)

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

pymonocypher-4.0.2.8-cp313-cp313-win_amd64.whl (89.8 kB view details)

Uploaded CPython 3.13Windows x86-64

pymonocypher-4.0.2.8-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (496.5 kB view details)

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

pymonocypher-4.0.2.8-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (483.1 kB view details)

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

pymonocypher-4.0.2.8-cp313-cp313-macosx_10_13_universal2.whl (199.1 kB view details)

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

pymonocypher-4.0.2.8-cp312-cp312-win_amd64.whl (90.6 kB view details)

Uploaded CPython 3.12Windows x86-64

pymonocypher-4.0.2.8-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (498.8 kB view details)

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

pymonocypher-4.0.2.8-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (485.6 kB view details)

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

pymonocypher-4.0.2.8-cp312-cp312-macosx_10_13_universal2.whl (200.7 kB view details)

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

pymonocypher-4.0.2.8-cp311-cp311-win_amd64.whl (90.7 kB view details)

Uploaded CPython 3.11Windows x86-64

pymonocypher-4.0.2.8-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (498.8 kB view details)

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

pymonocypher-4.0.2.8-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (489.3 kB view details)

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

pymonocypher-4.0.2.8-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.2.8.tar.gz.

File metadata

  • Download URL: pymonocypher-4.0.2.8.tar.gz
  • Upload date:
  • Size: 456.9 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.2.8.tar.gz
Algorithm Hash digest
SHA256 0f5bd73568ebff6301de328412855715e38937d63672021aa61185c1b02f3389
MD5 a1b47b43db67834bc8d77dd7b0ef21d8
BLAKE2b-256 44f2621ee4a3042f3b0490fc2f8664cea115b6417643016bf9ab742b98de0d7a

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymonocypher-4.0.2.8.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.2.8-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for pymonocypher-4.0.2.8-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 ddb5b2ccdc82484e8014f7601b2c0fec431712c3382f22ce1bffb831a6030961
MD5 70d09e6c5d8955943a60bd28ca173de5
BLAKE2b-256 36f627f6242242e436cadd668dad0f8c82eac6cb2519b50ec4882d5f414cbe40

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymonocypher-4.0.2.8-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.2.8-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.2.8-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 171390360a11c6ad8f5ac9a5cc457d8efb3fdc7337dde6c1fbcb8b5ed066b732
MD5 49529143c23ae7ed3e2fc2451e43fece
BLAKE2b-256 76dd49038754ff5c676ee02514758df595f918a6adf29fe192442157d2a94aa3

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymonocypher-4.0.2.8-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.2.8-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pymonocypher-4.0.2.8-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ebb034df483bffec2dbde4a4c3568de8945a86dc690372aaf7a93e10fc7b9b62
MD5 41adc4b2e7abd88f1e6702e7d294ddd4
BLAKE2b-256 27d0b5c702d454666ea97d45f33d4b556e0df65e06fba7d8107f2d0bc4ba8503

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymonocypher-4.0.2.8-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.2.8-cp314-cp314-macosx_10_15_universal2.whl.

File metadata

File hashes

Hashes for pymonocypher-4.0.2.8-cp314-cp314-macosx_10_15_universal2.whl
Algorithm Hash digest
SHA256 ca243430bee0eba0790278229cc86c08afbd46f4779d894cb5b27ebd666ff70c
MD5 317d8b4bf261fd587d0a83edb6476cb3
BLAKE2b-256 65fede78010b65e2e26b5219e8f71fe8a41d4e02bace608fbe726bdc98d0378e

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymonocypher-4.0.2.8-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.2.8-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for pymonocypher-4.0.2.8-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 fa71044df50b21bc50b38f02753f1acf8661e89bb092286667e4bc60f46af8fc
MD5 b05be0d1ea0643ca3b328d13a57e7411
BLAKE2b-256 4e47220111c8fcd7baa79c36bc98c3e4d3dd67fe323c1f308f5324f98e5df1dc

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymonocypher-4.0.2.8-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.2.8-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.2.8-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 92e7b1b254283e6bfb02742e7ed555fdadeb0c0767532e444e1a645539a3fa7d
MD5 58e336ec31a8a3093eb119b8207c8c7d
BLAKE2b-256 a58589e8b501f51b864cf91651e3d8de2c1c470503953de944b3b98d139a3a47

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymonocypher-4.0.2.8-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.2.8-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pymonocypher-4.0.2.8-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 508a2a9f78927da211a26a5b228b3624c9f4e9c59215e9ccbddc4c4676dc709e
MD5 c557ccddfbd32c5c4bdd6912ec3765a5
BLAKE2b-256 73cd1494cb6359eb81414683bac8a893bdab29aee25cb2c4f69f920000e540ca

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymonocypher-4.0.2.8-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.2.8-cp313-cp313-macosx_10_13_universal2.whl.

File metadata

File hashes

Hashes for pymonocypher-4.0.2.8-cp313-cp313-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 edff5f7a1ad266b31a33eac8679f108b14e59bb8f394b7d8710b0935fcdc0c0b
MD5 9cc1eeef6cab109ce3b7db3b35c3b6de
BLAKE2b-256 28af4e6a7a7968ca5476e3ef1845b85622126bcda1c7f1e0e11f8f25a3750312

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymonocypher-4.0.2.8-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.2.8-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for pymonocypher-4.0.2.8-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 50320cfb92def107324ae88b4592e3845c98291b4850e6afc583b234af048763
MD5 0838bbdbc8633f743d340aa2fff18ed3
BLAKE2b-256 e38f2376cc1fd570c66ed12d5350c7b8277f340ed47debbc722d634096bcd15f

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymonocypher-4.0.2.8-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.2.8-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.2.8-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 bdaa871b8fd46f9412a0814989fdd15eca71201c0a0ee5d6c431e7312fa99069
MD5 ea937515b6bc0d41321387bc4119ad68
BLAKE2b-256 4680e3f3f6d6a53f72aa1ecc4c752b335518e985311af32f27435f9ea1962e81

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymonocypher-4.0.2.8-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.2.8-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pymonocypher-4.0.2.8-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 77a6eb82c762e1ad21df086caec0a9f57014298fcdda8c50a711c6d2388d0789
MD5 95ed50ca7047bb91301ce6ec224f6139
BLAKE2b-256 1a95b102f259f75bd96b9f854315706d8b4c9d344f8c45e022abd413a225cb30

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymonocypher-4.0.2.8-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.2.8-cp312-cp312-macosx_10_13_universal2.whl.

File metadata

File hashes

Hashes for pymonocypher-4.0.2.8-cp312-cp312-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 7b041489b3caadb6ec70d8029e7fca7582ab4211e2c147bebc230678b098867f
MD5 bbbcbd1e1ae7f4914233a2d6ee067836
BLAKE2b-256 a72f62b4c7245a91b1214d1b6284ad2025a3f55c6960977660d5aa2bad839b1e

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymonocypher-4.0.2.8-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.2.8-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for pymonocypher-4.0.2.8-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 8337bd5a907dd9711299451c7a9b8fcc5520603ba681285e9bf487c36f956c11
MD5 4662613836ba232973ace747077f14c3
BLAKE2b-256 7fb9d5431ca6691b2dc961c208e5013523fe35497c1f65c09c8e7ab5eb9ef078

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymonocypher-4.0.2.8-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.2.8-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.2.8-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 bfdd14b8ddd1a8a43e1caba34d6f093169b3432df777315d9c9f681a3a9a3464
MD5 596557ee9a5d9bf948f45a2852c1ffb7
BLAKE2b-256 0622c2ffdea4afe9f7716b2f672057e1759ebc96ac96765b54c21da863c5c3d3

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymonocypher-4.0.2.8-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.2.8-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pymonocypher-4.0.2.8-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 c44b0fecc67882cfa77467b8fe4da63d04b4fb3ecb0e599fdb99a170fb8f9141
MD5 2a50031e5361947a8b7c28b7ce934709
BLAKE2b-256 a107c51fd0fa1745668f3277b6b6fa46dde08b2eb59a6528b76e7007e4577a22

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymonocypher-4.0.2.8-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.2.8-cp311-cp311-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for pymonocypher-4.0.2.8-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 1a3490cc1b025c28e9bd39e2f1536f7f5f8606a85257516725e2b29b1466c15e
MD5 ec355330dac6b3bd1e46ea2742c67c77
BLAKE2b-256 99ffb861b4c480430ee9a4ca9ddacc1853a6d6d8bebaa4740f7e498bc894559c

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymonocypher-4.0.2.8-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