python-gettext


Namepython-gettext JSON
Version 5.0 PyPI version JSON
download
home_pagehttps://github.com/hannosch/python-gettext
SummaryPython Gettext po to mo file compiler.
upload_time2023-03-30 06:24:37
maintainer
docs_urlNone
authorHanno Schlichting
requires_python>=3.7
licenseBSD
keywords python gettext msgctxt
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Overview
========

This implementation of Gettext for Python includes a Msgfmt class which can be
used to generate compiled mo files from Gettext po files and includes support
for the newer msgctxt keyword.

The idea for this project had been rather ambitious, but never lived up to what
is was supposed to do. Look at Babel (http://pypi.python.org/pypi/Babel) for a
project more worthy of this projects name.

Development takes place at https://github.com/hannosch/python-gettext

Contributors
------------

* Hanno Schlichting
* Christian Heimes
* Andrei Polushin
* Michael Howitz
* Steffen Allner


Changelog
=========

5.0 (2023-03-30)
----------------

- Add support for Python 3.11.

- Drop support for Python 2.7, 3.5, 3.6.


4.1 (2022-08-26)
----------------

- Add support for Python 3.8, 3.9, 3.10. [icemac]

- Drop support for Python 3.4. [icemac]

- Drop support for running the tests using ``python setup.py test``. [icemac]


4.0 (2018-11-27)
----------------

- Add support for Python 3.6 and 3.7.
  [sallner]

- Drop support for Python 2.6.
  [sallner]


3.0 - 2016-01-04
----------------

- Use `u''` strings again for easier cross Python 2/3 code.
  [hannosch]

- #5: Fix plural form support under Python 3.x.
  [hannosch]

- Break dependency on ``unittest2`` for Python 2.7.
  [icemac]

2.1 - 2013-02-10
----------------

- Prefer `ast.literal_eval` over `eval` under Python 2, instead of just under
  Python 3. We only support Python 2.6+ where the function is available.
  [hannosch]

- Tested successfully under Python 3.3.
  [hannosch]

2.0 - 2011-12-22
----------------

- Tested successfully under PyPy 1.7.
  [hannosch]

- Handle non-latin-1 characters in the header correctly.
  [hannosch]

- Python 2 and 3 compatibility in the same codebase.
  [hannosch]

1.2 - 2011-11-01
----------------

- Make sure empty `po` files don't break.
  [Alexandru Plugaru]

- Add support for messages with plural forms.
  [Andrei Polushin]

1.1.1 - 2011-03-21
------------------

- Simplify test folder discovery.
  [hannosch]

1.1 - 2011-03-20
----------------

- Handle Unicode Byte Order Mark at the beginning of files. This closes
  http://dev.plone.org/plone/ticket/10813.
  [hannosch, kleist]

- Fixed potential UnicodeError in exception handling. This closes
  http://dev.plone.org/plone/ticket/11058.
  [hannosch, vincentfretin]

1.0 - 2009-05-23
----------------

- Updated package description and metadata, relicense from GPL to BSD. Note
  about Babel which supersedes this package in all possible ways.
  [hannosch]

0.6 - 2007-11-02
----------------

- Fixed header parsing.
  [hannosch]

0.5 - 2007-11-01
----------------

- Optimized file parsing by using more elif clauses and avoiding an insane
  number of startswith and isinstance calls.
  [hannosch]

0.4 - 2007-10-13
----------------

- Added header_only argument to the read method, that allows to only parse
  the header of a file without reading and parsing all the messages.
  [hannosch]

0.3 - 2007-08-25
----------------

- Added an explicit read method, which only parses the po file and stores
  it in the messages dict, but does not compile it.
  [hannosch]

0.2 - 2007-08-23
----------------

- Bumped version number to accommodate the number in the egg info.
  [hannosch]

0.1 - 2007-06-19
----------------

- Initial implementation of a Msgfmt class which supports the generation of
  Gettext mo files including support for the new msgctxt keyword.
  [hannosch]

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/hannosch/python-gettext",
    "name": "python-gettext",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "Python Gettext Msgctxt",
    "author": "Hanno Schlichting",
    "author_email": "hanno@hannosch.eu",
    "download_url": "https://files.pythonhosted.org/packages/f6/c8/85df0d3956bebdbaff936df47a5705be9e0b42404589a07065a39c8324e5/python-gettext-5.0.tar.gz",
    "platform": null,
    "description": "Overview\n========\n\nThis implementation of Gettext for Python includes a Msgfmt class which can be\nused to generate compiled mo files from Gettext po files and includes support\nfor the newer msgctxt keyword.\n\nThe idea for this project had been rather ambitious, but never lived up to what\nis was supposed to do. Look at Babel (http://pypi.python.org/pypi/Babel) for a\nproject more worthy of this projects name.\n\nDevelopment takes place at https://github.com/hannosch/python-gettext\n\nContributors\n------------\n\n* Hanno Schlichting\n* Christian Heimes\n* Andrei Polushin\n* Michael Howitz\n* Steffen Allner\n\n\nChangelog\n=========\n\n5.0 (2023-03-30)\n----------------\n\n- Add support for Python 3.11.\n\n- Drop support for Python 2.7, 3.5, 3.6.\n\n\n4.1 (2022-08-26)\n----------------\n\n- Add support for Python 3.8, 3.9, 3.10. [icemac]\n\n- Drop support for Python 3.4. [icemac]\n\n- Drop support for running the tests using ``python setup.py test``. [icemac]\n\n\n4.0 (2018-11-27)\n----------------\n\n- Add support for Python 3.6 and 3.7.\n  [sallner]\n\n- Drop support for Python 2.6.\n  [sallner]\n\n\n3.0 - 2016-01-04\n----------------\n\n- Use `u''` strings again for easier cross Python 2/3 code.\n  [hannosch]\n\n- #5: Fix plural form support under Python 3.x.\n  [hannosch]\n\n- Break dependency on ``unittest2`` for Python 2.7.\n  [icemac]\n\n2.1 - 2013-02-10\n----------------\n\n- Prefer `ast.literal_eval` over `eval` under Python 2, instead of just under\n  Python 3. We only support Python 2.6+ where the function is available.\n  [hannosch]\n\n- Tested successfully under Python 3.3.\n  [hannosch]\n\n2.0 - 2011-12-22\n----------------\n\n- Tested successfully under PyPy 1.7.\n  [hannosch]\n\n- Handle non-latin-1 characters in the header correctly.\n  [hannosch]\n\n- Python 2 and 3 compatibility in the same codebase.\n  [hannosch]\n\n1.2 - 2011-11-01\n----------------\n\n- Make sure empty `po` files don't break.\n  [Alexandru Plugaru]\n\n- Add support for messages with plural forms.\n  [Andrei Polushin]\n\n1.1.1 - 2011-03-21\n------------------\n\n- Simplify test folder discovery.\n  [hannosch]\n\n1.1 - 2011-03-20\n----------------\n\n- Handle Unicode Byte Order Mark at the beginning of files. This closes\n  http://dev.plone.org/plone/ticket/10813.\n  [hannosch, kleist]\n\n- Fixed potential UnicodeError in exception handling. This closes\n  http://dev.plone.org/plone/ticket/11058.\n  [hannosch, vincentfretin]\n\n1.0 - 2009-05-23\n----------------\n\n- Updated package description and metadata, relicense from GPL to BSD. Note\n  about Babel which supersedes this package in all possible ways.\n  [hannosch]\n\n0.6 - 2007-11-02\n----------------\n\n- Fixed header parsing.\n  [hannosch]\n\n0.5 - 2007-11-01\n----------------\n\n- Optimized file parsing by using more elif clauses and avoiding an insane\n  number of startswith and isinstance calls.\n  [hannosch]\n\n0.4 - 2007-10-13\n----------------\n\n- Added header_only argument to the read method, that allows to only parse\n  the header of a file without reading and parsing all the messages.\n  [hannosch]\n\n0.3 - 2007-08-25\n----------------\n\n- Added an explicit read method, which only parses the po file and stores\n  it in the messages dict, but does not compile it.\n  [hannosch]\n\n0.2 - 2007-08-23\n----------------\n\n- Bumped version number to accommodate the number in the egg info.\n  [hannosch]\n\n0.1 - 2007-06-19\n----------------\n\n- Initial implementation of a Msgfmt class which supports the generation of\n  Gettext mo files including support for the new msgctxt keyword.\n  [hannosch]\n",
    "bugtrack_url": null,
    "license": "BSD",
    "summary": "Python Gettext po to mo file compiler.",
    "version": "5.0",
    "split_keywords": [
        "python",
        "gettext",
        "msgctxt"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0de770b80ec3480b9c453366a396e31eaa2f00b5a6824e1600d23f796e848b6b",
                "md5": "40e658e4b04530440e071bc5c56d73f9",
                "sha256": "083d4c72c5e72a6bd83b0570770792b9a1e572d8ab3e9cba554e0cd4781aa84a"
            },
            "downloads": -1,
            "filename": "python_gettext-5.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "40e658e4b04530440e071bc5c56d73f9",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 13086,
            "upload_time": "2023-03-30T06:24:36",
            "upload_time_iso_8601": "2023-03-30T06:24:36.274934Z",
            "url": "https://files.pythonhosted.org/packages/0d/e7/70b80ec3480b9c453366a396e31eaa2f00b5a6824e1600d23f796e848b6b/python_gettext-5.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f6c885df0d3956bebdbaff936df47a5705be9e0b42404589a07065a39c8324e5",
                "md5": "b84c8a1ecf695f665c78b045ea47438e",
                "sha256": "869af1ea45e3dab6180557259824c2a62f1800e1286226af912431fe75c5084c"
            },
            "downloads": -1,
            "filename": "python-gettext-5.0.tar.gz",
            "has_sig": false,
            "md5_digest": "b84c8a1ecf695f665c78b045ea47438e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 9879,
            "upload_time": "2023-03-30T06:24:37",
            "upload_time_iso_8601": "2023-03-30T06:24:37.991404Z",
            "url": "https://files.pythonhosted.org/packages/f6/c8/85df0d3956bebdbaff936df47a5705be9e0b42404589a07065a39c8324e5/python-gettext-5.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-03-30 06:24:37",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "hannosch",
    "github_project": "python-gettext",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "python-gettext"
}
        
Elapsed time: 0.07259s