Skip to main content

Freedom Ridge Python SDK

The Python SDK for Freedom Ridge (FRIDGE), a self-hosted tool for exploring and curating computer vision datasets. It adds samples, labels and embeddings to a Freedom Ridge server, and filters, searches and edits them.

pip install freedomridge

Install the SDK of your server's major version: an SDK and a server of different major versions refuse each other, and the message names the SDK to install. The base package needs only requests, numpy, Pillow and tqdm. The compute helpers need extras: embeddings, huggingface-embeddings, patch-embeddings, metrics, hashes, quality, or all (pip install "freedomridge[all]").

Create a token in the app under Settings → API Tokens, then:

import fridge
from fridge import Dataset, Sample

fridge.connect("https://fridge.example.com/api", api_token="...")  # or set FRIDGE_API_URL and FRIDGE_API_TOKEN

ds = Dataset("my_dataset")  # loads the dataset, or creates it (creating needs an admin token)
ds.add_samples(
    [
        # Local paths must be inside the server's FRIDGE_DATA_ROOT; s3:// URIs also work.
        Sample("/path/to/data/0001.jpg", tags=["train"], metadata={"category": "dog"}, location=(-122.4, 37.8)),
    ]
)

s = ds.samples
for sample in s[(s.category == "dog") & s.tags.contains("train")].limit(10):
    print(sample.filepath, sample.metadata)

ds.compute_embeddings()  # CLIP, computed on this machine; needs the `embeddings` extra
similar = s.all().sort_by_similarity(text="a dog on a beach")

The SDK reference covers the rest, and the changelog lists each release's changes.

Metadata

Release files for freedomridge 3.0.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 freedomridge 3.0.0
File Size Uploaded Provenance Actions
freedomridge-3.0.0.tar.gz 217.5 kB With provenance Details for freedomridge-3.0.0.tar.gz

Built distribution (wheel)

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

Total release size: 451.5 kB

Release files / freedomridge-3.0.0.tar.gz

Download URL freedomridge-3.0.0.tar.gz
Size 217.5 kB
Tags Source
SHA-256 checksum
How to use checksums
fd5c2ca0a1af5f11c54fd2d257f2101250994fcef5ed5cf6a2ea91620fb07d82
BLAKE2b-256 checksum
How to use checksums
17422abf29ef1f6ddad1dcfd0278e58c05c7842312596d2b98f4b23b2c23be38
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 27, 2026.

Transparency log

Release files / freedomridge-3.0.0-py3-none-any.whl

Download URL freedomridge-3.0.0-py3-none-any.whl
Size 234.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6f39592ef70f69e3dc8e4339c0b85b2c18f7db3d041310b9d9e5685b416fc1f5
BLAKE2b-256 checksum
How to use checksums
d7caf950d7eff4ed675b16c6f7027d29b9e3def88c4c820e82bf82313c892ed1
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 27, 2026.

Transparency log

Security for freedomridge 3.0.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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for freedomridge-3.0.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 27, 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