A simple Bible translation parser
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
MasterOfTheSoftware 2c3eb4a0f3 Change copyright_status to just copyright il y a 2 semaines
.gitignore v0.1.1 il y a 3 semaines
LICENSE Fix copyright notices (thanks Levy) il y a 3 semaines
README.md Fix copyright notices (thanks Levy) il y a 3 semaines
bible-translations.json Change copyright_status to just copyright il y a 2 semaines
bver.py add getAll() il y a 3 semaines
setup.py Update to v0.1.2 il y a 3 semaines

README.md

bver - the Bible version parser

bver is a simple tool to parse Bible translations. It is mostly made for programs that need to specify what translation a user entered.

This is a part of the Heb12 project. See more about us at https://code.theres.life/heb12

Installation

$ git clone https://code.theres.life/heb12/bver
$ cd bver
$ pip install .

Soon it will be published on PyPi. Then you will be able to simply run pip install bver.

Usage

Here is an example of basic usage:

import bver

print(bver.parse("KJV")["name"])

This prints out the full name of the KJV (“King James Version”).

Here is an example of the information for a translation:

{
	"abbr": "KJV",
	"name": "King James Version",
	"aliases": [
		"Authorised Version", "Authorised King James Version", "Authorised (King James) Version",
		"Authorized Version", "Authorized King James Version", "Authorized (King James) Version",
		"King James Bible", "AV", "AKJV", "KJB"
	]
}

Contributing

Ideas for contributing include:

  • Improving the parser to handle more errors and adding new features
  • Adding more information about translations
  • Adding more translations

License

Copyright © 2020 Ted Jameson ted.jameson@pm.me

You may use this software under the terms of the MIT/Expat license as described in the LICENSE file.

The bible-translations.json file is derived from danday74’s work.