# 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.
* pymonocypher [Source code](https://github.com/jetperch/pymonocypher)
* Monocypher [official site](https://monocypher.org/)
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')
Raw data
{
"_id": null,
"home_page": "https://github.com/jetperch/pymonocypher",
"name": "pymonocypher",
"maintainer": null,
"docs_url": null,
"requires_python": "~=3.9",
"maintainer_email": null,
"keywords": "cryto cryptography monocypher chacha blake2b 25519",
"author": "Jetperch LLC",
"author_email": "joulescope-dev@jetperch.com",
"download_url": "https://files.pythonhosted.org/packages/f5/52/751161f7453bb5ffd0b556035753fbf1cfc16c87fef7cc5a14d0d07f2832/pymonocypher-4.0.2.3.tar.gz",
"platform": null,
"description": "\n# pymonocypher\n\nThis python package uses cython to wrap the Monocypher C library. \nMonocypher is an easy to use, easy to deploy, auditable crypto library\nwritten in portable C. \n\nNormal Python installations have access to a wide\nselection of quality crypto libraries. This python binding is intended to\ncommunicate with other implementations that do use the Monocypher library.\nA typical application is to communicate with a microcontroller that \nuses Monocypher.\n\n* pymonocypher [Source code](https://github.com/jetperch/pymonocypher)\n* Monocypher [official site](https://monocypher.org/)\n\nThe Python binding API mirrors the underlying C API, but with \nsimplifications to only pass bytes objects, not uint8_t * and length.\n\n\n## Installation\n\nYou can install directly from pypi:\n\n pip install pymonocypher\n \nYou can then use pymonocypher:\n\n python\n >>> import monocypher\n >>> monocypher.blake2b(b'hello world')\n\n",
"bugtrack_url": null,
"license": "BSD 2-clause",
"summary": "Python ctypes bindings to the Monocypher library",
"version": "4.0.2.3",
"project_urls": {
"Bug Reports": "https://github.com/jetperch/pymonocypher/issues",
"Homepage": "https://github.com/jetperch/pymonocypher",
"Source": "https://github.com/jetperch/pymonocypher/"
},
"split_keywords": [
"cryto",
"cryptography",
"monocypher",
"chacha",
"blake2b",
"25519"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "6c3c6d1e366be6eefaa85f8bc0b820f673d07c60f824a6b64a8491771f954943",
"md5": "e35f706ae62dca206c8763b683573fd5",
"sha256": "86544b9e21998317cb10e843776c3db279792fc6a8ccc21925e5403f969475f4"
},
"downloads": -1,
"filename": "pymonocypher-4.0.2.3-cp310-cp310-macosx_10_9_universal2.whl",
"has_sig": false,
"md5_digest": "e35f706ae62dca206c8763b683573fd5",
"packagetype": "bdist_wheel",
"python_version": "cp310",
"requires_python": "~=3.9",
"size": 200417,
"upload_time": "2024-05-29T18:34:57",
"upload_time_iso_8601": "2024-05-29T18:34:57.317934Z",
"url": "https://files.pythonhosted.org/packages/6c/3c/6d1e366be6eefaa85f8bc0b820f673d07c60f824a6b64a8491771f954943/pymonocypher-4.0.2.3-cp310-cp310-macosx_10_9_universal2.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "8dbca514e8b5df059993aee9594149c35817993c2ef9cee32dc9a7e69017e199",
"md5": "6451d0c67c724b27c9ad1dc8793881d5",
"sha256": "1ae759beeda3e7df8ddffaa2b20b2e7976cb5f277fc8d88ca721ca96a4a95db1"
},
"downloads": -1,
"filename": "pymonocypher-4.0.2.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"has_sig": false,
"md5_digest": "6451d0c67c724b27c9ad1dc8793881d5",
"packagetype": "bdist_wheel",
"python_version": "cp310",
"requires_python": "~=3.9",
"size": 416773,
"upload_time": "2024-05-29T18:34:59",
"upload_time_iso_8601": "2024-05-29T18:34:59.430124Z",
"url": "https://files.pythonhosted.org/packages/8d/bc/a514e8b5df059993aee9594149c35817993c2ef9cee32dc9a7e69017e199/pymonocypher-4.0.2.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "c11070265d1462cba6da7b420aae168ca4c41b791035ffc3ce4ffc2788f314fd",
"md5": "abfcdaceac1d0fbaf82d12f962645078",
"sha256": "1c52be5f889a8b0024dbeb8cd43dac5c601d96b281ac925ad47e8ace56ae5421"
},
"downloads": -1,
"filename": "pymonocypher-4.0.2.3-cp310-cp310-win_amd64.whl",
"has_sig": false,
"md5_digest": "abfcdaceac1d0fbaf82d12f962645078",
"packagetype": "bdist_wheel",
"python_version": "cp310",
"requires_python": "~=3.9",
"size": 92175,
"upload_time": "2024-05-29T18:35:01",
"upload_time_iso_8601": "2024-05-29T18:35:01.137958Z",
"url": "https://files.pythonhosted.org/packages/c1/10/70265d1462cba6da7b420aae168ca4c41b791035ffc3ce4ffc2788f314fd/pymonocypher-4.0.2.3-cp310-cp310-win_amd64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "1edd54276be61c28c3bee7e8f3b06381c7d7987731848a727d281286cb7fb568",
"md5": "20e65cd38dddf0574ba7e7b8847d4430",
"sha256": "6efa9443265abd5b189af904c95883bc1185c9020792b017e3d2604676205351"
},
"downloads": -1,
"filename": "pymonocypher-4.0.2.3-cp311-cp311-macosx_10_9_universal2.whl",
"has_sig": false,
"md5_digest": "20e65cd38dddf0574ba7e7b8847d4430",
"packagetype": "bdist_wheel",
"python_version": "cp311",
"requires_python": "~=3.9",
"size": 201559,
"upload_time": "2024-05-29T18:35:02",
"upload_time_iso_8601": "2024-05-29T18:35:02.767751Z",
"url": "https://files.pythonhosted.org/packages/1e/dd/54276be61c28c3bee7e8f3b06381c7d7987731848a727d281286cb7fb568/pymonocypher-4.0.2.3-cp311-cp311-macosx_10_9_universal2.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "b542c660ce349e3798afef5f750cdb401d50be938a7418fb0cae6de527d8de6e",
"md5": "368c4b4e3d59e3436e6d8b082cdd4b50",
"sha256": "2ee6b3820b9a8cee1563398e4a5f731ba51a2110a9865479f3d26306be1412c7"
},
"downloads": -1,
"filename": "pymonocypher-4.0.2.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"has_sig": false,
"md5_digest": "368c4b4e3d59e3436e6d8b082cdd4b50",
"packagetype": "bdist_wheel",
"python_version": "cp311",
"requires_python": "~=3.9",
"size": 451090,
"upload_time": "2024-05-29T18:35:03",
"upload_time_iso_8601": "2024-05-29T18:35:03.983748Z",
"url": "https://files.pythonhosted.org/packages/b5/42/c660ce349e3798afef5f750cdb401d50be938a7418fb0cae6de527d8de6e/pymonocypher-4.0.2.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "f044c5e1e0d30e6548e6c6dde232eb795c0191b1b239c059ee3db2315ba1e6e0",
"md5": "66c664bf8e9d6ac4bbc6bbfe19221b07",
"sha256": "b31682089d1d451bf5e5097d8e117bc169a0669a827c98dc2076f23f10096d7d"
},
"downloads": -1,
"filename": "pymonocypher-4.0.2.3-cp311-cp311-win_amd64.whl",
"has_sig": false,
"md5_digest": "66c664bf8e9d6ac4bbc6bbfe19221b07",
"packagetype": "bdist_wheel",
"python_version": "cp311",
"requires_python": "~=3.9",
"size": 92008,
"upload_time": "2024-05-29T18:35:05",
"upload_time_iso_8601": "2024-05-29T18:35:05.399272Z",
"url": "https://files.pythonhosted.org/packages/f0/44/c5e1e0d30e6548e6c6dde232eb795c0191b1b239c059ee3db2315ba1e6e0/pymonocypher-4.0.2.3-cp311-cp311-win_amd64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "78e055fcb0ed648cde876f3b321ad2d1125ee812b5c798802be7484863767e16",
"md5": "042203dae9ff961a2af99aa934824700",
"sha256": "d4459315299d4ab151287763ceb26682f9177196b343daad3c2771e0e61f5bcb"
},
"downloads": -1,
"filename": "pymonocypher-4.0.2.3-cp312-cp312-macosx_10_9_universal2.whl",
"has_sig": false,
"md5_digest": "042203dae9ff961a2af99aa934824700",
"packagetype": "bdist_wheel",
"python_version": "cp312",
"requires_python": "~=3.9",
"size": 203357,
"upload_time": "2024-05-29T18:35:06",
"upload_time_iso_8601": "2024-05-29T18:35:06.716833Z",
"url": "https://files.pythonhosted.org/packages/78/e0/55fcb0ed648cde876f3b321ad2d1125ee812b5c798802be7484863767e16/pymonocypher-4.0.2.3-cp312-cp312-macosx_10_9_universal2.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "86ff0d6a3d18fd61d5601aedeae540655873b92f54cadc2ff75dd37b5771586f",
"md5": "a2fa3f0c92a1e3dbefaf51d9452968e3",
"sha256": "1ece6216aa857ccb564bd49ba0758a5f3923f4c5a36537da5690a5cd55e7c589"
},
"downloads": -1,
"filename": "pymonocypher-4.0.2.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"has_sig": false,
"md5_digest": "a2fa3f0c92a1e3dbefaf51d9452968e3",
"packagetype": "bdist_wheel",
"python_version": "cp312",
"requires_python": "~=3.9",
"size": 450545,
"upload_time": "2024-05-29T18:35:08",
"upload_time_iso_8601": "2024-05-29T18:35:08.547708Z",
"url": "https://files.pythonhosted.org/packages/86/ff/0d6a3d18fd61d5601aedeae540655873b92f54cadc2ff75dd37b5771586f/pymonocypher-4.0.2.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "ad1a8cd2a2b7109a7b41be885583ae14ff0bfe950e2a0a5dcd1a48a16bcb6d51",
"md5": "c3194b2c98afbee1898cb3cc880ebdb6",
"sha256": "26ce3c0b038d9c47badefbd2ba9818e9c41aec14276d333336d2a5be68bfb83c"
},
"downloads": -1,
"filename": "pymonocypher-4.0.2.3-cp312-cp312-win_amd64.whl",
"has_sig": false,
"md5_digest": "c3194b2c98afbee1898cb3cc880ebdb6",
"packagetype": "bdist_wheel",
"python_version": "cp312",
"requires_python": "~=3.9",
"size": 92600,
"upload_time": "2024-05-29T18:35:10",
"upload_time_iso_8601": "2024-05-29T18:35:10.029938Z",
"url": "https://files.pythonhosted.org/packages/ad/1a/8cd2a2b7109a7b41be885583ae14ff0bfe950e2a0a5dcd1a48a16bcb6d51/pymonocypher-4.0.2.3-cp312-cp312-win_amd64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "fb76968a3526338371558017baad456adb56749415800baf8d6b105ec98b4535",
"md5": "3b82d83cbb9ce64343e2713d7ea066e1",
"sha256": "b8e621b08ad34745efdf1c42bdb096d63719a17a57cba98f0c163cb73fcd13fb"
},
"downloads": -1,
"filename": "pymonocypher-4.0.2.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"has_sig": false,
"md5_digest": "3b82d83cbb9ce64343e2713d7ea066e1",
"packagetype": "bdist_wheel",
"python_version": "cp39",
"requires_python": "~=3.9",
"size": 418906,
"upload_time": "2024-05-29T18:35:11",
"upload_time_iso_8601": "2024-05-29T18:35:11.622267Z",
"url": "https://files.pythonhosted.org/packages/fb/76/968a3526338371558017baad456adb56749415800baf8d6b105ec98b4535/pymonocypher-4.0.2.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "8deace8aab2cc6cf59df1c2b873bcc3ca6e0d9b8cddc024f64c0828b8528ef1c",
"md5": "b7d111aeb7e7c614e5cd25807d2c4256",
"sha256": "89ca4acd44542982f4bc0ceefee83d71f1cddabfc8fff087776f0e0f99bb5527"
},
"downloads": -1,
"filename": "pymonocypher-4.0.2.3-cp39-cp39-win_amd64.whl",
"has_sig": false,
"md5_digest": "b7d111aeb7e7c614e5cd25807d2c4256",
"packagetype": "bdist_wheel",
"python_version": "cp39",
"requires_python": "~=3.9",
"size": 92759,
"upload_time": "2024-05-29T18:35:12",
"upload_time_iso_8601": "2024-05-29T18:35:12.945785Z",
"url": "https://files.pythonhosted.org/packages/8d/ea/ce8aab2cc6cf59df1c2b873bcc3ca6e0d9b8cddc024f64c0828b8528ef1c/pymonocypher-4.0.2.3-cp39-cp39-win_amd64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "f552751161f7453bb5ffd0b556035753fbf1cfc16c87fef7cc5a14d0d07f2832",
"md5": "d318619fa2dc67a790b06c595ab94700",
"sha256": "9b7c9db5e3d6012205cae8c57a97258c54d32634f00125b87d4bc09a8d739d34"
},
"downloads": -1,
"filename": "pymonocypher-4.0.2.3.tar.gz",
"has_sig": false,
"md5_digest": "d318619fa2dc67a790b06c595ab94700",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "~=3.9",
"size": 437177,
"upload_time": "2024-05-29T18:35:14",
"upload_time_iso_8601": "2024-05-29T18:35:14.035475Z",
"url": "https://files.pythonhosted.org/packages/f5/52/751161f7453bb5ffd0b556035753fbf1cfc16c87fef7cc5a14d0d07f2832/pymonocypher-4.0.2.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-29 18:35:14",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "jetperch",
"github_project": "pymonocypher",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "pymonocypher"
}