Skip to main content

A Django app for interfacing with the Holy Bible.

Project description

django-rest-bible - A modern Bible Backend for the Django Web Framework

django-rest-bible is a modern, actively maintained Python package & Django app for interfacing with the King James Version of the Holy Bible. This project is an extension of the unmaintained package django-bible, updated and improved for modern Python environments.

Installation

To install, simply run the script with the install command:

pip install django-rest-bible

Quick start

  1. Add bible and bible_api to your INSTALLED_APPS setting: INSTALLED_APPS = [ ..., "bible", "bible_api", ]
  2. Include the bible and bible_api URLconf in your project urls.py:
path('', include('bible.urls')),
path('api/v1/', include('api.urls')),
  1. Run python manage.py migrate to create the models.

  2. Once the tables have been created, you need to populate the tables with Bible data.

Bible Data

A JSON dump of the entire KJV Bible is available for download here http://s3.amazonaws.com/bible-data/kjv_bible.json

You can load the downloaded Bible data into your project's database by running the django loaddata command:

python manage.py loaddata kjv_bible.json --app bible
  1. Start the development server and visit http://127.0.0.1:8000/ for the Index of books or the endpoint http://127.0.0.1:8000/api/v1/bible. You can filter for a specific book, chapter or verse using the query parameters chapter__book_slug, chapter__number and number for example: http://127.0.0.1:8000/api/v1/bible/?chapter__book__slug=genesis&chapter__number=2&number=3 should return a serialized Genesis 2:3.

Why This Project Exists

The original project, django-bible, provided a useful foundation but appears to have been unmaintained for many years.

This version was created to:

  • Keep the project alive and usable
  • Add improvements and bug fixes
  • Ensure compatibility with modern Python versions
  • Add RESTful API Service
  • Provide ongoing maintenance and support

What’s Changed

  • Updated dependencies
  • Improved code structure
  • Added new features and fixes
  • Enhanced documentation

License & Attribution

This project is an extension of django-bible, created by David Davis.

The original work is licensed under the BSD 3-Clause License This project retains the original license and copyright Additional modifications are © 2026 Uchenna Adubasim

See the LICENSE file for full details.

Contributing

Contributions are welcome! To contribute,

  • Fork the repo
  • Create a new branch
  • Submit a pull request

Issues

If you find a bug or have a feature request, please open an issue.

Acknowledgements

Special thanks to David Davis for building the foundation of this project.

Maintainer

This project is actively maintained by:

  • Uchenna Adubasim (Lead Maintainer)

For issues, features, and support, please contact or open an issue in this repository.

Contact

Find my email here

Project details


Download files

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

Source Distribution

django_rest_bible-0.0.1.tar.gz (12.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_rest_bible-0.0.1-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

Details for the file django_rest_bible-0.0.1.tar.gz.

File metadata

  • Download URL: django_rest_bible-0.0.1.tar.gz
  • Upload date:
  • Size: 12.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for django_rest_bible-0.0.1.tar.gz
Algorithm Hash digest
SHA256 3ca74f2a9dce32d46ccf65eaf5c0e03b5af2043d30e738e2504d298fe2f33e9f
MD5 46de7342eb1f64417ba6d1d544d5ef99
BLAKE2b-256 651218332e3938dbf5b41b76600b9c43f848fd443bbbf4bbcefb220885772355

See more details on using hashes here.

File details

Details for the file django_rest_bible-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for django_rest_bible-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6c7a91d20de756c6d3a7b4a83e23108dd45718e9f012c61023ad39b1ba5ad439
MD5 5e3133c5b6120b0f64d4a22d514e7423
BLAKE2b-256 dbac4c6cd9c1de061961961524c775fd352c9fba718e9932aa96bed2bc3e961b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page