# 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.10",
"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/39/50/e96d91de02d2ea133c34a44116d926ce1c4c5acc47d54eb7a828fec2c86c/pymonocypher-4.0.2.5.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.5",
"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": "72c2570329e45357b0b3149b9d929bc64f30e1f7d6d96066c9b288d24530067c",
"md5": "caf0a27321d421f10c82c61b34e25e82",
"sha256": "3e7515814e0dbe3d53b3d20e6585987035b6f2dc9a76be35ad7d267c0b067ffe"
},
"downloads": -1,
"filename": "pymonocypher-4.0.2.5-cp310-cp310-macosx_10_9_universal2.whl",
"has_sig": false,
"md5_digest": "caf0a27321d421f10c82c61b34e25e82",
"packagetype": "bdist_wheel",
"python_version": "cp310",
"requires_python": "~=3.10",
"size": 200069,
"upload_time": "2024-11-11T16:00:53",
"upload_time_iso_8601": "2024-11-11T16:00:53.720420Z",
"url": "https://files.pythonhosted.org/packages/72/c2/570329e45357b0b3149b9d929bc64f30e1f7d6d96066c9b288d24530067c/pymonocypher-4.0.2.5-cp310-cp310-macosx_10_9_universal2.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "e6a5a44eb86d296802ff2ad5f0aa18997433d01899a3ba4a0e688a33827b1b0c",
"md5": "6265b7448959a9fff73ecd59ee9fc80c",
"sha256": "376f8caf2d5005515e4ff93923c334a52e827d912bc04b86da8f9b25f2e222c9"
},
"downloads": -1,
"filename": "pymonocypher-4.0.2.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"has_sig": false,
"md5_digest": "6265b7448959a9fff73ecd59ee9fc80c",
"packagetype": "bdist_wheel",
"python_version": "cp310",
"requires_python": "~=3.10",
"size": 413521,
"upload_time": "2024-11-11T16:01:00",
"upload_time_iso_8601": "2024-11-11T16:01:00.600943Z",
"url": "https://files.pythonhosted.org/packages/e6/a5/a44eb86d296802ff2ad5f0aa18997433d01899a3ba4a0e688a33827b1b0c/pymonocypher-4.0.2.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "63a46bc64e2da52d0c9d74a3a4dfa3785f2966c3f98d98743fbdc51526b748db",
"md5": "bdda723107e6fd61df6668d08adffaf3",
"sha256": "3ccd6c8ec54f077688ad1a39f50a05c90815818f5bab03372d3bc807c4798519"
},
"downloads": -1,
"filename": "pymonocypher-4.0.2.5-cp310-cp310-win_amd64.whl",
"has_sig": false,
"md5_digest": "bdda723107e6fd61df6668d08adffaf3",
"packagetype": "bdist_wheel",
"python_version": "cp310",
"requires_python": "~=3.10",
"size": 91876,
"upload_time": "2024-11-11T16:01:02",
"upload_time_iso_8601": "2024-11-11T16:01:02.901989Z",
"url": "https://files.pythonhosted.org/packages/63/a4/6bc64e2da52d0c9d74a3a4dfa3785f2966c3f98d98743fbdc51526b748db/pymonocypher-4.0.2.5-cp310-cp310-win_amd64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d5a64546605fa80b81d52ae9537f271b78f0cbbcb6b397fb0dd1050312dab171",
"md5": "9d1a03931bd0e8ee2ef1cfc39d0dcbee",
"sha256": "9126730fe492126e2497c46fe4ea137dbec48654b1c59a8066f171158ff1868b"
},
"downloads": -1,
"filename": "pymonocypher-4.0.2.5-cp311-cp311-macosx_10_9_universal2.whl",
"has_sig": false,
"md5_digest": "9d1a03931bd0e8ee2ef1cfc39d0dcbee",
"packagetype": "bdist_wheel",
"python_version": "cp311",
"requires_python": "~=3.10",
"size": 201198,
"upload_time": "2024-11-11T16:01:04",
"upload_time_iso_8601": "2024-11-11T16:01:04.635679Z",
"url": "https://files.pythonhosted.org/packages/d5/a6/4546605fa80b81d52ae9537f271b78f0cbbcb6b397fb0dd1050312dab171/pymonocypher-4.0.2.5-cp311-cp311-macosx_10_9_universal2.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "de6491e118e1c40fa557b54c82d5fff207eea67273c0fb838aae495674469ad7",
"md5": "b516265f13486fb95107664a4629ab0a",
"sha256": "c322ab23b6f2e696ef24c19b69cda34bb24122b987508c0ae22380d48a7a1318"
},
"downloads": -1,
"filename": "pymonocypher-4.0.2.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"has_sig": false,
"md5_digest": "b516265f13486fb95107664a4629ab0a",
"packagetype": "bdist_wheel",
"python_version": "cp311",
"requires_python": "~=3.10",
"size": 447715,
"upload_time": "2024-11-11T16:01:05",
"upload_time_iso_8601": "2024-11-11T16:01:05.988175Z",
"url": "https://files.pythonhosted.org/packages/de/64/91e118e1c40fa557b54c82d5fff207eea67273c0fb838aae495674469ad7/pymonocypher-4.0.2.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "114ca08e1cda76d9506de4a1c0580b722bd0ba8cd474f8e4639bb7fdfe16555f",
"md5": "108c2af96043e4bb4e5b159533927665",
"sha256": "8f5deb39d3391f08ea6b0f4dd58a36d39613bc65e917e9e8bb23fa6e4008a7c3"
},
"downloads": -1,
"filename": "pymonocypher-4.0.2.5-cp311-cp311-win_amd64.whl",
"has_sig": false,
"md5_digest": "108c2af96043e4bb4e5b159533927665",
"packagetype": "bdist_wheel",
"python_version": "cp311",
"requires_python": "~=3.10",
"size": 91904,
"upload_time": "2024-11-11T16:01:09",
"upload_time_iso_8601": "2024-11-11T16:01:09.148028Z",
"url": "https://files.pythonhosted.org/packages/11/4c/a08e1cda76d9506de4a1c0580b722bd0ba8cd474f8e4639bb7fdfe16555f/pymonocypher-4.0.2.5-cp311-cp311-win_amd64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "06482aee156e9d21c2465992d5b31190a5260553fbf0013f2381a13df6353529",
"md5": "57c6b9ece58c4c119618c15aea6e1287",
"sha256": "982afda5d0d0a9da8062302541888df186aa7aa99204ba27b14d3d4bacfbb52c"
},
"downloads": -1,
"filename": "pymonocypher-4.0.2.5-cp312-cp312-macosx_10_13_universal2.whl",
"has_sig": false,
"md5_digest": "57c6b9ece58c4c119618c15aea6e1287",
"packagetype": "bdist_wheel",
"python_version": "cp312",
"requires_python": "~=3.10",
"size": 201032,
"upload_time": "2024-11-11T16:01:10",
"upload_time_iso_8601": "2024-11-11T16:01:10.920151Z",
"url": "https://files.pythonhosted.org/packages/06/48/2aee156e9d21c2465992d5b31190a5260553fbf0013f2381a13df6353529/pymonocypher-4.0.2.5-cp312-cp312-macosx_10_13_universal2.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "1c8402d223932b3fc91389fdbc093013791eaa06fb686e2550ca5ef535ce5422",
"md5": "e392921dce68eac5239488c5bb8e5fe8",
"sha256": "5393da6fc06c3dcae8b8e7f6101f94ab5dd81371c497ae54326abd62f18c9be3"
},
"downloads": -1,
"filename": "pymonocypher-4.0.2.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"has_sig": false,
"md5_digest": "e392921dce68eac5239488c5bb8e5fe8",
"packagetype": "bdist_wheel",
"python_version": "cp312",
"requires_python": "~=3.10",
"size": 446034,
"upload_time": "2024-11-11T16:01:12",
"upload_time_iso_8601": "2024-11-11T16:01:12.228698Z",
"url": "https://files.pythonhosted.org/packages/1c/84/02d223932b3fc91389fdbc093013791eaa06fb686e2550ca5ef535ce5422/pymonocypher-4.0.2.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d479a65bc8f7f56ea98d7b847e5c2175e3981399968e3094573cf52a37844b5c",
"md5": "8db779a9dc2a7b6be05ed336f5f08c9f",
"sha256": "1bd9eeba963f90926dcf68378a879232d7a32451d70c869186632079b3d455ef"
},
"downloads": -1,
"filename": "pymonocypher-4.0.2.5-cp312-cp312-win_amd64.whl",
"has_sig": false,
"md5_digest": "8db779a9dc2a7b6be05ed336f5f08c9f",
"packagetype": "bdist_wheel",
"python_version": "cp312",
"requires_python": "~=3.10",
"size": 92150,
"upload_time": "2024-11-11T16:01:13",
"upload_time_iso_8601": "2024-11-11T16:01:13.461627Z",
"url": "https://files.pythonhosted.org/packages/d4/79/a65bc8f7f56ea98d7b847e5c2175e3981399968e3094573cf52a37844b5c/pymonocypher-4.0.2.5-cp312-cp312-win_amd64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "caf83b3ce0a0235a2f98bf9de6e9e4e68a46dba0aa365178d7d536ecaebce186",
"md5": "675248d9a06634290189bae9ab7b0663",
"sha256": "5f14af960e99c7efff976984b926e4f74df31871374444812db8e61ae9597f4e"
},
"downloads": -1,
"filename": "pymonocypher-4.0.2.5-cp313-cp313-macosx_10_13_universal2.whl",
"has_sig": false,
"md5_digest": "675248d9a06634290189bae9ab7b0663",
"packagetype": "bdist_wheel",
"python_version": "cp313",
"requires_python": "~=3.10",
"size": 198660,
"upload_time": "2024-11-11T16:01:14",
"upload_time_iso_8601": "2024-11-11T16:01:14.605662Z",
"url": "https://files.pythonhosted.org/packages/ca/f8/3b3ce0a0235a2f98bf9de6e9e4e68a46dba0aa365178d7d536ecaebce186/pymonocypher-4.0.2.5-cp313-cp313-macosx_10_13_universal2.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "b9a07db204861c9b704e223119f21e21babf1bedd319b7a0e2639924cb7d0049",
"md5": "8eb58cbead9278822aed270172272042",
"sha256": "e32f4d62f769c75ee6b59aff09b5c4bfddb9e345d86de0b8e5f595e763287a00"
},
"downloads": -1,
"filename": "pymonocypher-4.0.2.5-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"has_sig": false,
"md5_digest": "8eb58cbead9278822aed270172272042",
"packagetype": "bdist_wheel",
"python_version": "cp313",
"requires_python": "~=3.10",
"size": 443836,
"upload_time": "2024-11-11T16:01:16",
"upload_time_iso_8601": "2024-11-11T16:01:16.444926Z",
"url": "https://files.pythonhosted.org/packages/b9/a0/7db204861c9b704e223119f21e21babf1bedd319b7a0e2639924cb7d0049/pymonocypher-4.0.2.5-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "69a4069d85641271cc7023c1b86d9b2c02f2ac778adc59f1238aa0a1eedb0bea",
"md5": "def35a365e353bbbc6fa071e664ec560",
"sha256": "fce52cf18c2e1f4da9acd6ac64936aef816c70d7b149358b569e5adb3aa8fc85"
},
"downloads": -1,
"filename": "pymonocypher-4.0.2.5-cp313-cp313-win_amd64.whl",
"has_sig": false,
"md5_digest": "def35a365e353bbbc6fa071e664ec560",
"packagetype": "bdist_wheel",
"python_version": "cp313",
"requires_python": "~=3.10",
"size": 91502,
"upload_time": "2024-11-11T16:01:17",
"upload_time_iso_8601": "2024-11-11T16:01:17.682515Z",
"url": "https://files.pythonhosted.org/packages/69/a4/069d85641271cc7023c1b86d9b2c02f2ac778adc59f1238aa0a1eedb0bea/pymonocypher-4.0.2.5-cp313-cp313-win_amd64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "3950e96d91de02d2ea133c34a44116d926ce1c4c5acc47d54eb7a828fec2c86c",
"md5": "8b2211379f4986f6648d095dd5902f10",
"sha256": "472babbf218773bb6d3e396aac20749beaeb3bea505da0df992dbd97410bef98"
},
"downloads": -1,
"filename": "pymonocypher-4.0.2.5.tar.gz",
"has_sig": false,
"md5_digest": "8b2211379f4986f6648d095dd5902f10",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "~=3.10",
"size": 437186,
"upload_time": "2024-11-11T16:01:19",
"upload_time_iso_8601": "2024-11-11T16:01:19.138118Z",
"url": "https://files.pythonhosted.org/packages/39/50/e96d91de02d2ea133c34a44116d926ce1c4c5acc47d54eb7a828fec2c86c/pymonocypher-4.0.2.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-11 16:01:19",
"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"
}