Skip to main content

Load & evolve datasets efficiently

Project description

Lavender Data Logo

Load & evolve datasets efficiently

PyPI Discord License


Please visit our docs for more information.
docs.lavenderdata.com

Quick Start

Installation

pip install lavender-data

Start the server

lavender-data server start --init
lavender-data is running on 0.0.0.0:8000
UI is running on http://localhost:3000
API key created: la-...

Save the API key to use it in the next steps.

export LAVENDER_API_URL=http://0.0.0.0:8000
export LAVENDER_API_KEY=la-...

Create an example dataset

lavender-data client \
  datasets create \
  --name my_dataset \
  --uid-column-name id \
  --shardset-location https://docs.lavenderdata.com/example-dataset/images/

Iterate over the dataset

import lavender_data.client as lavender

lavender.init()

iteration = lavender.LavenderDataLoader(
    dataset_name="my_dataset",
    shuffle=True,
    shuffle_block_size=10,
)

for i in iteration:
    print(i["id"])

Please visit our docs for more information.
docs.lavenderdata.com

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

lavender_data-0.1.10.tar.gz (5.3 MB view details)

Uploaded Source

Built Distribution

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

lavender_data-0.1.10-py3-none-any.whl (6.3 MB view details)

Uploaded Python 3

File details

Details for the file lavender_data-0.1.10.tar.gz.

File metadata

  • Download URL: lavender_data-0.1.10.tar.gz
  • Upload date:
  • Size: 5.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.13.1 Darwin/24.5.0

File hashes

Hashes for lavender_data-0.1.10.tar.gz
Algorithm Hash digest
SHA256 1d3cce066daf2ee18ebfbb25bd2274645f6f6d9f98707b6ca8b150640cb52cb2
MD5 4745fc03b675b0e5ee11b6f097d0aa89
BLAKE2b-256 35de8a56d5cfef8b02c64d922b779483e1fa2fae7e81f2b37bab96099bf2790b

See more details on using hashes here.

File details

Details for the file lavender_data-0.1.10-py3-none-any.whl.

File metadata

  • Download URL: lavender_data-0.1.10-py3-none-any.whl
  • Upload date:
  • Size: 6.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.13.1 Darwin/24.5.0

File hashes

Hashes for lavender_data-0.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 992540d7a4f9a5d3f1bbecc9e6b269a913dcb5ef51a9de6eb9e5ae51c98e947a
MD5 8e24df2ccfd84e21ee9504aa28491bb6
BLAKE2b-256 f6c784fe7e08df5d32c9dd4f48b40c5fdedec4d28a2f5a5391c2123d7fdd9e28

See more details on using hashes here.

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