{ "info": { "author": "mecforlove", "author_email": "mecforlove@outlook.com", "bugtrack_url": null, "classifiers": [ "Programming Language :: Python", "Programming Language :: Python :: 3" ], "description": "# Ecoji \ud83c\udfe3\ud83d\udd09\ud83e\udd90\ud83d\udd3c\n\nEcoji encodes data as 1024 [emojis][emoji], its base1024 with an emoji character set. As a bonus, includes code to decode emojis to original data.\nThe idea is from [here](https://github.com/keith-turner/ecoji). And this project is the implemention of Python3.\n\n## Installing\n\n- with pip\n\n```bash\n$pip install ecoji\n```\n\n- with source code\n\n```bash\n$git clone git@github.com:mecforlove/ecoji-py.git && cd ecoji-py && python3 setup.py install\n```\n\n## For CLI usage\n\n- encode\n\n```base\n$echo -n hello | ecoji\n\ud83d\udc72\ud83d\udd29\ud83d\ude97\ud83c\udf37\n```\n\n- decode\n\n```bash\n$echo -n \ud83d\udc72\ud83d\udd29\ud83d\ude97\ud83c\udf37 | ecoji -d\nhello%\n```\n\nIf you want to know more about the CLI, just type `ecoji -h` in your terminal.\n\n## For python lib\n\n- encode\n\n```python\n>>> import io\n>>> from ecoji import encode\n>>> r = io.BytesIO(b'hello')\n>>> w = io.StringIO()\n>>> encode(r, w)\n>>> print(w.getvalue())\n\ud83d\udc72\ud83d\udd29\ud83d\ude97\ud83c\udf37\n```\n\n- decode\n\n```python\n>>> import io\n>>> from ecoji import decode\n>>> r = io.StringIO('\ud83d\udc72\ud83d\udd29\ud83d\ude97\ud83c\udf37')\n>>> w = io.BytesIO()\n>>> decode(r, w)\n>>> print(w.getvalue())\nb'hello'\n```\n\nLast but not the least, only Python3.x is supported.", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/mecforlove/ecoji-py", "keywords": "", "license": "Apache", "maintainer": "", "maintainer_email": "", "name": "ecoji", "package_url": "https://pypi.org/project/ecoji/", "platform": "", "project_url": "https://pypi.org/project/ecoji/", "project_urls": { "Homepage": "https://github.com/mecforlove/ecoji-py" }, "release_url": "https://pypi.org/project/ecoji/0.1.0/", "requires_dist": null, "requires_python": "", "summary": "Encode and decode data as emojis.", "version": "0.1.0" }, "last_serial": 3753122, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "0ef45af84e2e71acc941e30970959267", "sha256": "01707ea13fa738fd5d14bee88537b3a1f4caab98eb57d9223e3ff539d2aec1f2" }, "downloads": -1, "filename": "ecoji-0.1.0.tar.gz", "has_sig": false, "md5_digest": "0ef45af84e2e71acc941e30970959267", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6542, "upload_time": "2018-04-10T18:10:39", "url": "https://files.pythonhosted.org/packages/df/06/9769becf276d8adbd60f84dbd333adf3e5d790bb03a785cb4044e64d5c6c/ecoji-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0ef45af84e2e71acc941e30970959267", "sha256": "01707ea13fa738fd5d14bee88537b3a1f4caab98eb57d9223e3ff539d2aec1f2" }, "downloads": -1, "filename": "ecoji-0.1.0.tar.gz", "has_sig": false, "md5_digest": "0ef45af84e2e71acc941e30970959267", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6542, "upload_time": "2018-04-10T18:10:39", "url": "https://files.pythonhosted.org/packages/df/06/9769becf276d8adbd60f84dbd333adf3e5d790bb03a785cb4044e64d5c6c/ecoji-0.1.0.tar.gz" } ] }