Skip to main content

libkittyops

High-performance, dependency-free C99 pixel & protocol kernel for the Kitty Graphics Protocol, shared by sdl-kitty and pixcell.

Features

  • SIMD multi-rect tile diff (ARM64 NEON 32px + runtime-dispatched x86_64 AVX2/SSSE3 clean-tile fast paths with exact 1px X-trimming + 6-worker 1080p bands + fused XRGB8888/ARGB8888 → RGB24/RGBA32).
  • Coalesce with dead-area bloat guard (merges nearby rects without inflating pillarboxed games + corner HUDs).
  • Scroll detection + a=c ping-pong frame compose (~20 µs row/column-hash scroll matcher → copies unchanged background inside terminal RAM in 45 bytes, sends a=f only for the new edge strip + moving sprites, and flips with a=a; auto-gated on terminal storage_bytes >= 2 * w * h * 4).
  • Hybrid parallel compression: libdeflate for small/medium rects (< 224 KB) + zero-copy strided multi-slice parallel zlib / zlib-ng / ISA-L (>= 224 KB, up to 24 slices) + parallel multi-rect worker with >= 256 KB large-rect guard.
  • Kitty APC framing: a=t, a=T, a=f, a=c, a=a, a=p (U=1 virtual placements), a=d, max_escape_bytes chunking (omitting m=0 on single-chunk for Rex compatibility), and POSIX t=s shared memory.
  • Thin Python binding (python/kittyops) for optional pixcell[fast] acceleration.

Build, Test & Benchmark

make check   # Build C99 library + run C and Python unit tests
make bench   # Run 1920x1080 diff, scroll-compose, and compression benchmarks

See docs/architecture.md for API details and sdl-kitty / pixcell integration notes.

Metadata

Release files for kittyops 0.2.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 kittyops 0.2.0
File Size Uploaded Provenance Actions
kittyops-0.2.0.tar.gz 45.2 kB With provenance Details for kittyops-0.2.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for kittyops 0.2.0
File Actions
kittyops-0.2.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for kittyops-0.2.0-py3-none-win_amd64.whl
kittyops-0.2.0-py3-none-musllinux_1_2_x86_64.whl Python 3 none Linux musl 1.2+ x86-64 Details for kittyops-0.2.0-py3-none-musllinux_1_2_x86_64.whl
kittyops-0.2.0-py3-none-musllinux_1_2_aarch64.whl Python 3 none Linux musl 1.2+ ARM64 Details for kittyops-0.2.0-py3-none-musllinux_1_2_aarch64.whl
kittyops-0.2.0-py3-none-manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.28+ x86-64 Details for kittyops-0.2.0-py3-none-manylinux_2_28_x86_64.whl
kittyops-0.2.0-py3-none-manylinux_2_28_aarch64.whl Python 3 none Linux glibc 2.28+ ARM64 Details for kittyops-0.2.0-py3-none-manylinux_2_28_aarch64.whl
kittyops-0.2.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for kittyops-0.2.0-py3-none-macosx_11_0_arm64.whl
kittyops-0.2.0-py3-none-macosx_10_15_x86_64.whl Python 3 none macOS 10.15+ x86-64 Details for kittyops-0.2.0-py3-none-macosx_10_15_x86_64.whl

Total release size: 553.9 kB

Release files / kittyops-0.2.0.tar.gz

Download URL kittyops-0.2.0.tar.gz
Size 45.2 kB
Tags Source
SHA-256 checksum
How to use checksums
36ae5ab7c4321e2de46a20eb4a0c76ebb119b04ee5b2571838f4695700be130a
BLAKE2b-256 checksum
How to use checksums
de3175ec6035191e2a154cd9f9a057fc94958b51d48970030471d99ab2aa0f07
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 29, 2026.

Transparency log

Release files / kittyops-0.2.0-py3-none-win_amd64.whl

Download URL kittyops-0.2.0-py3-none-win_amd64.whl
Size 161.0 kB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
fa22f3fefb9c1361f96e9db0c1afa42d0ed8115eaf2496874489c868cd016044
BLAKE2b-256 checksum
How to use checksums
044dbe0a3e943004d3d01af18ef591e96a63589d56a027df507a1f9b2a9e1952
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 29, 2026.

Transparency log

Release files / kittyops-0.2.0-py3-none-musllinux_1_2_x86_64.whl

Download URL kittyops-0.2.0-py3-none-musllinux_1_2_x86_64.whl
Size 43.7 kB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
0c69859e46e54e95c6fafd21718bb5c438dbc11c34d99c099d37e3c80b2812db
BLAKE2b-256 checksum
How to use checksums
75254722fc67b5a3e4bc4c2131546eefff77f08528cefdcf6478ba9a41ce2287
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 29, 2026.

Transparency log

Release files / kittyops-0.2.0-py3-none-musllinux_1_2_aarch64.whl

Download URL kittyops-0.2.0-py3-none-musllinux_1_2_aarch64.whl
Size 38.1 kB
Tags Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
2cb787b290bb400b3d53b970232a8819accf8548677c63327bdd1ce53055578a
BLAKE2b-256 checksum
How to use checksums
33f5318fc298e2476bd3549eeaabc2177cec66b88e1d8dcbe962ad00f7076183
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 29, 2026.

Transparency log

Release files / kittyops-0.2.0-py3-none-manylinux_2_28_x86_64.whl

Download URL kittyops-0.2.0-py3-none-manylinux_2_28_x86_64.whl
Size 85.8 kB
Tags Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
9a5ef47cd0dfbf1e074df81c81bd3027e3e5b16bafb25c3dbfccbf128a4a28d5
BLAKE2b-256 checksum
How to use checksums
3954b5b43d12254a569683186b85aa7fb7734bc876f34190f9ec0db3b7af6882
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 29, 2026.

Transparency log

Release files / kittyops-0.2.0-py3-none-manylinux_2_28_aarch64.whl

Download URL kittyops-0.2.0-py3-none-manylinux_2_28_aarch64.whl
Size 80.3 kB
Tags Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
25a7e7ad2edf9152220016281e848c3acf9aa9fef2584f7d36c3130bf9e6a7bb
BLAKE2b-256 checksum
How to use checksums
48e109d0362702c2be661886e509af956a174f5422b5cb090581894db8ed2ac6
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 29, 2026.

Transparency log

Release files / kittyops-0.2.0-py3-none-macosx_11_0_arm64.whl

Download URL kittyops-0.2.0-py3-none-macosx_11_0_arm64.whl
Size 46.3 kB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
425bbc7f1835f013149354d1ec2c2cf0a8c9fb6217b22a78113ebc936d2e989a
BLAKE2b-256 checksum
How to use checksums
c638efaf24bf3769b3154a56e575d91c4ec13b145f43fb9d6eab11d06ba79288
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 29, 2026.

Transparency log

Release files / kittyops-0.2.0-py3-none-macosx_10_15_x86_64.whl

Download URL kittyops-0.2.0-py3-none-macosx_10_15_x86_64.whl
Size 53.6 kB
Tags Python 3 macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
eae54ac14888a128e6c06a4aca77bf7e87a6b3a0b6e00151cafadfd179e476b1
BLAKE2b-256 checksum
How to use checksums
a9943f7dcf1067ee0fb2c0adbe0613197b356a8cedb587cc1d5e7b02ae070f99
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 29, 2026.

Transparency log

Security for kittyops 0.2.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

All 8 files in this release have been uploaded with provenance metadata.

Select from 8 files

Attestation for kittyops-0.2.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 29, 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.2.0 This release

8 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