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

Uploaded CPython 3.14Windows x86-64

pymonocypher-4.0.2.7-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.7-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.7-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.7-cp313-cp313-win_amd64.whl (89.8 kB view details)

Uploaded CPython 3.13Windows x86-64

pymonocypher-4.0.2.7-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.7-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.7-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.7-cp312-cp312-win_amd64.whl (90.6 kB view details)

Uploaded CPython 3.12Windows x86-64

pymonocypher-4.0.2.7-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.7-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.7-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.7-cp311-cp311-win_amd64.whl (90.7 kB view details)

Uploaded CPython 3.11Windows x86-64

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

File metadata

  • Download URL: pymonocypher-4.0.2.7.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.7.tar.gz
Algorithm Hash digest
SHA256 d32a842000fc24fc929313311c60d9b7b3a9a77e7ba8ccbd691d7440c189b0f3
MD5 6dd44931afd9e442c5020f4afb5cfd0d
BLAKE2b-256 d2166420c3f8a72006aea465f25d5c90e552afdeb66be7941de668f5c175eb24

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pymonocypher-4.0.2.7-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 51cb691441b26a328589ae98550914aa7e54b3fdaac6baf45be66c7df4f1bd0a
MD5 2c695adffd0b969c2dcff9a3d4e2b1bd
BLAKE2b-256 d4f3910f68b24ef2c7dc31c1fae484b9921f561311c8b933da6218fc05e97e10

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymonocypher-4.0.2.7-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.7-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.7-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3de61bda16ac9c28093c98239221e94ed5258354634324db63604ea94b7e22da
MD5 7fd9d91aa048c35b09df3ebb03c1d477
BLAKE2b-256 7f256831fb8cb2235782afea4ea206e0952bd9ba94191d79cae57519f8cdbcd7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pymonocypher-4.0.2.7-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 7562a89b188d78740ac9f5f7a73fe4b7b4dd8ec863e646aeeb17f4b7b6ef3f71
MD5 41ac01146942b746e16e00f64b0ffec3
BLAKE2b-256 38db9c8720a164f2517cc48a1f21642c17f4a1e78c9b4cfc686cb8edb32cb5d5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pymonocypher-4.0.2.7-cp314-cp314-macosx_10_15_universal2.whl
Algorithm Hash digest
SHA256 dc9457c88c48a3ffe95d0c1c0a484fad38b4a76af5defccf03835e202f151a73
MD5 48b654b5ce505853519fc5e5ba8f70bc
BLAKE2b-256 b75d34cafd285fb9d288868bf2622cdc0fd11b56931f7e1e38506ea186bdf2d3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pymonocypher-4.0.2.7-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 22881a58997baf3aadce4dbd0e7cab7d5411c037a66e56adcf762490380ff3ca
MD5 f49416ce4aeb7c29b995b10553612c44
BLAKE2b-256 e6888e4bebfa5183673af750a858729717e77de3ae4e7e60cb7425a684399481

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymonocypher-4.0.2.7-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.7-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.7-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9587c09b99ab50c442a38eb093a956e929d6fc9d70e89babf301dfc165d65df3
MD5 506d02e51a48f4605c80ef89bb69a8ec
BLAKE2b-256 f42ab2327963edb0c28e4540ac0c6d235c6e9a8ea85ed5eb6660d4cadab3db84

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pymonocypher-4.0.2.7-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 8e6332cb75c7ecf2e0da9a3a967b778259922530b233a0a6b8d41fad4397e9cb
MD5 8800ec7b391116336f91820de9e0fdf1
BLAKE2b-256 f5a23aabc0e2f20d6f0c3832f6f825f7d94f2a431dbe3bbb166d43320fe867d4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pymonocypher-4.0.2.7-cp313-cp313-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 81c9befdc590d2b347648eb7159814cf07b35d498ef4bbf92575e4dfe14a2194
MD5 962d775403a327295dc7a72e2d2d3b18
BLAKE2b-256 81d01c0841d8a34e593616852ff3542690e0e3ea43e0ef5456f776c386ff989e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pymonocypher-4.0.2.7-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 a833cbd577f62e89a9fbdaaa226eecd3de956838e8dd14a8fb11d3345e7d7768
MD5 3204f45ebe57c75c96518ca1a531ef07
BLAKE2b-256 abac837aa12082f60d28ada9b39c51282725a6506e203b25b7efcc25f4616ee7

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymonocypher-4.0.2.7-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.7-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.7-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8a15efca83c29442985a1d6954e050b2f40ba6ff4b3a30e3fe0c9134cf86ad60
MD5 6542697c9556b60834751fdf6c916e17
BLAKE2b-256 e6dbfe8c73702bbf33f07f5252e7dbfae159b649e8d76458772afcb54f46f10b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pymonocypher-4.0.2.7-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 3103c62f2e9518ed380e0c66e1db4fa3fc3b70a16ca3c0b3ca4bb26183cc5826
MD5 4655da9377418db44aa8489bdae7bbcb
BLAKE2b-256 b67fca3dbb0f90d0c7beaf404cdae8efa23cd5b7a2f8ee31bbf105291f8fd4ab

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pymonocypher-4.0.2.7-cp312-cp312-macosx_10_13_universal2.whl
Algorithm Hash digest
SHA256 6d3ac6cbba33ef0bec958bba545de96b7f2d72802afa3510f7bd74c0272676fc
MD5 1327387a8a32043e3c3c4b5abe8987c6
BLAKE2b-256 ed74413dbe205b1a16a5cef4db20161cdc12dbac45671c5efe32f845ed5ddee0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pymonocypher-4.0.2.7-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 5d0de9d7d2e2d3ed035544f5f92de24fd56d460ac91c0de4f0582afd75be1628
MD5 ef73f1a1ab41e955943132fc5234ab4d
BLAKE2b-256 6051bab2dbee9c3433bbd698a13667ccf8c18bdcd9b6c38742d4c5bc5b5d012b

See more details on using hashes here.

Provenance

The following attestation bundles were made for pymonocypher-4.0.2.7-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.7-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.7-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d23b47519afb435d4f2b20d39452dc9f10f19537479009ec0f9b3b432a6fbc18
MD5 33ff889dfca22e4e85169264233bccf6
BLAKE2b-256 0ecb31179e87741d30b62b780b14467cd175d84087e83e3de3b4346779aff3f8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pymonocypher-4.0.2.7-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 3ad1d66491d2f85161dd5b20563669457e2b95d5756c3585e5bab9d277ddb5e7
MD5 d92965807031bfe424f7bd216cd06454
BLAKE2b-256 0872eddbde7e9534d3e75ac305bc723e496f1a7243dfd11187ed0d6e9c5c9eb2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pymonocypher-4.0.2.7-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 3bc5250dcbabfe242d1737825265bccdb9cb6c301d43d6148ac77807fcf85839
MD5 38efbe1174bbbf54c9bc42ccb1fae6c4
BLAKE2b-256 0e217fa69c6ad31093376e6e001b73ddeec990c0212b749c3a92f8bb4c9b63d3

See more details on using hashes here.

Provenance

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