{ "info": { "author": "Luke Plant", "author_email": "L.Plant.98@cantab.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "==========\nelm-fluent\n==========\n\n\n.. image:: https://img.shields.io/pypi/v/elm_fluent.svg\n :target: https://pypi.org/project/elm-fluent/\n\n.. image:: https://img.shields.io/travis/elm-fluent/elm-fluent.svg\n :target: https://travis-ci.org/elm-fluent/elm-fluent\n\n.. image:: https://codecov.io/gh/elm-fluent/elm-fluent/branch/master/graph/badge.svg\n :target: https://codecov.io/gh/elm-fluent/elm-fluent\n\n.. image:: https://readthedocs.org/projects/elm-fluent/badge/?version=latest\n :target: https://elm-fluent.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n\n\nelm-fluent is a `Fluent `_ implementation for Elm.\n\nFluent is a next-generation translation/localization solution, designed by the\nfolks at Mozilla, based on many years of experience with localizing into a large\nnumber of different languages. Mozilla have extracted parts of their 'l20n'\nsolution (used by apps like Firefox and Thunderbird) into a re-usable\nspecification designed specifically for the web.\n\nelm-fluent is a full implementation of this specification for Elm (see the\n`change log `_ for exact \nversion support).\n\nIt operates as a command line tool that compiles ``.ftl`` files to ``.elm``\nfiles. The result is that each message becomes a function that will generate a\ntranslated string (or HTML fragment) for a given locale and an optional set of\nstrongly typed parameters (string, dates or numbers).\n\nDates and numbers can also be passed with formatting parameters supplied - for\nexample, to attach a currency to a number, so that it can be correctly formatted\nas a currency according to the rules of the locale in use.\n\nPlease see the `docs\n`_ for more\ninformation.\n\nFor discussion regarding Fluent, including elm-fluent, see also the `Mozilla\nDiscourse Fluent category `_.\n\nStatus\n------\n\n* Rough around the edges, but being used in production. Please see the list of `open issues\n `_.\n* A pretty complete test suite, and sufficient docs.\n* Good attention to usability in terms of nice error messages.\n* Compatibility: Elm 0.18 only.\n\n Elm 0.19 is problematic - we require a wrapper for `Intl\n `_,\n but Elm doesn't have one yet and the restriction on native modules blocks us\n from writing our own.\n\n It is unclear if/when an official wrapper will be provided, or whether it will\n be suitable for elm-fluent. We use `elm-intl\n `_ which has proved ideal for our\n usage, but the core team apparently `quickly dismissed\n `_\n adoption of a library like that. It has been difficult to discuss this\n properly on Elm forums because of the core team's propensity to `close\n threads without allowing replies to their posts\n `_\n which makes progress difficult.\n\n In light of this, and other problems caused by the restriction on native\n modules in 0.19, the author of elm-fluent may well be forced to move away from\n Elm. In this event the most likely outcome is a migration to `Reason\n `_ + `bucklescript\n `_ and elm-fluent will be forked to target\n that platform instead. This repo will not be deleted but further development\n will likely stop.\n\n* Free software: MIT license\n\nCredits\n-------\n\nThis package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.\n\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\n.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage\n\n\n=======\nHistory\n=======\n\n0.5.0 (2019-08-15)\n------------------\n* Updated to Syntax 1.0 (fluent.syntax 0.15)\n* Various bug fixes and small improvements\n\n0.4.0 (2019-03-18)\n------------------\n* ftl2elm --include option\n* Dropped Python 2.7 support\n\n0.3.0 (2019-03-06)\n------------------\n\n* Syntax 0.8 support, including parameterized terms.\n* Better compile-time resolution of some expressions.\n\n0.2.1 (2018-12-19)\n------------------\n\n* Fixed python-fluent dependency to an older version (< 0.9), because it\n doesn't work with newer versions. Thanks @stasm for the report.\n\n0.2.0 (2018-09-10)\n------------------\n\n* Better handling for a large variety of error conditions\n* Proper fallback mechanism implemented\n* Added ``--watch`` option.\n* Eliminate unused imports from generated code\n* Various bug fixes:\n\n * Avoid outputting ``.elm`` files with no exports\n * Bugs with HTML attributes and non-string message args\n * Crasher with multi-line messages\n * Crasher when a message is missing from default locale\n\n\n0.1.0 (2018-07-27)\n------------------\n\n* First release on PyPI.\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/elm-fluent/elm-fluent", "keywords": "elm_fluent", "license": "MIT license", "maintainer": "", "maintainer_email": "", "name": "elm-fluent", "package_url": "https://pypi.org/project/elm-fluent/", "platform": "", "project_url": "https://pypi.org/project/elm-fluent/", "project_urls": { "Homepage": "https://github.com/elm-fluent/elm-fluent" }, "release_url": "https://pypi.org/project/elm-fluent/0.5.0/", "requires_dist": [ "Click (>=6.0)", "fluent.syntax (>=0.15)", "attrs (>=18)", "language-tags (>=0.4.4)", "beautifulsoup4 (>=4.6.3)", "lxml (>=4.2.4)", "watchdog (>=0.8.3)", "fs (>=2.4.2)" ], "requires_python": "", "summary": "Fluent i18n solution for Elm", "version": "0.5.0" }, "last_serial": 5682042, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "52bf33e49fa7239cdb36fb5df23917f9", "sha256": "f233880bcf32b43cb3758cbaffd80d9c387ad1775d65b637542e17dc26e19c13" }, "downloads": -1, "filename": "elm_fluent-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "52bf33e49fa7239cdb36fb5df23917f9", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 39007, "upload_time": "2018-09-04T20:11:43", "url": "https://files.pythonhosted.org/packages/03/6c/b3b2f81f200bc5ee6f76239d14437f780d84c6b95829752f55b1b108599c/elm_fluent-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8ebc84121e3575b06c08f980051d7efe", "sha256": "c757e5319f80effa3c3a32eed794639854244d5cb5a6bdf21db3eb4d41681fda" }, "downloads": -1, "filename": "elm_fluent-0.1.0.tar.gz", "has_sig": false, "md5_digest": "8ebc84121e3575b06c08f980051d7efe", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 58857, "upload_time": "2018-09-04T20:11:44", "url": "https://files.pythonhosted.org/packages/2f/05/0db62bc07433b392ab86178dc0d4a253e5e5e0c82d70a833eb9958a9240f/elm_fluent-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "2c243bb4ca04104135a2920971e1e644", "sha256": "d994c6e56196f417afb1840bb2e6f60e3d4b3bbec94f4674db3c0145e6f88ebc" }, "downloads": -1, "filename": "elm_fluent-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "2c243bb4ca04104135a2920971e1e644", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 42373, "upload_time": "2018-09-10T16:26:28", "url": "https://files.pythonhosted.org/packages/37/3e/984a9a3861be7b45c9c1174fcf62dd2b517e352295b86beb4d1c41d576ac/elm_fluent-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cbfe0bf14791ec2b90c06ef0c8424587", "sha256": "d7dfa025e1df594628550e9d5faafc350d8e03845fd15644c3d61e603c1bea92" }, "downloads": -1, "filename": "elm_fluent-0.2.0.tar.gz", "has_sig": false, "md5_digest": "cbfe0bf14791ec2b90c06ef0c8424587", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 113701, "upload_time": "2018-09-10T16:26:30", "url": "https://files.pythonhosted.org/packages/b2/e8/e8c93d4239fd76a8005a24541769964c92c62dc050ad9915d2a114cb6a56/elm_fluent-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "6eecca3f2d699126fd68f33f3ef49697", "sha256": "a1546e2716f20bf5d8204eaf2c1b16a233f32716c531f8e0f481aae7d6c64ec6" }, "downloads": -1, "filename": "elm_fluent-0.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "6eecca3f2d699126fd68f33f3ef49697", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 43682, "upload_time": "2018-12-19T12:18:15", "url": "https://files.pythonhosted.org/packages/0b/1b/fc0bc09b5569136aa9fdbc0faea2395582730d47b1fad801ad5a5dbb3c61/elm_fluent-0.2.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2c241a5f0a9a7a52bfe87a5f210dce5c", "sha256": "445254dac1b98d73f2ee13f5d7fdc6332477dc5be79f0d037fe19696d1161267" }, "downloads": -1, "filename": "elm_fluent-0.2.1.tar.gz", "has_sig": false, "md5_digest": "2c241a5f0a9a7a52bfe87a5f210dce5c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 114601, "upload_time": "2018-12-19T12:18:17", "url": "https://files.pythonhosted.org/packages/53/09/71ac9669de0c892342d705ea8a4d99edc8da356a7b6924778602e7f436c4/elm_fluent-0.2.1.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "78fd7f45970421bde4a7d873a13c61e8", "sha256": "29d199664a82d9b0f3cd9c71ee3bee2b446709555fa349c7daea1ccc1f02b9ce" }, "downloads": -1, "filename": "elm_fluent-0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "78fd7f45970421bde4a7d873a13c61e8", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 45454, "upload_time": "2019-03-06T09:11:47", "url": "https://files.pythonhosted.org/packages/20/ac/eb81d943ad9b16a1711365124d2c81c43da27739f7a156fc391d2b099a93/elm_fluent-0.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bc26e8684931a88f062d91b37de21f87", "sha256": "f35964869ce616825790ed3cec5282fb765dd04db77421494792a7734f275bdc" }, "downloads": -1, "filename": "elm_fluent-0.3.tar.gz", "has_sig": false, "md5_digest": "bc26e8684931a88f062d91b37de21f87", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 112597, "upload_time": "2019-03-06T09:11:49", "url": "https://files.pythonhosted.org/packages/2c/2b/a863ea88ae39e138aeb797b585d401ddc951a3ef77601467efc69aad5afa/elm_fluent-0.3.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "59a052d7ba10a35d906b45a52cca8eba", "sha256": "bcc80bd45a209ec86bea5d79cb339015f11c59754c183fb7586d81efba85db92" }, "downloads": -1, "filename": "elm_fluent-0.4.0-py3-none-any.whl", "has_sig": false, "md5_digest": "59a052d7ba10a35d906b45a52cca8eba", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 45752, "upload_time": "2019-03-18T08:09:23", "url": "https://files.pythonhosted.org/packages/ad/3a/06401865f414dd968995bd91fcdcc86745e3d3c569825429fb71da44e749/elm_fluent-0.4.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4c7e8884e59e24f578621e1ae3e7da6a", "sha256": "1c3a3a25d1bf0c6bc6082e585d641c015c7b78f608f14a00d218317a273ce837" }, "downloads": -1, "filename": "elm_fluent-0.4.0.tar.gz", "has_sig": false, "md5_digest": "4c7e8884e59e24f578621e1ae3e7da6a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 115539, "upload_time": "2019-03-18T08:07:31", "url": "https://files.pythonhosted.org/packages/e3/f1/b2f661756260e22706d5b71a558e7441ec3998b5e447cd6bc41e6deb1e3e/elm_fluent-0.4.0.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "a0023df7bef417e481051e4b82e6fe98", "sha256": "423e5f866280e3a240531ac12cbd4d0ecca8e9192029ace6ad50fe4820732361" }, "downloads": -1, "filename": "elm_fluent-0.5.0-py3-none-any.whl", "has_sig": false, "md5_digest": "a0023df7bef417e481051e4b82e6fe98", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 46389, "upload_time": "2019-08-15T12:40:00", "url": "https://files.pythonhosted.org/packages/01/f4/1f8cf2b959cd7a899d128260ddc13e6db14ef87f58c88b1a8d26ea66aca2/elm_fluent-0.5.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d98e76e787dd16cc470b4943ccf8377d", "sha256": "5de4cf44df9a14a5ac17ed2e8d55bccc1f019f550d35ec91356b671591ccd1d5" }, "downloads": -1, "filename": "elm_fluent-0.5.0.tar.gz", "has_sig": false, "md5_digest": "d98e76e787dd16cc470b4943ccf8377d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 115687, "upload_time": "2019-08-15T12:40:03", "url": "https://files.pythonhosted.org/packages/9d/21/97c7e08d9c03d58352232e5291996ae779d6b1accac81b6081fb3bd0aa0a/elm_fluent-0.5.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a0023df7bef417e481051e4b82e6fe98", "sha256": "423e5f866280e3a240531ac12cbd4d0ecca8e9192029ace6ad50fe4820732361" }, "downloads": -1, "filename": "elm_fluent-0.5.0-py3-none-any.whl", "has_sig": false, "md5_digest": "a0023df7bef417e481051e4b82e6fe98", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 46389, "upload_time": "2019-08-15T12:40:00", "url": "https://files.pythonhosted.org/packages/01/f4/1f8cf2b959cd7a899d128260ddc13e6db14ef87f58c88b1a8d26ea66aca2/elm_fluent-0.5.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d98e76e787dd16cc470b4943ccf8377d", "sha256": "5de4cf44df9a14a5ac17ed2e8d55bccc1f019f550d35ec91356b671591ccd1d5" }, "downloads": -1, "filename": "elm_fluent-0.5.0.tar.gz", "has_sig": false, "md5_digest": "d98e76e787dd16cc470b4943ccf8377d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 115687, "upload_time": "2019-08-15T12:40:03", "url": "https://files.pythonhosted.org/packages/9d/21/97c7e08d9c03d58352232e5291996ae779d6b1accac81b6081fb3bd0aa0a/elm_fluent-0.5.0.tar.gz" } ] }