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.2.tar.gz (36.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.1.2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (44.0 kB view details)

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

bibleit-0.1.2-cp311-cp311-macosx_11_0_arm64.whl (31.4 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

File details

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

File metadata

  • Download URL: bibleit-0.1.2.tar.gz
  • Upload date:
  • Size: 36.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.1.2.tar.gz
Algorithm Hash digest
SHA256 3ffcc2e5ae537339c2147efa6be726fcfe756c3afd61f9f477ca60416edff227
MD5 ecfbdd2c8f0876013cf24e289b0178bc
BLAKE2b-256 0c7ecbcb2031da8ca1b4f0f05a0b442622915d91489ef6bab89ab48d95c477b3

See more details on using hashes here.

File details

Details for the file bibleit-0.1.2-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.2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1fb3acd1eb7ee66ed9011a17ed846a972d3fc983ca05ea17df74124b3d79721f
MD5 947d41270d0504657f985fb70c09ec36
BLAKE2b-256 514b7bf3be58b31245d5de47f537bbd6e50d3f56f4e8c25d0215481450d9d559

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bibleit-0.1.2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 58a0628f554518b93ff249f5c8e5cf1f1ef3e0fb0e9b3ee4f503539ebc7d75bc
MD5 6057c2e0b31bce24a80372ee1d3cfca5
BLAKE2b-256 e0bf60207730cf7b452fea74ba4e7595501d30409142d616dba7616998c0515a

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