Skip to main content

Interactive bible reading

Project description

bibleit python

Interactive Bible reading application for the terminal, built with Python and Textual.

Features

  • Interactive terminal UI
  • Browser access using Textual Web
  • Docker support
  • Development workflow with Make

Requirements

  • Python 3.11+
  • GNU Make

Installation

Clone the repository:

git clone https://github.com/mittel-labs/bibleit.git
cd bibleit/python

Install development dependencies:

make install

Usage

Run the terminal application:

make run

Run the browser version:

make serve

Then open:

http://localhost:8000

Development

Run with Textual development tools:

make run-dev

Run browser version with hot reload:

make serve-dev

Open a Python shell inside the virtual environment:

make shell

Run tests:

make test

Run lint:

make lint

Format code:

make lint-fix

Build distribution packages:

make build

Install local wheel:

make install-local

Browser server configuration

The browser server supports the following environment variables:

Variable Default Description
BIBLEIT_SERVE_HOST 0.0.0.0 Bind address
BIBLEIT_SERVE_PORT 8000 Server port
BIBLEIT_SERVE_PUBLIC_URL http://localhost:8000 Public URL used by the browser/websocket client

Example:

export BIBLEIT_SERVE_HOST=0.0.0.0
export BIBLEIT_SERVE_PORT=8000
export BIBLEIT_SERVE_PUBLIC_URL=http://localhost:8000

make serve

Docker

Build the image:

docker build -t bibleit .

Run terminal mode:

docker run -it bibleit

Run browser mode:

docker run -p 8000:8000 bibleit serve

Then open:

http://localhost:8000

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

bibleit-0.1.1.tar.gz (29.9 kB view details)

Uploaded Source

Built Distributions

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

bibleit-0.1.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (36.7 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

bibleit-0.1.1-cp311-cp311-macosx_11_0_arm64.whl (24.1 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

File details

Details for the file bibleit-0.1.1.tar.gz.

File metadata

  • Download URL: bibleit-0.1.1.tar.gz
  • Upload date:
  • Size: 29.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for bibleit-0.1.1.tar.gz
Algorithm Hash digest
SHA256 4770493b4947b5da8418360abc7ee03d69542c8601bf65d1b087836c78fc5422
MD5 8104813f0d60fad6f189ae1d6a8fb37f
BLAKE2b-256 ed1d87b7fa3f4704c316fc3f1027783724af3e9cd84bc9db54e1ad521d135496

See more details on using hashes here.

File details

Details for the file bibleit-0.1.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for bibleit-0.1.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e3007ef95acbd332484ccd5e81c43703c8806ea3c03977b8fa7a53ca03b7aca5
MD5 03291c2c2f6a24e32bcb2b5cf434d0ce
BLAKE2b-256 5226cb9e625527392cbf624dc093af400acb7962a117ae2ed268c4fd13cac787

See more details on using hashes here.

File details

Details for the file bibleit-0.1.1-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for bibleit-0.1.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2b0a9b31add6329dec44f80bc5ccc81b70c814cb25ef34a8feef5215bf3b8da8
MD5 e0e78cfd2fb7861a84d1fe1d3308ceef
BLAKE2b-256 41689b10107c978de2d0fa03bbb58d2afd58b4628f88b2c5c8e3f3ba897b5a93

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