OpenFormats
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.
Metadata
Release files for openformats 0.0.34
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| openformats-0.0.34.tar.gz | 48.5 kB | Without provenance | Details for openformats-0.0.34.tar.gz |
Release files / openformats-0.0.34.tar.gz
| Download URL | openformats-0.0.34.tar.gz |
|---|---|
| Size | 48.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
92c0fbe0f60231a5211db94d8f3dc26cb891b6a112bea73869e19da3bb5247ea
|
|
BLAKE2b-256 checksum How to use checksums |
c3f191c5a292de9f96c8d15cfe10cf799d99eec894c423ff60cbe9fb07fc9a50
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for openformats 0.0.34
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.