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.3.tar.gz (40.5 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.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (48.5 kB view details)

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

bibleit-0.1.3-cp311-cp311-macosx_11_0_arm64.whl (35.9 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

File details

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

File metadata

  • Download URL: bibleit-0.1.3.tar.gz
  • Upload date:
  • Size: 40.5 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.3.tar.gz
Algorithm Hash digest
SHA256 b7e5cd6d52c2f921fdb211ebad2d20da6176011ffc2e5fbe675270e50403ac31
MD5 7cd6c4de79179dc8c76a187f73149974
BLAKE2b-256 11b71c4c4ed149b28ade65dedc2ad7272dbd191f0e39cf8ed4a8b2b417f11ced

See more details on using hashes here.

File details

Details for the file bibleit-0.1.3-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.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4108f982202421fe0524117fa5cf2780b75f186c8e01db501ab735e698a60a37
MD5 3a9df81f8a90ba485aeb8497fe168ae4
BLAKE2b-256 88bbb4f6c4fac393f927ff72299a2802e0bb3d43c21956ff85bf3d3d0d49e238

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bibleit-0.1.3-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a7ce97a45ddec50dd7ea965386f01884987b33acd5790687bad6d0b6c33d9b26
MD5 d23e3515f540dc11ecc5ba18d52f3dc2
BLAKE2b-256 d473785734c6abc74e9628d9cf7d1741d2ed8e19ffc0c0f2a0ec161a3682067c

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