Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Squirrel Datasets Core

Python PyPI Conda Documentation Status Downloads License DOI Generic badge Slack


What is Squirrel Datasets Core?

squirrel-datasets-core is an extension of the Squirrel library. squirrel-datasets-core is a hub where the user can

  1. explore existing public datasets registered in the data mesh and load them with the ease and speed of squirrel
  2. preprocess their datasets and share them with other users.

For preprocessing, we currently support Spark as the main tool to carry out the task.

If you have any questions or would like to contribute, join our Slack community!

Installation

Install squirrel-core and squirrel-datasets-core with pip. Note that you can install with different dependencies based on your requirements for squirrel drivers. For using the Torchvision driver call:

pip install "squirrel-core[torch]"
pip install "squirrel-datasets-core[torchvision]"

For using the Huggingface or Deeplake driver call:

pip install "squirrel-datasets-core[huggingface]"
pip install "squirrel-datasets-core[deeplake]"

For using the Spark preprocessing pipelines call:

pip install "squirrel-datasets-core[preprocessing]"

If you would like to get Squirrel's full functionality, install squirrel-core and squirrel-datasets-core with all their dependencies.

pip install "squirrel-core[all]"
pip install "squirrel-datasets-core[all]"

Huggingface, Deeplake, Hub and Torchvision Integration

A great feature of squirrel-datasets-core is that you can easily load data from common databases such as Huggingface, Activeloop Deeplake, Hub and Torchvision with one line of code. And you get to enjoy all of Squirrel’s benefits for free! Check out the documentation on how to interface with these libraries.

from squirrel_datasets_core.driver.huggingface import HuggingfaceDriver

it = HuggingfaceDriver("cifar100").get_iter("train").filter(custom_filter).map(custom_augmentation)

# your train loop
for item in it:
  out = model(item)
  # ...

Documentation

Visit our documentation on Readthedocs.

Contributing

squirrel-datasets-core is open source and community contributions are welcome!

Check out the contribution guide to learn how to get involved. Please follow our recommendations for best practices and code style.

The Humans behind Squirrel

We are Merantix Momentum, a team of ~30 machine learning engineers, developing machine learning solutions for industry and research. Each project comes with its own challenges, data types and learnings, but one issue we always faced was scalable data loading, transforming and sharing. We were looking for a solution that would allow us to load the data in a fast and cost-efficient way, while keeping the flexibility to work with any possible dataset and integrate with any API. That's why we build Squirrel – and we hope you'll find it as useful as we do! By the way, we are hiring!

Citation

If you use Squirrel Datasets in your research, please cite Squirrel using:

@article{2022squirrelcore,
  title={Squirrel: A Python library that enables ML teams to share, load, and transform data in a collaborative, flexible, and efficient way.},
  author={Squirrel Developer Team},
  journal={GitHub. Note: https://github.com/merantix-momentum/squirrel-core},
  year={2022}
}

Metadata

Release files for squirrel-datasets-core 0.2.0.dev875274

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for squirrel-datasets-core 0.2.0.dev875274
File Size Uploaded Provenance Actions
squirrel_datasets_core-0.2.0.dev875274.tar.gz 45.1 kB Without provenance Details for squirrel_datasets_core-0.2.0.dev875274.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for squirrel-datasets-core 0.2.0.dev875274
File Interpreter ABI Platform Actions
squirrel_datasets_core-0.2.0.dev875274-py3-none-any.whl Python 3 none any Details for squirrel_datasets_core-0.2.0.dev875274-py3-none-any.whl

Total release size: 111.5 kB

Release files / squirrel_datasets_core-0.2.0.dev875274.tar.gz

Download URL squirrel_datasets_core-0.2.0.dev875274.tar.gz
Size 45.1 kB
Tags Source
SHA-256 checksum
How to use checksums
629ca779932fcc04bcc560ab03ef8849c0d4ee03e33f3c2c5038bed522a80671
BLAKE2b-256 checksum
How to use checksums
bcdb2439f6ddc178719760341be4d3b4503d5af1ee885a9cf86cf7a8e9d365a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.16

Release files / squirrel_datasets_core-0.2.0.dev875274-py3-none-any.whl

Download URL squirrel_datasets_core-0.2.0.dev875274-py3-none-any.whl
Size 66.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8fec169f7075cc16097bf5830e0fefea37442ee8b44f69c114f6729e3da2304a
BLAKE2b-256 checksum
How to use checksums
2e28faf063383a679ca1b5b66b5eae0ec0badcc1e80f07799c70611b018f91a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.16

Security for squirrel-datasets-core 0.2.0.dev875274

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

Release history Release notifications | RSS feed

This release
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