Skip to main content

A GNOME-native worship service planning tool for United Church of Canada ministry

Project description

Rubric

Tests PyPI

A GNOME-native worship service planning tool for United Church of Canada ministry.

Rubric integrates the Revised Common Lectionary, hymn lookup for Voices United, More Voices, and Let Us Sing, Bible passage retrieval, and export options for bulletin production.


Features

  • Simple mode (on by default) — hides LaTeX, GitHub sync, CSV export, snippets, responsive reading, and the LaTeX preamble preference. All features remain accessible when turned off. Toggle in Preferences → View → Simple mode.
  • RCL integration — lectionary readings, liturgical colour, and season for any Sunday; weekday services default to the coming Sunday with a stepper
  • Lectionary year tracker — persistent Year A/B/C and season indicator in the header, updated daily
  • Hymn suggestions — season and Proper-specific suggestions (Propers 4–29) from VU, MV, and LUS; left-click to view on Hymnary.org, right-click to inject into the selected element
  • Hymn lookup — type VU 16 or MV 120 to fetch the title from Hymnary.org; optional inline Hymnary preview via WebKit
  • Bible viewer — fetch passages in WEB, KJV, ASV, or ESV (ESV requires a free API key from api.esv.org)
  • HTML export — generates a clean, print-ready HTML file and opens it in the browser; use File → Print for a PDF without LaTeX
  • Congregational bulletin export
    • Simple mode — HTML bulletin opens in the browser (no LaTeX required)
    • Advanced mode — LaTeX-compiled PDF for print or digital
      • Print (booklet)memoir class, half-letter (5.5 × 8.5 in), fold for saddle-stitch
      • Digital (screen PDF)extarticle, full letter, colour hyperlinks
  • Per-element bulletin toggle — the 📋 button marks each element shown or hidden in the bulletin independently of the leader copy
  • Bulletin preferences — church name, address, service time, website, email, phone, welcome line, accessibility note, mission statement, staff/contact list, and announcements — all in Preferences → Bulletin
  • Announcement expiry — each announcement carries an optional YYYY-MM-DD expiry date; expired announcements are omitted automatically
  • Past Liturgies archive — browse every saved service in a read-only viewer; insert any past element's text into the current service with one click
  • Element Library — searchable database of every element from every saved service
  • Bulletin preview panel — live preview of the congregational bulletin as you edit; popout to a floating window
  • Service Planner — scans the liturgy/ folder and lists all services grouped into Upcoming and Past
  • GitHub repository sync — push/pull services to a GitHub repository with one click
  • Repository-aware save paths — Save As, LaTeX export, and bulletin export default to the right subfolder when a repository is configured
  • Scripture translation selector — choose WEB, KJV, ASV, or ESV in Preferences → Scripture
  • Undo / Redo — Ctrl+Z and Ctrl+Shift+Z
  • LaTeX exportextarticle, two-column layout per liturgical movement, Junicode font, proper scripture environment (advanced mode)
  • PDF compilation — one-click xelatex compilation from within the app (advanced mode)
  • Snippets library — reusable liturgical texts (advanced mode)
  • Responsive reading builder — L:/P: syntax generates formatted LaTeX (advanced mode)
  • CSV export — for sharing with musicians and AV teams (advanced mode)

Requirements

  • Python 3.10+
  • GTK4 + libadwaita + python3-gobject (system packages)

openSUSE / Leap / Tumbleweed:

sudo zypper install python3-gobject typelib-1_0-Adw-1 typelib-1_0-Gtk-4_0

Ubuntu / Debian:

sudo apt install python3-gi python3-gi-cairo gir1.2-gtk-4.0 gir1.2-adw-1

Fedora:

sudo dnf install python3-gobject gtk4 libadwaita

LaTeX (xelatex + Junicode + memoir package) is only needed for PDF compilation and the advanced bulletin export. In simple mode, HTML export covers all bulletin and service order needs with no TeX Live required.


Installation

pipx (recommended)

pipx installs Rubric into an isolated environment and puts the rubric command on your PATH. Because Rubric uses system GTK libraries, pass --system-site-packages:

pipx install --system-site-packages rubric-liturgy

To update later:

pipx upgrade rubric-liturgy

