blob: 6d446311d74728238bc0922ec1dd03739e38a296 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# pyble
Python Bible tools
This is a Python toolbox to analyse the Bible.
Copyright © 2015 Camil Staps. See license details below.
## Setting up
Install the necessary packages:
# pip3 install orator click
Edit the `config.py` to suit your needs. Then initialise the database:
$ orator migrations:run -c config.py # Create schema
$ ./cli.py init # Fill with standard data
You're going to need one or several translations. One possibility is to [get them from Bible Hub][biblehubdb] (take the "Text file (zipped, 5.5MB)"). Download and unzip the zipped text file, then run:
$ unzip bibles.zip
$ ./cli.py load --type=biblehub bibles.txt
$ rm bibles.zip bibles.txt
## To do
Add a table for cross references, and a script to read in the database from [OpenBible.info][openbibledb].
Make a web frontend for anyone to search, add cross references, and vote for cross references.
## License
This project is licensed under the GPLv2 license.
[biblehubdb]: http://biblehub.net/database/
[openbibledb]: http://www.openbible.info/labs/cross-references/
|