A simple Bible translation parser
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
MasterOfTheSoftware 2c3eb4a0f3 Change copyright_status to just copyright 1周前
.gitignore v0.1.1 2 周前
LICENSE Fix copyright notices (thanks Levy) 2 周前
README.md Fix copyright notices (thanks Levy) 2 周前
bible-translations.json Change copyright_status to just copyright 1周前
bver.py add getAll() 2 周前
setup.py Update to v0.1.2 2 周前

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.