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.2.0.tar.gz (47.0 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.2.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (55.4 kB view details)

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

bibleit-0.2.0-cp311-cp311-macosx_11_0_arm64.whl (42.6 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

File details

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

File metadata

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

File hashes

Hashes for bibleit-0.2.0.tar.gz
Algorithm Hash digest
SHA256 383d634d8fa3c57f985aaf71b0a4d355aa8d697d413de1b4caa816712afac6bc
MD5 e2b00c89202ab5b9b87849c372ec4be6
BLAKE2b-256 489fc8e4888db09599b1874a15d290caafa93af855afdcd15d254c598625c5ce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bibleit-0.2.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 41f0540618a97c94e2aec8bb5f182b659285c9ee88849d0c1f63f16660713960
MD5 664fe5164af8cb73bfaf5c5639ee9720
BLAKE2b-256 aea0fe40d7bbfea9cb21e8975e3c5b6d6d645fbf8a5081a90ccbd4017e2510f9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bibleit-0.2.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 579295c57b5c87a8471d63eb527d807f683fe0faf97408f0eb8a75bedc69f569
MD5 accf0985c7b23897d42eed7e2343e73f
BLAKE2b-256 13fe16e00d5ed90c08bc9dbf79635680d80f68c22bbd57239296b20e570b6bbc

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