Skip to content

Command-line tool for fetching Bible passages from biblegateway.com

License

Notifications You must be signed in to change notification settings

covode/bible-fetch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bible Fetch

A command line tool for fetching bible passages from biblegateway.com.

Prerequisites

Beautiful Soup 4, Requests, and Unidecode are required to run bible-fetch.

pip3 install beautifulsoup4 Requests Unidecode

Running

./bible psalm 23
./bible jn 3.16 --version NLT
./bible luke 5.1-11 --verse-numbers
./bible John 12:23-26 --ascii
./bible "Phil 1:1-10; 2:3; Rom 3:28" --version NRSV --verse-numbers

One-liners

Generate a word frequency chart:

bible 1 Corinthians 2:6-16 --version MOUNCE | tr -s "[:space:]" | tr " " "\n" | tr -d '“‘,.”’—:?!;() ' | tr '[:upper:]' '[:lower:]' | sort | uniq -ic | sort

License

MIT style license (see LICENSE).

About

Command-line tool for fetching Bible passages from biblegateway.com

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages