{ "info": { "author": "Jakob Schnell", "author_email": "potypo@ezelo.de", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Build Tools" ], "description": "potypo\n======\n\nSpellchecking for translation using .po-files. This is currently work-in-progress.\nThis project is specifically tailored to be used with django-applications, but\nmay be used in any project that uses .po-files for translation.\n\nInstallation\n------------\n\npotypo is available via ``pip3 install potypo``\nNote that this is not considered stable and might be subject to massive\nchanges. Please do use it, and report any problems encountered :)\n\nConfiguration\n-------------\n\nConfiguration is done in a configuration file called ``setup.cfg``. It follows\nthe configuration file format used in most of the python world, thus it can be\neasily used with similar files that are used for other projects, i.e.\n``flake8``, ``isort`` or others.\n\nThis is an example configuration for potypo.\n\n::\n\n [potypo]\n # This is the default language of the application, and the language that is\n # translated from. It follows the locale tag naming scheme.\n default_language = en_US\n\n # This is the directory that contains the .po-files.\n # It follows the structure /LC_MESSAGES/django{js}.po where is the\n # language that is translated into.\n locales_dir = /path/to/my/projects/locales\n\n # This is the directory containing word lists with words that are not included\n # in the corresponding language dictionary, since they are application-specific,\n # uncommon inflections or otherwise special.\n # The wordlists only need to contain uncapitalized words.\n # They should be named according to the language they belong to in the format\n # .txt, i.e. for the language \"en_US\", the file should be named\n # \"en_US.txt\".\n # They can also be placed in the language- or .po-file-directory\n wl_dir = /path/to/my/projects/wordlists\n\n # For easy CI-Integration, potypo will issue an exit(1) if any errors have been encountered.\n # If there are languages for which this is not wanted, they should be added to this list.\n no_fail =\n fr\n pt_BR\n\n # Because of how the spell-checking work, some words might be output as \"wrong\",\n # even though they are correctly spelled. This will for example happen to\n # hyphenated words where a part is not a correct word on its own, abbreviations\n # containing numbers, webpages, \u2026\n # This is a list containing those words, so that they can be filtered.\n edgecase_words =\n add-ons\n MT940\n pre-selected\n myblog.org\n myproject.org-Blog\n myproject.org-Server\n 4th\n\n # Similar to the above edgecase words, there might be complete phrases that are used\n # in a language although not being from that language, i.e. the phrase \"powered\n # by\" being used in a german text.\n # This is a list containing these phrases, so that they can be filtered.\n phrases =\n powered by\n\n # This is a list of filters and chunkers to be used by the spell checking\n # process.\n chunkers = enchant.tokenize.HTMLChunker\n filters = PythonFormatFilter,enchant.tokenize.URLFilter,HTMLFilter\n\nCurrent Work:\n-------------\n* add config option for languages that should not fail\n* enhance README\n* find .po-files recursively?\n* move this list to issues\n* finish setting up testsetup\n * change .po-files\n * set up setup.cfg\n * find out how to start potypo correctly\n\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/koebi/potypo", "keywords": "setuptools development spellcheck translation typo gettext", "license": "", "maintainer": "", "maintainer_email": "", "name": "potypo", "package_url": "https://pypi.org/project/potypo/", "platform": "", "project_url": "https://pypi.org/project/potypo/", "project_urls": { "Homepage": "https://github.com/koebi/potypo" }, "release_url": "https://pypi.org/project/potypo/0.0.2/", "requires_dist": [ "pyenchant", "polib" ], "requires_python": "", "summary": "spellchecking for .po-files", "version": "0.0.2" }, "last_serial": 3831364, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "228dad2676b26fcfc1e0e7986ad742a3", "sha256": "dc040f7bafda75112b7e71f3ce8a2020b2ddb9451de781c63f1d3ed1728dc604" }, "downloads": -1, "filename": "potypo-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "228dad2676b26fcfc1e0e7986ad742a3", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5978, "upload_time": "2018-03-13T10:54:25", "url": "https://files.pythonhosted.org/packages/3d/6f/a69924a0e3454cfa576d738c1d0082ce532a9321f59ec1870b5e3c83eb0b/potypo-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2b9a365129066dd88db06d4c9b296de4", "sha256": "96aed57f8ea69dbc3446cf32d9ec0398eb2331693b4676d9ca0faa24d618f716" }, "downloads": -1, "filename": "potypo-0.0.1.tar.gz", "has_sig": false, "md5_digest": "2b9a365129066dd88db06d4c9b296de4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3972, "upload_time": "2018-03-13T10:54:26", "url": "https://files.pythonhosted.org/packages/5b/cf/a7044526bcddd5a5f00a817b2070ed52e240de86a9593689bee6cee67383/potypo-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "5c7867dd0182b73d2164a4cc84c79e73", "sha256": "1d8efe5ebb3d584fe1a9d121d9d9536c7214edf6660a39af8ce92090e1d05eac" }, "downloads": -1, "filename": "potypo-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "5c7867dd0182b73d2164a4cc84c79e73", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9185, "upload_time": "2018-05-03T15:20:07", "url": "https://files.pythonhosted.org/packages/94/3b/e36e09cfeab743de3ca26373d15599748c4aa9251d86f315b60f0da44d47/potypo-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "49e72c41f26afd660292d696fc2ab76e", "sha256": "51dd9592608e54de87ca2087e4090aa356148150d7c9e6db70b36bac2194e32d" }, "downloads": -1, "filename": "potypo-0.0.2.tar.gz", "has_sig": false, "md5_digest": "49e72c41f26afd660292d696fc2ab76e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6405, "upload_time": "2018-05-03T15:20:07", "url": "https://files.pythonhosted.org/packages/cf/17/a733904540a3ce401af1b2ad336559d87832ee9c3caef08c7d8ab4a79e3d/potypo-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5c7867dd0182b73d2164a4cc84c79e73", "sha256": "1d8efe5ebb3d584fe1a9d121d9d9536c7214edf6660a39af8ce92090e1d05eac" }, "downloads": -1, "filename": "potypo-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "5c7867dd0182b73d2164a4cc84c79e73", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9185, "upload_time": "2018-05-03T15:20:07", "url": "https://files.pythonhosted.org/packages/94/3b/e36e09cfeab743de3ca26373d15599748c4aa9251d86f315b60f0da44d47/potypo-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "49e72c41f26afd660292d696fc2ab76e", "sha256": "51dd9592608e54de87ca2087e4090aa356148150d7c9e6db70b36bac2194e32d" }, "downloads": -1, "filename": "potypo-0.0.2.tar.gz", "has_sig": false, "md5_digest": "49e72c41f26afd660292d696fc2ab76e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6405, "upload_time": "2018-05-03T15:20:07", "url": "https://files.pythonhosted.org/packages/cf/17/a733904540a3ce401af1b2ad336559d87832ee9c3caef08c7d8ab4a79e3d/potypo-0.0.2.tar.gz" } ] }