Skip to main content

A Bridge to Datasets!

Project description

Ruff GitHub Actions Workflow Status Documentation Status

    __         _     __                     __    
   / /_  _____(_)___/ /___ ____        ____/ /____
  / __ \/ ___/ / __  / __ `/ _ \______/ __  / ___/
 / /_/ / /  / / /_/ / /_/ /  __/_____/ /_/ (__  ) 
/_.___/_/  /_/\__,_/\__, /\___/      \__,_/____/  
                   /____/                         

bridge-ds is a lightweight Python framework designed to provide a unified interface to deep learning datasets from different modalities: Perform global operations, aggregations and queries with a Pandas-like experience, and handle individual samples and raw data using a class-based, tab-completion-ey interface.

Contents

Key Features

Browse

Browse through your datasets with ease using an intuitive interface.

Browse Datasets

Work with tables

View your data as tables.

Table Interface

Plot your data

Visualize your data quickly and effectively with the exposed Pandas Plotting API.

Plotting

Assign, sort and filter

Perform common data operations like assigning new columns, sorting, and filtering with Pandas-like syntax.

Table Operations

Augment

Apply and visualize data augmentations directly within your workflow.

Transforms

Installation

You can install the latest version of Bridge's from PyPI. It comes in a few flavors:

Core: The core package includes the basic functionality of Bridge.

$ uv add bridge-ds

Vision: The vision package includes the core package and additional (opinionated) functionality for working with image datasets.

$ uv add bridge-ds[vision]
  • NOTE: to run the demo notebooks locally, you'll need the vision package.

Documentation

To learn more about bridge-ds, please visit the official documentation.

Development

Setup

$ git clone https://github.com/guybuk/bridge-ds.git
$ cd bridge-ds
$ uv sync --all-extras

# Testing
# Default: fast unit tests across core + vision (notebooks excluded)
$ pytest

# Run notebook integration tests (slow, ~5 min, requires `vision` extras)
$ pytest -m slow

# Run everything (CI uses this)
$ pytest -m "slow or not slow"

# Building the docs
$ sudo apt install pandoc
$ cd docs
$ make html

Roadmap

bridge-ds is under active development, currently in a pre-alpha stage.

The following is a rough roadmap of the planned features:

  • Video Support
    • DataIO for video
    • DisplayEngine (video player)
    • DatasetProviders (for popular video datasets)
    • Transforms (clipping, sampling, augmentation)
  • Text
    • DatasetProviders
    • DisplayEngine (adapt existing engine to work with classic text tasks: translation, Q&A, etc.)
  • Core
    • DualDatasets (for tasks with two main elements e.g. image-image, image-text,text-text)
    • Stress testing (currently have no capacity to test huge datasets)

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

bridge_ds-0.1.2.tar.gz (23.5 kB view details)

Uploaded Source

Built Distribution

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

bridge_ds-0.1.2-py3-none-any.whl (39.4 kB view details)

Uploaded Python 3

File details

Details for the file bridge_ds-0.1.2.tar.gz.

File metadata

  • Download URL: bridge_ds-0.1.2.tar.gz
  • Upload date:
  • Size: 23.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","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

Hashes for bridge_ds-0.1.2.tar.gz
Algorithm Hash digest
SHA256 c3d163f98de33e2e447eba311f4b7f343ba92f7714f4b958448d2c7668157448
MD5 7fff2b3a6f0fa95a5834afb463aa3c59
BLAKE2b-256 a407c69683229d16feafcb59cbdbf65d497e3a3d5122ed9c730278ebadc7faa4

See more details on using hashes here.

File details

Details for the file bridge_ds-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: bridge_ds-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 39.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","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

Hashes for bridge_ds-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9b37f5430eac7ed2f55f454a4b27d9d3735ef39dd28ae299b385897301258fec
MD5 1dafba9708845b85fb3d95c049af8c02
BLAKE2b-256 e25714e43114c2fab5e5375e0ae25942738bde72e375b4d6626d8666eff7561d

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