Skip to main content

just-keypoints

Keypoints and descriptors from ALIKED (aliked-n16) and keypoints with ranker scores and covariances from RaCo, with minimal dependencies: hand-written CPU, Metal and CUDA kernels, no PyTorch, no ONNX Runtime. In FP32 the results match the original networks.

This is a test bed for dependency-free inference, not a replacement for ALIKED or RaCo: the methods, the weights and the credit are their authors'. For real work, depend on them.

Install

Package Platforms Backends
pip install just-keypoints Linux x86_64, macOS arm64 (13 or later), Windows x86_64 CPU; Metal on macOS
pip install just-keypoints-cu12 Linux x86_64, Windows x86_64 CPU and CUDA 12
pip install just-keypoints-cu13 Linux x86_64, Windows x86_64 CPU and CUDA 13

Install one of them: all three provide the just_keypoints module. The CUDA packages link the CUDA runtime statically and need only an NVIDIA driver. CUDA 12 runs on Pascal (sm_60) and later, CUDA 13 on Turing (sm_75) and later. Python 3.12 or later. Both models' weights are built in.

import just_keypoints as jkp
print(jkp.__version__, jkp.compiled_backends())

Use

import numpy as np
import just_keypoints as jkp

backend = "cuda" if jkp.backend_available("cuda") else "metal" if jkp.backend_available("metal") else "cpu"
extractor = jkp.Extractor(backend=backend, top_k=2000)   # aliked-n16, built-in weights
f = extractor.extract(image)            # uint8 (h, w), (h, w, 3) RGB or (h, w, 4) RGBA
f.xy, f.score, f.desc                    # (n, 2), (n,), (n, 128) float32 copies

raco = jkp.Extractor(backend=backend, model="raco", top_k=2048, descriptor="aliked-n16")
r = raco.extract(image)
r.xy, r.rank, r.cov, r.desc              # (n, 2), (n,), (n, 2, 2) in pixels², (n, 128)

Pixel coordinates are x right, y down, with (0, 0) the centre of the top-left pixel. precision="fp16" is faster on the GPU backends (ALIKED only) with slightly different results. Without top_k, ALIKED keeps every keypoint with score > score_threshold (0.2), at most max_keypoints (5000). An Extractor is made once and used for many images; calls from several threads are serialized. Errors (no such device, bad weights) raise RuntimeError.

Documentation: https://just-keypoints.pages.dev.

Licences: the code is Apache-2.0; the built-in weights are ALIKED's (BSD-3-Clause) and RaCo's (Apache-2.0); both licence files are in the package.

Metadata

Release files for just-keypoints 0.1.1

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

Source distribution (sdist)

Source distribution for just-keypoints 0.1.1
File Size Uploaded Provenance Actions
just_keypoints-0.1.1.tar.gz 7.0 MB With provenance Details for just_keypoints-0.1.1.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for just-keypoints 0.1.1
File Interpreter ABI Platform Actions
just_keypoints-0.1.1-cp312-abi3-win_amd64.whl CPython 3.12 abi3 Windows x86-64 Details for just_keypoints-0.1.1-cp312-abi3-win_amd64.whl
just_keypoints-0.1.1-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 abi3 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details for just_keypoints-0.1.1-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
just_keypoints-0.1.1-cp312-abi3-macosx_13_0_arm64.whl CPython 3.12 abi3 macOS 13.0+ ARM64 Details for just_keypoints-0.1.1-cp312-abi3-macosx_13_0_arm64.whl

Total release size: 28.3 MB

Release files / just_keypoints-0.1.1.tar.gz

Download URL just_keypoints-0.1.1.tar.gz
Size 7.0 MB
Tags Source
SHA-256 checksum
How to use checksums
9ed6753b9a0840570fb543c160aa735174b82c7cd073b0c1154597d637d33895
BLAKE2b-256 checksum
How to use checksums
0602460320d953b4a8e4a86fd4bc0bc535c69bc2e45206634e6617d32c02f8c7
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 20, 2026.

Transparency log

Release files / just_keypoints-0.1.1-cp312-abi3-win_amd64.whl

Download URL just_keypoints-0.1.1-cp312-abi3-win_amd64.whl
Size 7.2 MB
Tags CPython 3.12 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
1e1949e348920d65835c9ab7adfe422d2f90abe27a28d21715ed69ec7449fd0e
BLAKE2b-256 checksum
How to use checksums
aaeae691def7eedecc92a906e240352eaf5956360378996645949d750027d1e0
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 20, 2026.

Transparency log

Release files / just_keypoints-0.1.1-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL just_keypoints-0.1.1-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 7.0 MB
Tags CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
5002459e401cf679ca42162e9f342eb62b1b1ba46af4bdab17dbc62e8afa5920
BLAKE2b-256 checksum
How to use checksums
98016bf3b5c02a3f4e91dee60d7a774c1b5a03a881e1ba0aa9cb705c2b6e2275
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 20, 2026.

Transparency log

Release files / just_keypoints-0.1.1-cp312-abi3-macosx_13_0_arm64.whl

Download URL just_keypoints-0.1.1-cp312-abi3-macosx_13_0_arm64.whl
Size 7.1 MB
Tags CPython 3.12 abi3 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
41236b0a5db2ee175de80202e49e82055242c6d755000f58a8e4e00dd3550211
BLAKE2b-256 checksum
How to use checksums
771a21c2a4e24c7081a9ce4428326fb132ba21e7d3bb2b1a2bed79c5373815a4
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 20, 2026.

Transparency log

Security for just-keypoints 0.1.1

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 4 files in this release have been uploaded with provenance metadata.

Select from 4 files

Attestation for just_keypoints-0.1.1.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 20, 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.

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