This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description
======
puente
======

.. image:: puente_logo.jpg

Puente is a Python library that handles l10n things for Django projects
using Jinja2 templates.

* extract command to extract strings from your project and shove them into a
``.pot`` file
* merge command that merges new strings from a ``.pot`` file into locale ``.po``
files
* code to collapse whitespace for Jinja2's trans block
* add pgettext and npgettext to template environment and they correctly
escape things and work the same way as Jinja2's newstyle gettext
* configured using Django settings
* solid documentation
* solid tests

This is derived from `Tower <https: github.com="" clouserw="" tower="">`_, but heavily
changed.

:Code: https://github.com/mozilla/puente/
:Issues: https://github.com/mozilla/puente/issues
:License: BSD 3-clause; See LICENSE
:Contributors: See AUTHORS.rst
:Documentation: https://puente.readthedocs.org/en/latest/
:IRC: #puente on irc.mozilla.org


Install
=======

>From PyPI
---------

Run::

$ pip install puente


For hacking
-----------

Run::

# Clone the repository
$ git clone https://github.com/mozilla/puente

# Create a virtualenvironment
...

# Install Puente and dev requirements
$ pip install -r requirements-dev.txt


Usage
=====

See `documentation <https: puente.readthedocs.org=""/>` for configuration and usage.




=======
History
=======

0.5 (in development)
====================

FIXME


0.4.1 (December 10th, 2015)
===========================

* Add all the Django keywords for extraction (#53)


0.4 (November 20th, 2015)
=========================

* Implement pgettext and npgettext (#45)
* Remove undocumented STANDALONE_DOMAINS setting and fix extract/merge code (#44)
* Add ngettext tests
* Rework gettext code, clarify documentation and add tests (#42)
* Project infrastructure fixes


0.3 (November 5th, 2015)
========================

* add "Translators:" to the translator prefix list (#34)
* make ``puente.ext.i18n`` be an alias for ``puente.ext.PuenteI18nExtension``
* fix the gettext alias to be moar korrect (#35)
* fix the jingo-related docs in regards to extensions (#35)
* lots of changes to the Migrating from Tower document
* fleshed out ``test_project_jingo`` so we can use it for development
* fixed merge to handle ``LANGUAGES`` setting correctly
* first pass on Python 3.4 support (pretty sure it works) (#15)
* logo (#37)


0.2 (October 30th, 2015)
========================

* fix requirements
* remove mention of elasticutils in release process
* fix meta information regarding python 3--we don't support that, yet


0.1 (October 30th, 2015)
========================

Initial writing. Everything has changed!
Release History

Release History

0.4.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.4

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.3

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
puente-0.4.1-py2.py3-none-any.whl (19.1 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Dec 10, 2015
puente-0.4.1.tar.gz (124.9 kB) Copy SHA256 Checksum SHA256 Source Dec 10, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting