RSS Feed

RSS

Comments RSS

The Commandline Bible program is released!

My previous post concerned a little program I wrote one evening to process a bible text file and produce a database from it using Python.   That evening project took on a life of its own, so I have removed the archive download from that blog post as it is now very obsolete.   I now introduce and release to the public my Commandline Bible program.  It is a capable bible search and study program designed for use from the Linux or Windows commandline.  Both are writen in Python and require the installation of the Python 2x (currently 2.7.3) interpreter.   The program should work fine for any Python 2.5 or later 2x installation.  In both versions, extract the archive to folder.   For Linux, run python kjv_cmdline.py at the commandline.   For Windows, run the bible.bat batch file which ensures that the needed ANSI character support is loaded and then runs the Python interpreter and the program.   Many thanks to my good friend Larry D. Barr for many suggestions and beta testing support.  This is version 1.0.  Enjoy!

Features:

  • high quality KJV Pure Cambridge Edition (PCE) text is used
  • case sensitive single word or words found in series search
  • search can be for whole bible or limitied to Old Testament, New Testmant, or single Book of the Bible
  • verse display by reference
  • display of the Treasury of Scriptural Knowledge (TSK) references for verses
  • a simple ANSI color text interactive command line program not requiring any graphical interface at all
  • SQLite3 database and other associated datafiles made freely available
  • all software distributed via the free MIT lincese and other applicable free licneses
  • very low system resource usage and very fast

http://dl.dropbox.com/u/28301815/kjv_cmdline.zip

http://dl.dropbox.com/u/28301815/kjv_cmdline.md5

http://dl.dropbox.com/u/28301815/kjv_cmdline-win.zip

http://dl.dropbox.com/u/28301815/kjv_cmdline-win.md5

 

Using Python to create a Bible database program

The programming bug bit me this evening and I did something I have wanted to do for a really long time, write my own code to create a useable bible database.   So, I took an indexed bible text available in the public domain, wrote the code to parse it properly and then package the parsed bible into a Sqlite3 database file that can then be querried.  Basically, the heart of any bible search program.  I cannot believe how fast it runs!  That is a whole lot of text, but Python excells in the text processing domain.   The link is to an archive containing the bible text file that gets processed and the Python program.   When run, the database is created from scratch.

The code is Python 2.x style.   You may use this code in anyway you wish. NOTE: the following code is obsolete and has been removed.  Please see this blog post for the fully featured program!   http://wa5pb.freeshell.org/motd/?p=854


http://dl.dropbox.com/u/28301815/kjvbible.tar.gz

The code has good examples of:
1)reading a text file, line by line
2)text parsing and regular expressions
3)error handling
4)Sqlite3 database handling

The Mystery of Godliness

The Mystery of Godliness

by Bill Allen on Friday, July 22, 2011 at 11:58pm

1 Tim. 3:16 And without controversy great is the mystery of godliness: God was manifest in the flesh, justified in the Spirit, seen of angels, preached unto the Gentiles, believed on in the world, received up into glory.

In this text, the source of godliness is examined. Godliness, true inner spiritual piety, awe and reverence towards God, which would be truely mysterious to those who do not posess it and which are only concerned with outward religious forms or those who fear not God, and also mysterious to those who do posses it but are uninformed from the gospel as to its source and therefore mysterious to both groups, is revealed to be the One who is God manifest in the flesh, who was justified in the Spirit, was seen of angels of both the heavenly and earthly kinds but particularly the earthly kind as they then preached it unto the Gentiles who then believed in this same One who was also received up into glory. The solution to the mystery godliness is none other that Jesus Christ who dwells within us, giving us a new heart and mind and is the source of true inner piety, love and devotion to God in all fear and reverence.