Skip to main content

HTTP SDK for the lumid.data data plane (sync + async).

Project description

lumid-data-sdk

HTTP SDK for the lumid.data data plane. Sync + async clients over the unified URL — db_*, storage_*, sql, agent_run, retrieve, healthz, storage_stat.

Install

pip install lumid-data-sdk

Usage

from lumid_data.sdk import Client, AsyncClient

c = Client(base_url="http://localhost:9100", token=os.environ.get("LUMID_TOKEN"))
rows = c.sql("SELECT 1").rows
c.storage_put("photos", "cat.png", open("cat.png", "rb").read(), mime="image/png")

ac = AsyncClient(base_url="http://localhost:9100", token=os.environ.get("LUMID_TOKEN"))
rows = (await ac.sql("SELECT 1")).rows

Client and AsyncClient share the same surface — pick whichever matches your event-loop posture. See lumid.data's main repo for the underlying REST API.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lumid_data_sdk-0.1.0.tar.gz (11.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lumid_data_sdk-0.1.0-py3-none-any.whl (11.9 kB view details)

Uploaded Python 3

File details

Details for the file lumid_data_sdk-0.1.0.tar.gz.

File metadata

  • Download URL: lumid_data_sdk-0.1.0.tar.gz
  • Upload date:
  • Size: 11.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for lumid_data_sdk-0.1.0.tar.gz
Algorithm Hash digest
SHA256 aded95d578055c7f116b8075b7dd5fb95c598c703fdec819c7e16783e33c821b
MD5 1713f0988aa5ea2dd8fa90ce74801d83
BLAKE2b-256 44f114ecb5d1a2f729c44d3aa405a8d6e673e4e6be3020b32366b9c3c93f9539

See more details on using hashes here.

Provenance

The following attestation bundles were made for lumid_data_sdk-0.1.0.tar.gz:

Publisher: release.yml on mlsys-io/lumid.data

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file lumid_data_sdk-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: lumid_data_sdk-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 11.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for lumid_data_sdk-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9218d00b94d407b1090e92dca38d8bb25fb5fbdf1c66d240116a18ee95c7da84
MD5 de8fbfecab87259ee6e97b45e0168258
BLAKE2b-256 b9266bb059c078fc5681b00dad6a03dbbf344d330c6191cb9c4e9d31ac8ac077

See more details on using hashes here.

Provenance

The following attestation bundles were made for lumid_data_sdk-0.1.0-py3-none-any.whl:

Publisher: release.yml on mlsys-io/lumid.data

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page