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.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 kittyops 0.1.0
File Size Uploaded Provenance Actions
kittyops-0.1.0.tar.gz 43.6 kB With provenance Details for kittyops-0.1.0.tar.gz

Built distributions (wheels)

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

Total release size: 391.4 kB

Release files / kittyops-0.1.0.tar.gz

Download URL kittyops-0.1.0.tar.gz
Size 43.6 kB
Tags Source
SHA-256 checksum
How to use checksums
818d0cf76e29407fc1ced2f749ffdcc421981ab8489b2bd5e7c6649cb20d77b6
BLAKE2b-256 checksum
How to use checksums
b0ad0bbfdb16f8ebff765a45a784ed014b9bb7251d3dc57a7ff7decfacec68ab
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.1.0-py3-none-musllinux_1_2_x86_64.whl

Download URL kittyops-0.1.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
648e5895bd167050ec84694c45a626966454c0b655dedd241f6a864709e9be76
BLAKE2b-256 checksum
How to use checksums
5977c382f4b86b61870e65bc16447e271f91f503c33b493f6c75ef63cd1959a8
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.1.0-py3-none-musllinux_1_2_aarch64.whl

Download URL kittyops-0.1.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
9f62bad5303382e9e5c3a1daf978596e938dee5137bd2d4e8461f5f55342e2c6
BLAKE2b-256 checksum
How to use checksums
a41b721835d506075ae4605d46805d90c034a819d94c29f6d81d4f94a0891bb3
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.1.0-py3-none-manylinux_2_28_x86_64.whl

Download URL kittyops-0.1.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
324e259c4fb2331f0ff2411248a60fc5585f2c30762c3f0fbe43d8c3b3047ee0
BLAKE2b-256 checksum
How to use checksums
12202ad56e33ad634e67f6b73d1d01bbc24d5180e523fbaa4481336b554a423f
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.1.0-py3-none-manylinux_2_28_aarch64.whl

Download URL kittyops-0.1.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
c33d7449fe6f714552c0169a32b5d48f00f168ef9b7e03cdd62d3895e344d881
BLAKE2b-256 checksum
How to use checksums
cc993aee46f6b070d3f315e875d7ac3ceb377555af4b3f2d0a66fb3cc9606931
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.1.0-py3-none-macosx_11_0_arm64.whl

Download URL kittyops-0.1.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
c00a266d583899a63e581f8b08ca1bda65384cca3e124a4ee16c29deeecaa174
BLAKE2b-256 checksum
How to use checksums
59b3e41be8272fd8fc62d2452a22d44efc0a98d40f7c02a162ca9a484605a634
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.1.0-py3-none-macosx_10_15_x86_64.whl

Download URL kittyops-0.1.0-py3-none-macosx_10_15_x86_64.whl
Size 53.7 kB
Tags Python 3 macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
af8cb3bcffb820dd851bb8eddba4c8aed567228388f89d99cdad1af1fa425d64
BLAKE2b-256 checksum
How to use checksums
723c2c9268f001990f62f99a3b50182d7cfda68813acf3676b3e155bc5c4fd0b
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.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

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

Select from 7 files

Attestation for kittyops-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 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.1.0 This release

7 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