{ "info": { "author": "Ben Mather", "author_email": "bwhmather@bwhmather.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3 :: Only" ], "description": "Python Mnemonicode\n==================\n\n|build-status| |coverage|\n\nA python library for encoding binary data as a sequence of english words.\n\nBased on, and compatible with http://web.archive.org/web/20101031205747/http://www.tothink.com/mnemonic/\n\n\nInstallation\n------------\n\nRecommended method is to use the version from `pypi`_\n\n.. code:: bash\n\n $ pip install mnemonicode\n\nPlease note that this library supports python 3 only.\n\n\nUsage\n-----\n\nPython mnemonicode exposes four functions: `mnformat` and `mnparse` for handling conversions to and from formatted strings, and `mnencode` and `mndecode` for working with lower level lists of tuples of words.\n\n\nString encoding\n~~~~~~~~~~~~~~~\n\nEncode a byte array as a sequence of grouped words, formatted as a single string:\n\n.. code:: python\n\n >>> mnformat(b\"cucumber\")\n 'paris-pearl-ultra--gentle-press-total';\n\nDecode a mnemonicode string into a byte array:\n\n.. code:: python\n\n >>> mnparse('scoop-limit-recycle--ferrari-album')\n b'tomato'\n\nBoth functions allow specifying the word and group separator. It is safe for the word separator to match part of the group separator, but not the other way round. Word and group separators that overlap with word in the dictionary should obviously be avoided.\n\nAn example using custom separators:\n\n.. code:: python\n\n >>> mnemonicode.mnformat(\n ... b'apricot', group_separator=', uhhh, ', word_separator=', um, '\n ... )\n 'arctic, um, dilemma, um, single, uhhh, presto, um, mask, um, jet'\n\n\nTuple encoding\n~~~~~~~~~~~~~~\n\nEncode a bytes object as an iterator of tuples of words:\n\n.. code:: python\n\n >>> list(mnencode(b\"avocado\"))\n [('bicycle', 'visible', 'robert'), ('cloud', 'unicorn', 'jet')]\n\nDecode an iterator of tuples of words to get a byte array:\n\n.. code:: python\n\n >>> mndecode([('turtle', 'special', 'recycle'), ('ferrari', 'album')])\n b'potato'\n\n\nLinks\n-----\n\n- Source code: https://github.com/bwhmather/python-mnemonicode\n- Issue tracker: https://github.com/bwhmather/python-mnemonicode/issues\n- Continuous integration: https://travis-ci.org/bwhmather/python-mnemonicode\n- PyPI: https://pypi.python.org/pypi/mnemonicode\n\n\nLicense\n-------\n\nThe project is licensed under the BSD license. See `LICENSE`_ for details.\n\n\n.. |build-status| image:: https://travis-ci.org/bwhmather/python-mnemonicode.png?branch=develop\n :target: https://travis-ci.org/bwhmather/python-mnemonicode\n :alt: Build Status\n.. |coverage| image:: https://coveralls.io/repos/bwhmather/python-mnemonicode/badge.png?branch=develop\n :target: https://coveralls.io/r/bwhmather/python-mnemonicode?branch=develop\n :alt: Coverage\n.. _pypi: https://pypi.python.org/pypi/mnemonicode\n.. _LICENSE: ./LICENSE", "description_content_type": "text/x-rst", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/bwhmather/python-mnemonicode", "keywords": "", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "mnemonicode", "package_url": "https://pypi.org/project/mnemonicode/", "platform": "", "project_url": "https://pypi.org/project/mnemonicode/", "project_urls": { "Homepage": "https://github.com/bwhmather/python-mnemonicode" }, "release_url": "https://pypi.org/project/mnemonicode/1.4.4/", "requires_dist": null, "requires_python": "", "summary": "A library for encoding binary data as a sequence of english words", "version": "1.4.4" }, "last_serial": 4651141, "releases": { "0.0.1": [], "0.1.0": [ { "comment_text": "", "digests": { "md5": "058b1133b5324828a423893817a415cb", "sha256": "411aa7e7f4851562e308d6b6d81d7ede64d9d40e21bf1ccd13738ede869c4fc0" }, "downloads": -1, "filename": "mnemonicode-0.1.0.tar.gz", "has_sig": false, "md5_digest": "058b1133b5324828a423893817a415cb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10018, "upload_time": "2014-11-08T19:18:39", "url": "https://files.pythonhosted.org/packages/b4/87/90be62bd34d3363e09d0c2a4e0c784cba1cda0bfc6748ab0d1eb80ec759e/mnemonicode-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "f9eb4deb91a70ebd9bb71520bfaba592", "sha256": "b55099317b1c62eb69178f717bdd0c5253b2ee8ff737dfdb0fe23803a04f9dd9" }, "downloads": -1, "filename": "mnemonicode-0.1.1.tar.gz", "has_sig": false, "md5_digest": "f9eb4deb91a70ebd9bb71520bfaba592", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10135, "upload_time": "2015-01-20T15:28:08", "url": "https://files.pythonhosted.org/packages/b6/11/1ad610e30220b469f0e48e9d620ec4d1dec2b3c412cbbb6d081253759a2f/mnemonicode-0.1.1.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "1c06fd24d8963399e245758215ab60b5", "sha256": "03c2c1206730b759fa9968e3664dbbb6fd3086e984d780a67181a6e0e1b74148" }, "downloads": -1, "filename": "mnemonicode-1.0.0.tar.gz", "has_sig": false, "md5_digest": "1c06fd24d8963399e245758215ab60b5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11257, "upload_time": "2015-01-26T14:27:09", "url": "https://files.pythonhosted.org/packages/81/9f/84fba1e1e059f7363bc461781365ab50fea23d7e17c168011b5289d8fe81/mnemonicode-1.0.0.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "48149bfc0f2317d2f08616492fc83a67", "sha256": "5cd0148664f787a98b8e620262295bb1c4108cde95639d592b87c78d9bb43f86" }, "downloads": -1, "filename": "mnemonicode-1.1.0.tar.gz", "has_sig": false, "md5_digest": "48149bfc0f2317d2f08616492fc83a67", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11597, "upload_time": "2015-02-11T11:09:46", "url": "https://files.pythonhosted.org/packages/ed/9e/e13cd4705ffda9a0f404fdbff370fd72143648226e3c14e5bcfea409ec59/mnemonicode-1.1.0.tar.gz" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "082a2f6256961f399f80e4bbddb50df9", "sha256": "8475a9e0913033fb14431077dec1364369e72a1f4f15f866bdce5c337cc28c9c" }, "downloads": -1, "filename": "mnemonicode-1.2.0.tar.gz", "has_sig": false, "md5_digest": "082a2f6256961f399f80e4bbddb50df9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12108, "upload_time": "2015-04-09T22:14:52", "url": "https://files.pythonhosted.org/packages/9b/b7/efbe28578640751c2b05880fcdda9b23713e0aac6a6c308fd04b276e3013/mnemonicode-1.2.0.tar.gz" } ], "1.3.0": [ { "comment_text": "", "digests": { "md5": "5f5029ce41b093b512fdc070b833eac2", "sha256": "8deba0cff519db0d7e7c51aeb638977877a05c9443589394ebe33f6865cbec05" }, "downloads": -1, "filename": "mnemonicode-1.3.0.tar.gz", "has_sig": false, "md5_digest": "5f5029ce41b093b512fdc070b833eac2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12603, "upload_time": "2015-09-25T21:59:28", "url": "https://files.pythonhosted.org/packages/e5/ac/46925dca3967c1051aa8fadafbc8f95db5c74a9177104c47e738b72cce78/mnemonicode-1.3.0.tar.gz" } ], "1.3.1": [ { "comment_text": "", "digests": { "md5": "a624bbc54166557e5304b67f5aac2814", "sha256": "d9a3fca3ca9d6d621b37ab578f4c3dca276bb13290a0c0b3874ed9dd0854866c" }, "downloads": -1, "filename": "mnemonicode-1.3.1.tar.gz", "has_sig": false, "md5_digest": "a624bbc54166557e5304b67f5aac2814", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12854, "upload_time": "2015-09-26T15:43:36", "url": "https://files.pythonhosted.org/packages/26/12/abd9f14eac8b47f20bbdeaac7915d587fb9a5da33e70c9d3173feeaa9fbc/mnemonicode-1.3.1.tar.gz" } ], "1.3.2": [ { "comment_text": "", "digests": { "md5": "402be5e92956dad46cbeaac417f40b9c", "sha256": "364aac353d1c4e2a2dcf7890b62d42e1883d502b5c6b0ca5a641ade350ce0836" }, "downloads": -1, "filename": "mnemonicode-1.3.2.tar.gz", "has_sig": false, "md5_digest": "402be5e92956dad46cbeaac417f40b9c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13274, "upload_time": "2016-02-11T22:15:44", "url": "https://files.pythonhosted.org/packages/cf/4a/a9ad80d5c40f0c2456e984f05fa75e94bba571cd0c45031e3ee288510c5d/mnemonicode-1.3.2.tar.gz" } ], "1.4.0": [ { "comment_text": "", "digests": { "md5": "f5225a72c8052d9de590bb11c4c571d8", "sha256": "45f91fc30a6eaf85161a30b01f788197e240cdb7bd3c4aff4182512c6e34a99e" }, "downloads": -1, "filename": "mnemonicode-1.4.0.tar.gz", "has_sig": false, "md5_digest": "f5225a72c8052d9de590bb11c4c571d8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14291, "upload_time": "2016-03-20T14:56:03", "url": "https://files.pythonhosted.org/packages/cc/79/48ff0ac237e3e3a586b9f5ee272383ea394b26d9f4784a79551d1ba5fdf8/mnemonicode-1.4.0.tar.gz" } ], "1.4.1": [ { "comment_text": "", "digests": { "md5": "b8e93c0a3f280aee3a72de00bcb97b73", "sha256": "bf6b7d57d01e33829efecd3af74fd17c4f142a7f1f702ff09657eeb58f635a6a" }, "downloads": -1, "filename": "mnemonicode-1.4.1.tar.gz", "has_sig": false, "md5_digest": "b8e93c0a3f280aee3a72de00bcb97b73", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14984, "upload_time": "2017-08-12T14:43:17", "url": "https://files.pythonhosted.org/packages/07/d9/2c5767f64021cf50861639884f75e598b1897ac1304d69e9dfa0c7d565ab/mnemonicode-1.4.1.tar.gz" } ], "1.4.2": [ { "comment_text": "", "digests": { "md5": "4569750640bef2f475cd59a20a46fa34", "sha256": "ad516c2b9ed7ec6da4837a5d4ffa81e3dfd19cfa10427bd48d2a1d995e033c2b" }, "downloads": -1, "filename": "mnemonicode-1.4.2.tar.gz", "has_sig": false, "md5_digest": "4569750640bef2f475cd59a20a46fa34", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15041, "upload_time": "2017-09-30T20:30:28", "url": "https://files.pythonhosted.org/packages/f1/3b/2f9be5f9836b1391c2fb986be29a7ae6df925148eda1cadf6ac7f30432f4/mnemonicode-1.4.2.tar.gz" } ], "1.4.3": [ { "comment_text": "", "digests": { "md5": "498cc680bd67a9d72949448645485375", "sha256": "deecd5f8baaa692edd136773f23fb85ddb62d07db797c1c1fbccaa12338f5d7a" }, "downloads": -1, "filename": "mnemonicode-1.4.3.tar.gz", "has_sig": false, "md5_digest": "498cc680bd67a9d72949448645485375", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15047, "upload_time": "2018-05-16T22:50:02", "url": "https://files.pythonhosted.org/packages/d6/5d/f30bf7c27f668e03dde075c82afe9ed504127781a2aaaca996da3341b914/mnemonicode-1.4.3.tar.gz" } ], "1.4.4": [ { "comment_text": "", "digests": { "md5": "90f045835379fa78805b9c1880889846", "sha256": "b71159e67912afa2b8d25d4306b2a37797615301c7f371e1419ff8d322d27b14" }, "downloads": -1, "filename": "mnemonicode-1.4.4.tar.gz", "has_sig": false, "md5_digest": "90f045835379fa78805b9c1880889846", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15503, "upload_time": "2018-05-16T23:04:37", "url": "https://files.pythonhosted.org/packages/c1/d0/d0b23b713709303c5e94766e850150997d357fa77c8515aa2086b359df93/mnemonicode-1.4.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "90f045835379fa78805b9c1880889846", "sha256": "b71159e67912afa2b8d25d4306b2a37797615301c7f371e1419ff8d322d27b14" }, "downloads": -1, "filename": "mnemonicode-1.4.4.tar.gz", "has_sig": false, "md5_digest": "90f045835379fa78805b9c1880889846", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15503, "upload_time": "2018-05-16T23:04:37", "url": "https://files.pythonhosted.org/packages/c1/d0/d0b23b713709303c5e94766e850150997d357fa77c8515aa2086b359df93/mnemonicode-1.4.4.tar.gz" } ] }