The cvsbible modules provides a facility to import bibles from a set of CSV files.

The module expects two mandatory files containing the books and the verses.

The format of the books file is:


For example

1,1,Genesis,Gen 2,1,Exodus,Exod ... 40,2,Matthew,Matt

There are two acceptable formats of the verses file. They are:

<book_id>,<chapter_number>,<verse_number>,<verse_text> or <book_name>,<chapter_number>,<verse_number>,<verse_text>

For example:

1,1,1,”In the beginning God created the heaven and the earth.” or “Genesis”,1,2,”And the earth was without form, and void; and....”

All CSV files are expected to use a comma (‘,’) as the delimiter and double quotes (‘”’) as the quote symbol.

class openlp.plugins.bibles.lib.csvbible.CSVBible(parent, **kwargs)[source]

Bases: openlp.plugins.bibles.lib.db.BibleDB

This class provides a specialisation for importing of CSV Bibles.


Import the bible books and verses.


Utility function to get the file encoding.