Skip to main content

☪ hijri-tui

Terminal UI for the Islamic Hijri calendar 🌑 🌒 🌓 🌔 🌕 🌖 🌗 🌘 with lunar phases, Sunnah fasting days, and holy days — styled in the Dracula dark theme.

Powered by Textual and the AlAdhan Islamic Calendar API.


Hijra Terminal Suite Demo


✨ Features

  • Native Hijri Calendar Grid: Months start on the 1st of the Hijri month and follow the Islamic week (Al-Ahad to Al-Sabt).
  • Daily Lunar Phases: Displays the corresponding moon phase (🌑 to 🌘) for every day of the lunar cycle.
  • Color-Coded Highlights (Dracula Theme):
    • 🟧 Today: Highlighted with a double orange border (#FFB86C).
    • 🟩 Official Holy Days: Highlighted in green (#50FA7B) with highest priority.
    • 🟨 Ayyam al-Bid (13th, 14th & 15th): Highlighted in soft yellow (#F1FA8C).
    • 🟦 Sunnah Fasting Days (Al-Athnayn & Al-Khamees): Highlighted in cyan (#8BE9FD).
    • 🟪 Jumu'ah (Friday): Highlighted in purple (#BD93F9).
  • Live Day Details Sidebar: Shows Hijri date (English & Arabic), Gregorian date, lunar phase name, and fasting/holiday notes while navigating.
  • Gregorian Overlay Toggle: Press g anytime to toggle Gregorian dates and weekday labels on the calendar tiles.

📦 Installation

From Source (Editable / Local)

pipx install git+https://github.com/postsonde/hijri-tui.git

Run

hijri

⌨️ Keybindings

Key Action
← → ↑ ↓ Navigate across days in the calendar grid
n Next Hijri month
p Previous Hijri month
t Jump back to today's Hijri date
g Toggle Gregorian dates & weekday names
Ctrl+P Open Textual command palette
q Quit application

🙏 Credits


📄 License

This project is licensed under the GNU General Public License v3.0 (GPLv3) — see the LICENSE file for details.


☪ Islamic Terminal Suite (Dracula Theme)

A minimalist suite of Islamic terminal applications built with Python & Textual, styled in the Dracula dark theme.

Islamic Terminal Suite Demo

App Command Description
salah-tui salah Islamic prayer times mapping the sun path on the horizon, Hijri date & calculation methods
hijri-tui hijri Native Hijri calendar with lunar phases, Sunnah fasting & holy days
quran-tui quran Study the Holy Quran with 100+ translations, side-by-side view & bookmarks
asma-tui asma Learn the 99 Names of Allah with flashcards, streak quiz & directory

Metadata

Release files for hijri-tui 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hijri-tui 0.1.0
File Size Uploaded Provenance Actions
hijri_tui-0.1.0.tar.gz 20.4 kB With provenance Details for hijri_tui-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hijri-tui 0.1.0
File Interpreter ABI Platform Actions
hijri_tui-0.1.0-py3-none-any.whl Python 3 none any Details for hijri_tui-0.1.0-py3-none-any.whl

Total release size: 40.8 kB

Release files / hijri_tui-0.1.0.tar.gz

Download URL hijri_tui-0.1.0.tar.gz
Size 20.4 kB
Tags Source
SHA-256 checksum
How to use checksums
658d1806d89e3d5c5e68a314875269d71ec731f4e8822d138f5dcff5ac56608f
BLAKE2b-256 checksum
How to use checksums
60a64ea61160b8be4922f7ec53e991905a60687dc1dd14dcd14536e16a194c9e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Release files / hijri_tui-0.1.0-py3-none-any.whl

Download URL hijri_tui-0.1.0-py3-none-any.whl
Size 20.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5596608c01a2da66badf4a98e49a439215c123c1c794f5adaf471a21ab005c24
BLAKE2b-256 checksum
How to use checksums
b639ad5fcabb8c3c8e1bc8851175da7392cb1d97785413f184b750d94061dbad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Security for hijri-tui 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for hijri_tui-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page