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.

  • 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.2

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.2
File Size Uploaded Provenance Actions
hamingjur-0.1.2.tar.gz 944.4 kB Without provenance Details for hamingjur-0.1.2.tar.gz

Built distribution (wheel)

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

Total release size: 1.2 MB

Release files / hamingjur-0.1.2.tar.gz

Download URL hamingjur-0.1.2.tar.gz
Size 944.4 kB
Tags Source
SHA-256 checksum
How to use checksums
4d306e081551ddae27cd20840f42098d90858b2126c38844c8b2526fbc4c6222
BLAKE2b-256 checksum
How to use checksums
690f985ca5c724f415c4b56b8c9768ad3b74102009d9ee2d9d8776f6c25bd4e5
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.2-py3-none-any.whl

Download URL hamingjur-0.1.2-py3-none-any.whl
Size 231.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6100a7f74190151720495f139e965a14c7375f6db9a40f690392f373544f67fd
BLAKE2b-256 checksum
How to use checksums
a2a0e915d2dd06e25fd976ea8b48317f84eb8c3cf0cefb4d5025d40ab906678f
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.2

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