Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

The Transifex Open Formats library

Project Description

OpenFormats is a localization file format library, written in Python.

  • Read and write to various file formats such as .po, .xliff or even ones which are not localization formats, such as .srt and .txt.
  • Plural support for the formats which do support it.
  • Built-in web-based test app, to help you develop your own format handlers.

OpenFormats’ primary use is to work as a file format backend to Transifex.

Check out OpenFormats documentation for more information.

How to get help, contribute, or provide feedback

See our contribution submission and feedback guidelines.

You can run tests for the formats by doing the following:

python setup.py test

Source code

The source code for OpenFormats is hosted on GitHub.

The testbed

To run the testbed:

./manage.py syncdb --noinput  # optional
./manage.py runserver

Then point your browser to http://localhost:8000/.

The syncdb step is optional and is used if you wish to save certain tests by their URL The tests are saved to an sqlite database. This is most likely to be useful in the live version of the testbed.

Having fired up the testbed, you can select a format handler, paste some text and try to parse it. The testbed will show you the stringset that was extracted from the source text and the template in kept from it. Then, you can try compiling the template against the stringset, or you can modify it first.

Release History

Release History

This version
History Node

0.0.34

History Node

0.0.33

History Node

0.0.32

History Node

0.0.31

History Node

0.0.3

History Node

0.0.2

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
openformats-0.0.34.tar.gz (48.5 kB) Copy SHA256 Checksum SHA256 Source Nov 22, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS 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