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.4.tar.gz (65.6 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.4-py3-none-any.whl (70.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: usfmtc-0.2.4.tar.gz
  • Upload date:
  • Size: 65.6 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.4.tar.gz
Algorithm Hash digest
SHA256 b2635a773abd4315b029c94f35b645dbd2b7856ff745a57a0ef269f9de96756b
MD5 bb27e464aff3651b1928dfa73a074107
BLAKE2b-256 08a832fb5f695012203830fda1d269b67b2638178aea3c65ee977f12ad145346

See more details on using hashes here.

File details

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

File metadata

  • Download URL: usfmtc-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 70.6 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6d7e960ad25cee6c0907975426e49f3887d84752dda8f485524a4ab9f6c610db
MD5 a544e574eaa1a2046ede0155dc3af19b
BLAKE2b-256 5359afac15aabebc7eb193f699c33e06c1ba0fd9ed69ffa0603a97f618dc4772

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