USFM reference parser
Project description
usfmtc
Unified Standard Format Markup is the primary file format for the source of bible translations. It is available in 3 serializations: USFM which is a simple text markup using TeX style backslash codes to mark the various elements; USX which is an XML serialization and USJ which is a JSON serialization.
The usfmtc package contains parsers and generators for USFM, USX and USJ. There are two parsers and generators for USFM: validating and non validating.
The package comes with a script: usfmconv that can read any of the 3 file formats and output to any of the 3 file formats.
The primary entry point for python is the usfmtc module:
from usfmtc import readFile
usfmdoc = readFile(infile)
usfmdoc.saveAs(outfile)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file usfmtc-0.2.1.tar.gz.
File metadata
- Download URL: usfmtc-0.2.1.tar.gz
- Upload date:
- Size: 64.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
81a1404d4b25facd445f733aa472a3bf12396b7af7eadf1188ecf205b92a5ae4
|
|
| MD5 |
e8866cc6cceb9f9c7ccf9c0307c0fea6
|
|
| BLAKE2b-256 |
a65d43b6f6d82d80f0bfc62728e8974baff7fc5f1d0fe78080a2d560edb53583
|
File details
Details for the file usfmtc-0.2.1-py3-none-any.whl.
File metadata
- Download URL: usfmtc-0.2.1-py3-none-any.whl
- Upload date:
- Size: 69.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6e8561279c3fc1f4ef47ef353799b8e06da69b6aff7fbee6f05adb85f6d1f1c8
|
|
| MD5 |
6501693ec764c0e6074bb7c8904ce9ad
|
|
| BLAKE2b-256 |
e2f4ead2342b4f941d31f5c2efd4741792fb4efc14d6d590ec9aa035cee803d1
|