USFM reference parser
Project description
USFMTC Module
Introduction
The USFMTC module is a module for reading and writing USFM scripture files in all their formats: USFM, USX and USJ. It is designed to be a reference implementation of the standard. It also has support for Scripture References.
import sys, usfmtc
from usfmtc.versification import Versification
# engvrs = Versification("eng.vrs")
usxdoc = usfmtc.readFile(sys.argv[1])
# usxdoc.canonicalise()
# usxdov.reversify(engvrs, None)
usxdoc.saveAs(sys.argv[2])
The internal representation of the data is as an ElementTree structure conforming to the USX standard.
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.3.10.tar.gz.
File metadata
- Download URL: usfmtc-0.3.10.tar.gz
- Upload date:
- Size: 85.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9a0e1a26c0081e5ada003714ca9995185d152cd9a7c0f5f628e8c714f3a16bcb
|
|
| MD5 |
cd32825da1ecb736a438767c887119ca
|
|
| BLAKE2b-256 |
7f4b5344b41cb5dc615a44a7c5014d3851f9d33cb47d36e2a97f05e4fad61ece
|
File details
Details for the file usfmtc-0.3.10-py3-none-any.whl.
File metadata
- Download URL: usfmtc-0.3.10-py3-none-any.whl
- Upload date:
- Size: 83.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0dd6be26e0ba265a5390dc522fbe7f38f1524c2c90ecf8c917ca512f481e9203
|
|
| MD5 |
f14790c32adf7c30297d16b5dfc3c27f
|
|
| BLAKE2b-256 |
3e5f07b58548b4555406795fbc23da2de570494ffc06955cc498c50b6ef13dc6
|