Skip to main content

Hamingjur

Hamingjur is a Python terminal library forked from Blessed. It combines portable terminal text and keyboard APIs with Kitty and Silkie graphics, tablet and touch input, gestures, terminal-local ink, typography, HDR, clipboard, notifications, and presentation timing.

Install with pip install hamingjur for the complete library, including image drawing and vector rasterization. To install a checkout, use pip install .. All code lives in the hamingjur namespace; the package neither provides nor imports blessed. Hamingjur and upstream Blessed can be installed together.

from hamingjur import Terminal

term = Terminal()
print(term.bold('Hello from Hamingjur'))
with term.cbreak():
    cell = term.get_cell_size()
    if cell is not None:
        print(f'Each cell is {cell.width} × {cell.height} physical pixels')

First-class terminal features

  • Text, colors, cursor movement, full-screen applications, Unicode layout, line editing, keyboard, mouse, focus, paste, and resize events.

  • A terminal desktop with reusable widgets, overlapping windows, modal dialogs, menus, and configurable themes in hamingjur.ui.

  • Fixed-step terminal games with action bindings, cameras, sprite atlases and scrolling tile maps in hamingjur.game. Run python -m bin.game_crossing from a checkout to play inside a widget window.

  • Raster and vector images, packed grayscale and RGB565, animations, image placement, styled vector text, font resources, HDR, wide gamut color, and image-backed pointers.

  • Pen pressure and tilt, simultaneous contacts, tablet pads, gestures, scrolling, haptics, and terminal-local ink through term.tablet, term.ink, and related APIs.

  • Window and cell geometry, size requests, display information, latency control, and frame presentation feedback.

  • Clipboard formats, drag and drop, file-transfer packets, notifications, shell integration, and standard terminal control sequences.

  • Stereo depth and fractional vertical phase for text and graphics, notification return routes, and explicit SSH-agent packet transport.

The feature map describes the APIs, terminal requirements, and which operations use lower-level protocol encoders. Terminal support and user permissions determine which requests are accepted; a sent request does not prove that a terminal acted on it.

Open docs/hamingjur.html for a standalone project guide, working examples, and a searchable API reference generated from the Python source. It works offline. Rebuild it from the checkout with:

python site/hamingjur-docs/build.py --export docs/hamingjur.html

Tablet drawing example

Run inside Silkie, selecting one required mode:

python bin/tablet_canvas.py --mode tiles
python bin/tablet_canvas.py --mode vectors
python bin/tablet_canvas.py --mode ink

tiles paints into cell-sized raster images in Python. vectors sends vector updates from Python. ink lets Silkie draw eligible pen strokes locally, with Python fallback for other contacts. All three use a pen-shaped pointer. Press q or Escape to exit.

Project and attribution

Homepage and API documentation: https://hamingjur.goblinreactor.com

Source and issues: https://github.com/adamdeprince/hamingjur

Hamingjur is an independent fork maintained by Adam DePrince, not a release of Blessed. Fork contributions are copyright (c) 2026 Adam DePrince.

Hamingjur is distributed under the MIT license in LICENSE. It retains the inherited copyright notices: copyright (c) 2014 Jeff Quast and copyright (c) 2011 Erik Rose. Upstream contributors include Avram Lubkin. Blessed was itself forked from blessings. The historical changelog records the upstream work on which this fork is based.

Metadata

Release files for hamingjur 0.1.3

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

Source distribution (sdist)

Source distribution for hamingjur 0.1.3
File Size Uploaded Provenance Actions
hamingjur-0.1.3.tar.gz 1.0 MB Without provenance Details for hamingjur-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hamingjur 0.1.3
File Interpreter ABI Platform Actions
hamingjur-0.1.3-py3-none-any.whl Python 3 none any Details for hamingjur-0.1.3-py3-none-any.whl

Total release size: 1.3 MB

Release files / hamingjur-0.1.3.tar.gz

Download URL hamingjur-0.1.3.tar.gz
Size 1.0 MB
Tags Source
SHA-256 checksum
How to use checksums
5d2b9b97f1a1d6f92a210ab02f627d5e6aafb049953ed41891f8b3e005b347b2
BLAKE2b-256 checksum
How to use checksums
f89dbd7b07339aef00b83c05443f6ce69fe05a3fff1efb210c898a133d611bd8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release files / hamingjur-0.1.3-py3-none-any.whl

Download URL hamingjur-0.1.3-py3-none-any.whl
Size 268.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a692bc8bdbe82551a8bec5a9c515a92b472846607ec02d8d8d269212e00462f2
BLAKE2b-256 checksum
How to use checksums
d946fd4d019414386d03f1767742b92202b7445cba2a49f001dd1a8b9ddf471c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Security for hamingjur 0.1.3

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

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