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.3.tar.gz (65.1 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.3-py3-none-any.whl (70.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: usfmtc-0.2.3.tar.gz
  • Upload date:
  • Size: 65.1 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.3.tar.gz
Algorithm Hash digest
SHA256 1e18a35e8b753c122264dba5e3d129a7a1e107791b12c1869ffd8332c2cca752
MD5 ebe084dafdcec3b8a5f90af1c0f90165
BLAKE2b-256 962704d2d9bd228e90e5109d11361930393dce02e10d4549b6041ca893bc73dd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: usfmtc-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 70.0 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 afb9bf595c33c4e2804990efa753e3e42cdf5fec662c9d2126133a9c1ce05b27
MD5 ae660b78aa5883d7546f1f4f6f98bf2c
BLAKE2b-256 b0e19cc1fafac5be193ec37052e828668b7fcd3d9d591db9c982261fb8caad67

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