Skip to main content
Help the Python Software Foundation raise $60,000 USD by December 31st!  Building the PSF Q4 Fundraiser

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.

Files for usfm2osis, version 0.6.1
Filename, size File type Python version Upload date Hashes
Filename, size usfm2osis-0.6.1-py2.7.egg (56.1 kB) File type Egg Python version 2.7 Upload date Hashes View
Filename, size usfm2osis-0.6.1-py2.py3-none-any.whl (32.4 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size usfm2osis-0.6.1-py3.4.egg (56.4 kB) File type Egg Python version 3.4 Upload date Hashes View
Filename, size usfm2osis-0.6.1.tar.gz (39.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page