Metadata-Version: 2.0
Name: pyramid-localize
Version: 0.1.0
Summary: Package to provide translation methods for pyramid,
        and means to reload translations without stopping the application
Home-page: https://github.com/fizyk/pyramid_localize
Author: Grzegorz Sliwinski
Author-email: username: fizyk, domain: fizyk.net.pl
License: MIT License
Keywords: python template
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Dist: pyramid-basemodel
Requires-Dist: tzf.pyramid-yml (>=0.2)
Requires-Dist: pyramid (>=1.5a1)
Requires-Dist: pyramid-mako
Provides-Extra: docs
Requires-Dist: sphinx; extra == 'docs'
Provides-Extra: tests
Requires-Dist: pytest-pyramid; extra == 'tests'
Requires-Dist: pytest-cov; extra == 'tests'
Requires-Dist: mock; extra == 'tests'
Provides-Extra: babel
Requires-Dist: Babel (>=1.0); extra == 'babel'

pyramid_localize
================

.. image:: https://pypip.in/v/pyramid_localize/badge.png
    :target: https://pypi.python.org/pypi/pyramid_localize/
    :alt: Latest PyPI version

.. image:: https://pypip.in/d/pyramid_localize/badge.png
    :target: https://pypi.python.org/pypi/pyramid_localize/
    :alt: Number of PyPI downloads

.. image:: https://pypip.in/wheel/pyramid_localize/badge.png
    :target: https://pypi.python.org/pypi/pyramid_localize/
    :alt: Wheel Status

.. image:: https://pypip.in/egg/pyramid_localize/badge.png
    :target: https://pypi.python.org/pypi/pyramid_localize/
    :alt: Egg Status

.. image:: https://pypip.in/license/pyramid_localize/badge.png
    :target: https://pypi.python.org/pypi/pyramid_localize/
    :alt: License

Package provides translation methods for pyramid, and means to reload translations
without stopping the application.


Package status
--------------

.. image:: https://travis-ci.org/fizyk/pyramid_localize.png?branch=master
    :target: https://travis-ci.org/fizyk/pyramid_localize
    :alt: Tests

.. image:: https://coveralls.io/repos/fizyk/pyramid_localize/badge.png?branch=master
    :target: https://coveralls.io/r/fizyk/pyramid_localize?branch=master
    :alt: Coverage Status

.. image:: https://requires.io/github/fizyk/pyramid_localize/requirements.png?branch=master
   :target: https://requires.io/github/fizyk/pyramid_localize/requirements/?branch=master
   :alt: Requirements Status



Package resources
-----------------

* Bug tracker: https://github.com/fizyk/pyramid_localize/issues
* Documentation: http://pyramid-localize.readthedocs.org/
* PyPI: https://pypi.python.org/pypi/pyramid_localize


Instalation:
============

``pip install pyramid_localize``

or add **pyramid_localize** to your **setup.py** requirements.


Tests:
======

You'll need: packages defined in extra_requires[tests] to run tests, and then:

``python setup.py nosetests``


=======
CHANGES
=======


0.1.0
-----

- weaker pyramid_yml requirements. Use ``registry['config']`` instead of ``request.config`` which gets added only when explicitly including tzf.pyramid_yml package.
- deprecated request.locale in favour of request.locale_name delivered by Pyramid 1.5
- moved locale negotiator into it's own submodule

backward incompatible
+++++++++++++++++++++
- required cookie name changed to _LOCALE_ to be consistent with other places
- fixed a typo from catalog to catalogue

tests
+++++
- refactor tests to pytest
- introduced pylama checks for:
    - pep8
    - pyflakes
    - pep257
    - mccabe

- license information
- requires at least pyramid 1.5a1 (rely on default localizer reify method)
- py3 compatibility (require at least babel 1.0)
- locale negotiator looks first for request attribute _LOCALE_
- added pyramid_mako dependency (required by pyramid 1.5a2 changes)

0.0.5
-----
- fixes in catalog/index template [zusel, fizyk]
- destination path added in translation_dirs as a translation source as well [fizyk]

0.0.4
-----
- fix issue with translation files path beeing not related to cwd [fizyk]

0.0.2
-----
- fixed MANIFEST.in [fizyk]

0.0.1
-----
- initial release [fizyk]


