Skip to main content

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


Download files

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

Source Distribution

usfmtc-0.2.2.tar.gz (64.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

usfmtc-0.2.2-py3-none-any.whl (69.7 kB view details)

Uploaded Python 3

File details

Details for the file usfmtc-0.2.2.tar.gz.

File metadata

  • Download URL: usfmtc-0.2.2.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

Hashes for usfmtc-0.2.2.tar.gz
Algorithm Hash digest
SHA256 345533ec9cc2c2dea45bc29dfed7204438a667eef2ffa3cf6da9a81ab86ddf53
MD5 a713a876a08e0bb75413acaa75d8800a
BLAKE2b-256 d316bdf09a340a29889a05d86a1e43c68e23e150a5a32c01f5a4982c2fda1944

See more details on using hashes here.

File details

Details for the file usfmtc-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: usfmtc-0.2.2-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

Hashes for usfmtc-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 65a96cb6de382f6eecb4ea14280d92a975abfd5a2706362ad391ace6b83e0b81
MD5 e2dac93455edca58da725577231bd8a9
BLAKE2b-256 62f3d9f46f084eaee580e603aa7992b2e201fdbee1a195365269170087c8c9c5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page