Skip to main content

Tools for converting Bibles from USFM to OSIS XML

Project description

Build Status Coverage Status Documentation Status

Python scripts for converting USFM to OSIS XML

Usage: usfm2osis.py <osisWork> [OPTION] ...  <USFM filename|wildcard> ...')
  -d               debug mode (single-threaded, verbose output)
  -e ENCODING      input encoding override (default is to read the USFM file's
                     \ide value or assume UTF-8 encoding in its absence)
  -h, --help       print this usage information
  -o FILENAME      output filename (default is: <osisWork>.osis.xml)
  -r               enable relaxed markup processing (for non-standard USFM)
  -s mode          set book sorting mode: natural (default), alpha, canonical,
                     usfm, random, none
  -v               verbose feedback
  -x               disable XML validation

As an example, if you want to generate the osisWork <Bible.KJV> and your USFM
  are located in the ./KJV folder, enter:
    python usfm2osis.py Bible.KJV ./KJV/*.usfm

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

usfm2osis-0.6.1.tar.gz (39.5 kB view details)

Uploaded Source

Built Distributions

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

usfm2osis-0.6.1-py3.4.egg (56.4 kB view details)

Uploaded Egg

usfm2osis-0.6.1-py2.py3-none-any.whl (32.4 kB view details)

Uploaded Python 2Python 3

usfm2osis-0.6.1-py2.7.egg (56.1 kB view details)

Uploaded Egg

File details

Details for the file usfm2osis-0.6.1.tar.gz.

File metadata

  • Download URL: usfm2osis-0.6.1.tar.gz
  • Upload date:
  • Size: 39.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for usfm2osis-0.6.1.tar.gz
Algorithm Hash digest
SHA256 bdd1d9d14e0b70d617aa88b4753d49d81c091e810a647df166e129a28b0b5deb
MD5 28d55660dfb9363c8ce30daf00b57492
BLAKE2b-256 13e430b69eda9fbcd2805ad20c4d6887e21ac7e308fecc9f9710e527147b2701

See more details on using hashes here.

File details

Details for the file usfm2osis-0.6.1-py3.4.egg.

File metadata

  • Download URL: usfm2osis-0.6.1-py3.4.egg
  • Upload date:
  • Size: 56.4 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for usfm2osis-0.6.1-py3.4.egg
Algorithm Hash digest
SHA256 1b5ccd3fff30c6863816b2ec1c68db5833b793098ed06cd50bd11fb754f5a1e2
MD5 3561106803853f4521a5b42778890d98
BLAKE2b-256 3d0e1eb91fac016a74eaf6baf0ad77a3802af7488a0c5bfe5a49c9dddc67fe3e

See more details on using hashes here.

File details

Details for the file usfm2osis-0.6.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for usfm2osis-0.6.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c92321f84191dc03944c4c9bb5e30dfbe38438959fa6c086751cb89c9ef2d703
MD5 a8ae780aa54cc1751f40180128aec657
BLAKE2b-256 d7d8cd081aba113881b52de18d485df98ec15c86f559fcd68294ebccecc1f80c

See more details on using hashes here.

File details

Details for the file usfm2osis-0.6.1-py2.7.egg.

File metadata

  • Download URL: usfm2osis-0.6.1-py2.7.egg
  • Upload date:
  • Size: 56.1 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for usfm2osis-0.6.1-py2.7.egg
Algorithm Hash digest
SHA256 a73445889f0bc8a953760474bf7f586df0a9b69f836996001a29d42ae5b10724
MD5 f74c66a839273c7dfc56e385eea3dcc4
BLAKE2b-256 19e48f5bcd33f1142ed98f685f4374bd56b34ae2ce4320a0100cf181fb3d7165

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