Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Simple GUI for the Bible

Project description

This is a simple bible application that parses bible verses and either prints it to the console window or displays it graphically (Pygame needed in this case).

Requirements

  • Python 3
  • Pygame (For graphical display)
To install pygame, use:
pip install pygame

Installation

PIP

If you have Pip installed, go to the terminal window and type

pip install guibible

Manually

Go to the Python Packaging Index website. Search for guibible and either download the compressed version for your operating system and copy it into the Lib –> site-packages directory of your python 3.


You can also download and run the .msi or .exe file for windows.

Usage Instructions

Importing

from guibible.net import Bible   # or
import guibible.net

Usage

All are Optional arguments

instance_variable = Bible(book, chapter, verse_begin, verse_end)

Note

If you imported it the first way, you would have to use it this way.

Default is Bible(Genesis, 1) which shows Genesis 1

sample= Bible("John", 3, 16, 18) # Will get John 3:16-18

Otherwise use:

sample = guibible.net.Bible("John", 3, 16)

To display(print) verse in console window, use:

  • No arguments –> sample.read()

To display verse in graphical format, use:

  • No arguments –> sample.display() will use the default foreground color (black) on the default background color (white).
  • One argument –> sample.display((0,0,255)) will use the first argument(supplied foreground color) on the default background color (white).
  • Two arguments –> sample.display((0,0,255), (255, 255, 0)) will use the first argument(supplied foreground color) on the second argument (supplied background color).

Note

See documentation for full information

Quitting

You can quit the pygame graphical window by either pressing the Q, SPACE or ESC key on the keyboard

Contribution

If you would like to contribute to this project, feel free to fork me on Github

License

The MIT License

Copyright (c) 2015 Taiwo Kareem | taiwo.kareem36@gmail.com

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

Acknowledgements

All glory belongs to God for his mercy and guidance.

Project details


Release history Release notifications

This version
History Node

0.1.4

History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
guibible-0.1.4-0.src.rpm (11.6 kB) Copy SHA256 hash SHA256 Source None Sep 25, 2015
guibible-0.1.4-1.noarch.rpm (11.9 kB) Copy SHA256 hash SHA256 RPM any Sep 25, 2015
guibible-0.1.4.linux-x86_64.tar.gz (5.9 kB) Copy SHA256 hash SHA256 Dumb Binary any Sep 25, 2015
guibible-0.1.4.tar.gz (4.4 kB) Copy SHA256 hash SHA256 Source None Sep 25, 2015
guibible-0.1.4.win32.exe (198.9 kB) Copy SHA256 hash SHA256 Windows Installer any Sep 25, 2015
guibible-0.1.4.zip (6.2 kB) Copy SHA256 hash SHA256 Source None Sep 25, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page