{ "info": { "author": "Behnam Esfahbod", "author_email": "behnam@zwnj.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "License :: OSI Approved :: GNU General Public License (GPL)", "Natural Language :: Persian", "Topic :: Software Development :: Internationalization", "Topic :: Text Editors" ], "description": "===============================================================\nConverter for Zarnegar Encoding and File Format to Unicode Text\n===============================================================\n\nHomepage: https://github.com/behnam/python-zarnegar-converter\n\n`Zarnegar`_ (Persian: *\u0632\u0631\u0646\u06af\u0627\u0631*, zarneg\u0101r, meaning gold-depicting) is a\ncommercial, stand-alone Persian/Arabic word processor program developed for\nMS-DOS and Windows. The first version of Zarnegar (for DOS), was released in\nApril-May 1991, and Windows versions have been available since 2000.\n\nZarnegar has employed two different character sets and file formats.\n\n-----------------------\nZarnegar1 Character Set\n-----------------------\n\nZarnegar used an `Iran System`_-based character encoding system, named\n*Zarnegar1*, with text file formats for its early versions, up to its \"Zarnegar\n75\" version. *Zarnegar1* character set is a *2-form left-to-right visual\nencoding*, meaning the every `Perso-Arabic`_ letter receives different\ncharacter codes based on its cursive joining form, but most letters receive\nonly 2 forms, because of the limited code-points available2 forms, because of\nthe limited code-points available.\n\nThis project has a partial implementation of `Zarnegar1`_ encoding\n(`zarnegar_converter/zar1_encoding.py`) and a full implementation of its binary\nand text file formats (`zarnegar_converter/zar1_file.py`).\n\n------------------------\nZarnegar75 Character Set\n------------------------\n\nWith \"Zarnegar 75\" version of the program, a new character encoding system was\nintroduced, and the file format was changed to another binary format.\n*Zarnegar75* character set is a 4-form bidirectional encoding, meaning that\nevery `Perso-Arabic`_ letter receives one, two, or four character code,\ndepending on its cursive joining form, and these letters are stored in the\nmemory in the semantic order.\n\nSupport for *Zarnegar75* file format and encoding is still in progress.\n\n----------\nHow to Use\n----------\n\n.. code:: bash\n\n $ ./src/zarnegar-converter.py unicode_legacy_lro samples/zar1-sample-text-01.zar\n \u202d \ufee1\ufe8e\ufbfe\ufea7 \ufe95\ufe8e\ufbfe\ufecb\ufe8e\ufe91\ufead \uf8fd\ufee9\ufead\ufe8e\ufe91\ufead\ufea9 |\n \u202d \ufbfd\ufee7\ufb58\ufe8d\ufb8a \ufead\ufecc\ufeb7 \ufead\ufea9 \ufeed\ufb90\ufbfe\ufe8e\ufeeb |\n\n-----------------\nHow to Contribute\n-----------------\n\nPlease report any issues at\n or submit GitHub\npull requests.\n\nThe encoding mappings (both Zarnegar1 and Zarnegar75) can be improved with\naccess to more sample files. Please write to if you like to\ncontribute (private or public) Zarnegar source files to improve this project.\n\n----------------\nAcknowledgements\n----------------\n\nThanks to `Cecil H. Green Library`_ of Stanford University, specially John A\nEilts and Behzad Allahyar, for sharing their collection of Zarnegar documents.\n\nAlso thanks to `The Official Website of Ahmad Shamlou`_ for sharing their\ncollection of documents.\n\n------------\nLegal Notice\n------------\n\n*Zarnegar* is a trademark of *SinaSoft Corporation*. This project is NOT\naffiliated with SinaSoft Corporation.\n\nCopyright (C) 2017 Behnam Esfahbod\n\nThis program is free software: you can redistribute it and/or modify it under\nthe terms of the GNU General Public License as published by the Free Software\nFoundation, either version 3 of the License, or (at your option) any later\nversion.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU General Public License for more details.\n\n.. _Zarnegar: https://en.wikipedia.org/wiki/Zarnegar_(word_processor)\n.. _Zarnegar1: https://en.wikipedia.org/wiki/Zarnegar1\n.. _Iran System: https://en.wikipedia.org/wiki/Iran_System_encoding\n.. _Perso-Arabic: https://en.wikipedia.org/wiki/Perso-Arabic\n.. _Cecil H. Green Library: https://library.stanford.edu/green\n.. _The Official Website of Ahmad Shamlou: http://shamlou.org/", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/behnam/python-zarnegar-converter", "keywords": null, "license": "GNU General Public License, Version 3", "maintainer": null, "maintainer_email": null, "name": "zarnegar-converter", "package_url": "https://pypi.org/project/zarnegar-converter/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/zarnegar-converter/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/behnam/python-zarnegar-converter" }, "release_url": "https://pypi.org/project/zarnegar-converter/0.1.3/", "requires_dist": null, "requires_python": null, "summary": "Converter for Zarnegar Encoding and File Format to Unicode Text Files", "version": "0.1.3" }, "last_serial": 2868258, "releases": { "0.1.0": [], "0.1.1": [], "0.1.2": [ { "comment_text": "", "digests": { "md5": "35870e75b23e81cec52081d66e017fa1", "sha256": "c673d476050e476c23e2f380194f6a364127414a6c88851b2b3d9b65d638e5aa" }, "downloads": -1, "filename": "zarnegar-converter-0.1.2.tar.gz", "has_sig": false, "md5_digest": "35870e75b23e81cec52081d66e017fa1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 34243, "upload_time": "2017-05-11T23:06:38", "url": "https://files.pythonhosted.org/packages/13/b9/5ccdba928b6fca540b3b69069a89bc8fcaeb6918e07f65ec44511a4cfe38/zarnegar-converter-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "360ee3f93c5ecca2b82ebf59abce574b", "sha256": "9c113de4683a06f9b3375b3994d9be8c665c11e9d07c19de6a932708155ac59f" }, "downloads": -1, "filename": "zarnegar-converter-0.1.3.tar.gz", "has_sig": false, "md5_digest": "360ee3f93c5ecca2b82ebf59abce574b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11807, "upload_time": "2017-05-11T23:13:01", "url": "https://files.pythonhosted.org/packages/84/32/3f93a4a3b79949aa55e792e7234f35f0296099f123c8b066e0cf82b54103/zarnegar-converter-0.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "360ee3f93c5ecca2b82ebf59abce574b", "sha256": "9c113de4683a06f9b3375b3994d9be8c665c11e9d07c19de6a932708155ac59f" }, "downloads": -1, "filename": "zarnegar-converter-0.1.3.tar.gz", "has_sig": false, "md5_digest": "360ee3f93c5ecca2b82ebf59abce574b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11807, "upload_time": "2017-05-11T23:13:01", "url": "https://files.pythonhosted.org/packages/84/32/3f93a4a3b79949aa55e792e7234f35f0296099f123c8b066e0cf82b54103/zarnegar-converter-0.1.3.tar.gz" } ] }