fluent.runtime


Namefluent.runtime JSON
Version 0.4.0 PyPI version JSON
download
home_pagehttps://github.com/projectfluent/python-fluent
SummaryLocalization library for expressive translations.
upload_time2023-03-16 11:10:35
maintainer
docs_urlNone
authorLuke Plant
requires_python
licenseAPL 2
keywords fluent localization l10n
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            fluent.runtime |fluent.runtime|
===============================

Use `Fluent`_ to localize your Python application. It comes with a ``Localization``
class to use, based on an implementation of ``FluentBundle``. It uses the parser from
``fluent.syntax`` to read Fluent files.

.. code-block:: python

    >>> from datetime import date
    >>> l10n = DemoLocalization("today-is = Today is { $today }")
    >>> val = l10n.format_value("today-is", {"today": date.today() })
    >>> val
    'Today is Jun 16, 2018'

Find the full documentation on https://projectfluent.org/python-fluent/fluent.runtime/.

.. _fluent: https://projectfluent.org/
.. |fluent.runtime| image:: https://github.com/projectfluent/python-fluent/workflows/fluent.runtime/badge.svg

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/projectfluent/python-fluent",
    "name": "fluent.runtime",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "fluent,localization,l10n",
    "author": "Luke Plant",
    "author_email": "L.Plant.98@cantab.net",
    "download_url": "https://files.pythonhosted.org/packages/dc/54/94bbd857443565a5776027165fe1e2634d836681d7d9c8992a2fd0ce8302/fluent.runtime-0.4.0.tar.gz",
    "platform": null,
    "description": "fluent.runtime |fluent.runtime|\n===============================\n\nUse `Fluent`_ to localize your Python application. It comes with a ``Localization``\nclass to use, based on an implementation of ``FluentBundle``. It uses the parser from\n``fluent.syntax`` to read Fluent files.\n\n.. code-block:: python\n\n    >>> from datetime import date\n    >>> l10n = DemoLocalization(\"today-is = Today is { $today }\")\n    >>> val = l10n.format_value(\"today-is\", {\"today\": date.today() })\n    >>> val\n    'Today is Jun 16, 2018'\n\nFind the full documentation on https://projectfluent.org/python-fluent/fluent.runtime/.\n\n.. _fluent: https://projectfluent.org/\n.. |fluent.runtime| image:: https://github.com/projectfluent/python-fluent/workflows/fluent.runtime/badge.svg\n",
    "bugtrack_url": null,
    "license": "APL 2",
    "summary": "Localization library for expressive translations.",
    "version": "0.4.0",
    "split_keywords": [
        "fluent",
        "localization",
        "l10n"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e589a19b0bdfc74977b44aca2ad2e0600fd89c778184fcbb7fc44ba1002cc7b5",
                "md5": "b458528c30ae553fe8cb3e8f13aa9804",
                "sha256": "51fd02582c2363e1106d7051642967a1b7f406dd9c317bd4600a73ede40c5146"
            },
            "downloads": -1,
            "filename": "fluent.runtime-0.4.0-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b458528c30ae553fe8cb3e8f13aa9804",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": null,
            "size": 15627,
            "upload_time": "2023-03-16T11:10:33",
            "upload_time_iso_8601": "2023-03-16T11:10:33.430776Z",
            "url": "https://files.pythonhosted.org/packages/e5/89/a19b0bdfc74977b44aca2ad2e0600fd89c778184fcbb7fc44ba1002cc7b5/fluent.runtime-0.4.0-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "dc5494bbd857443565a5776027165fe1e2634d836681d7d9c8992a2fd0ce8302",
                "md5": "2a886303dc9ee27bfc3e8c95a68c6137",
                "sha256": "cb5ef96a58a3f67acaaca046d1201d202a1ebf2823e5e664370f359bae20574d"
            },
            "downloads": -1,
            "filename": "fluent.runtime-0.4.0.tar.gz",
            "has_sig": false,
            "md5_digest": "2a886303dc9ee27bfc3e8c95a68c6137",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 17591,
            "upload_time": "2023-03-16T11:10:35",
            "upload_time_iso_8601": "2023-03-16T11:10:35.165800Z",
            "url": "https://files.pythonhosted.org/packages/dc/54/94bbd857443565a5776027165fe1e2634d836681d7d9c8992a2fd0ce8302/fluent.runtime-0.4.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-03-16 11:10:35",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "projectfluent",
    "github_project": "python-fluent",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "fluent.runtime"
}
        
Elapsed time: 0.06632s