pip

pip install --user rubric-liturgy

Make sure ~/.local/bin is on your PATH (echo $PATH). Add it permanently with:

echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc

Debian/Ubuntu .deb package

Download rubric-liturgy_<version>_all.deb from the latest release and install:

sudo apt install ./rubric-liturgy_*.deb

This installs system-wide to /usr/share/rubric/ and registers the .desktop entry, icons, MIME type, and AppStream metainfo automatically.

openSUSE / Fedora RPM package

Download rubric-liturgy-<version>-1.noarch.rpm from the latest release and install:

# openSUSE
sudo zypper install ./rubric-liturgy-*.noarch.rpm

# Fedora
sudo dnf install ./rubric-liturgy-*.noarch.rpm

git clone (development / manual install)

git clone https://github.com/calstfrancis/rubric.git
cd rubric
bash install.sh

The install script copies app files to ~/.local/share/rubric/, creates a launcher at ~/.local/bin/rubric, installs the .desktop entry and icons, and registers the .liturgy MIME type.


Usage

rubric

Or search for Rubric in GNOME Shell or your desktop launcher.

On first launch, a welcome wizard offers three starting points: today's lectionary, a blank service, or a guided tour.


File format

Service files use the .liturgy extension (JSON). They store the service title, date, ordered elements with notes and leader assignments, and the path to the linked .tex export file.


Running tests

python3 -m unittest test_rcl_data test_bible_api -v

Project structure

rubric.py              Main application
rcl_data.py            RCL lectionary database and calendar logic
hymn_lookup.py         Hymnary.org title fetcher (VU, MV, LUS)
hymn_suggestions.py    Season and Proper-specific hymn suggestions
bible_api.py           Bible passage fetcher (WEB, KJV, ASV, ESV)
snippets.py            Default liturgical text snippets
observances.py         Liturgical calendar and observances intelligence
rubric_package/        Packaged models, utils, exporters, and data
install.sh             Manual install script (git clone path)
HELP.md                User guide
FAQ.md                 Frequently asked questions
CHANGELOG.md           Version history
RELEASING.md           How to cut a release

Contributing

Contributions welcome — bug reports, hymn suggestion additions, and UCC-specific liturgical content especially so.

Please open an issue before starting significant work.


Acknowledgements


License

GPL-3.0 — see LICENSE


Developed at Atlantic School of Theology, Halifax, Nova Scotia.

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

rubric_liturgy-0.14.4.tar.gz (146.8 kB view details)

Uploaded Source

Built Distribution

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

rubric_liturgy-0.14.4-py3-none-any.whl (146.1 kB view details)

Uploaded Python 3

File details

Details for the file rubric_liturgy-0.14.4.tar.gz.

File metadata

  • Download URL: rubric_liturgy-0.14.4.tar.gz
  • Upload date:
  • Size: 146.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for rubric_liturgy-0.14.4.tar.gz
Algorithm Hash digest
SHA256 08814027b617266121edd0b8867fe982178c502d7042be204d206888fc104f4f
MD5 0d59fc1fe354101f24a10f89115f4f96
BLAKE2b-256 a1fd2753496548a08247a134149be0a6e4493ca80635cbc58ab60fbd25c73b60

See more details on using hashes here.

Provenance

The following attestation bundles were made for rubric_liturgy-0.14.4.tar.gz:

Publisher: publish.yml on calstfrancis/rubric

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rubric_liturgy-0.14.4-py3-none-any.whl.

File metadata

  • Download URL: rubric_liturgy-0.14.4-py3-none-any.whl
  • Upload date:
  • Size: 146.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for rubric_liturgy-0.14.4-py3-none-any.whl
Algorithm Hash digest
SHA256 855a1552a8e4f5424819bc9baa7d6aa89bcfe33b30d60cbc06e79610906900b0
MD5 304bbf552213ef254f97e8512e9584b8
BLAKE2b-256 29527f27b5321568aead90fea795277e3270e6af4d97cc7d042befd6107397b7

See more details on using hashes here.

Provenance

The following attestation bundles were made for rubric_liturgy-0.14.4-py3-none-any.whl:

Publisher: publish.yml on calstfrancis/rubric

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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