Python SDK Katalogue
Project description
katalogue-sdk
Python client for Katalogue, built on the Katalogue REST API. Standalone — no CLI or Click dependency — for use in scripts, notebooks, services, and agents.
Installation
pip install katalogue-sdk
# or with uv
uv add katalogue-sdk
Quick start
from katalogue import KatalogueClient, GetOptions
client = KatalogueClient() # reads KATALOGUE_CLIENT_ID / _SECRET / _URL from the environment
# List all systems
result = client.get("system")
print(result.data) # list of dicts
# All PII fields, selected columns, sorted
result = client.get("field", GetOptions(
filters=["is_pii=true"],
properties=["field_id", "field_name", "dataset_name"],
sort=[{"field_name": "asc"}],
))
print(result.data)
Get API credentials by creating an OAuth2 client in Katalogue.
Documentation
Full documentation lives in the repository:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
katalogue_sdk-0.6.2.tar.gz
(57.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file katalogue_sdk-0.6.2.tar.gz.
File metadata
- Download URL: katalogue_sdk-0.6.2.tar.gz
- Upload date:
- Size: 57.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.25 {"installer":{"name":"uv","version":"0.11.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
92cf3565f381835c435ab4cd020c9fbfe7ec83a99d33d928eeea62e97983fc02
|
|
| MD5 |
8c4e0895127310bfed43ecc331bc84d4
|
|
| BLAKE2b-256 |
7f13c2918686c789dfc9774be98902b1db6c1ab0eb0620ce8c6500a8cd0b4f7c
|
File details
Details for the file katalogue_sdk-0.6.2-py3-none-any.whl.
File metadata
- Download URL: katalogue_sdk-0.6.2-py3-none-any.whl
- Upload date:
- Size: 40.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.25 {"installer":{"name":"uv","version":"0.11.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5162f51f715dd842ff688f00f5572a44a77342b73d742b8e9cab0ebea836b300
|
|
| MD5 |
09780892c724b34a65c722ef6aae5df3
|
|
| BLAKE2b-256 |
28fe511bffbc4c69060c293305183215d1a13c86f6b0d136350a4fe67f70475e
|