tensorflow-datasets
tensorflow/datasets is a library of datasets ready to use with TensorFlow.
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has no known vulnerabilities, and low install friction. It solves a real problem—standardized dataset access for TensorFlow workflows—with a permissive license. Install it if you work with TensorFlow and need quick access to public datasets; skip it only if you manage datasets entirely through custom pipelines.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later and TensorFlow installed separately.
- Low install friction with a pure-Python wheel.
- Active maintenance (last commit 2026-07-29) and 18 runtime dependencies including numpy, pyarrow, and tensorflow-metadata.
License · maintenance · safety
Apache 2.0 (permissive) — Apache 2.0 permissive license. Users are responsible for determining their own permission to use each underlying dataset; the library itself is freely usable and modifiable.
last release 2026-05-08 (98 days) · last repo commit 2026-07-29 · 4,581 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,764,589 downloads/mo, #3,579 on PyPI
Alternatives
Verify before relying
pip install tensorflow-datasets
import tensorflow_datasets as tfds
ds = tfds.load('mnist', split='train', as_supervised=True, shuffle_files=True)
ds = ds.shuffle(1000).batch(128).prefetch(10)- Whether all advertised datasets in the catalog are currently available and maintained.
- Performance characteristics and download speeds for large datasets.
- Compatibility with specific TensorFlow versions beyond the Python requirement.
What it is and what it does
TensorFlow Datasets is a library that provides standardized access to many public datasets, automatically handling download and preparation into tf.data.Dataset objects ready for training pipelines. It wraps datasets from various sources and exposes them through a simple API, letting you load data like MNIST or other benchmarks with a single function call, then chain standard TensorFlow operations like shuffle, batch, and prefetch.
The library emphasizes simplicity for standard use cases, reproducibility (all users get the same examples in the same order), and performance by following TensorFlow best practices. It has 18 runtime dependencies including numpy, pyarrow, and tensorflow-metadata, and requires Python 3.10 or later. The package is actively maintained and carries no known security vulnerabilities.
Use it for
- Load benchmark datasets like MNIST or CIFAR for quick prototyping and model evaluation.
- Build reproducible input pipelines for training by ensuring deterministic dataset ordering across runs.
- Access a curated catalog of public datasets without manually downloading or preprocessing files.
- Integrate datasets into tf.data pipelines with standard operations like batching and prefetching.
- Prepare datasets for distributed training by leveraging TFDS's performance-optimized loading.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has no known vulnerabilities, and low install friction. It solves a real problem—standardized dataset access for TensorFlow workflows—with a permissive license. Install it if you work with TensorFlow and need quick access to public datasets; skip it only if you manage datasets entirely through custom pipelines.
Install
tensorflow-datasets on PyPI
Before you install
Low install friction with a pure-Python wheel. Active maintenance (last commit 2026-07-29) and 18 runtime dependencies including numpy, pyarrow, and tensorflow-metadata. Requires Python 3.10 or later.
Requires Python 3.10 or later and TensorFlow installed separately.
License in practice
Apache 2.0 permissive license. Users are responsible for determining their own permission to use each underlying dataset; the library itself is freely usable and modifiable.
Quickstart
pip install tensorflow-datasets
import tensorflow_datasets as tfds
ds = tfds.load('mnist', split='train', as_supervised=True, shuffle_files=True)
ds = ds.shuffle(1000).batch(128).prefetch(10)
Verify before relying
- Whether all advertised datasets in the catalog are currently available and maintained.
- Performance characteristics and download speeds for large datasets.
- Compatibility with specific TensorFlow versions beyond the Python requirement.
Package facts
| License | Apache 2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 18 packagesabsl-pyarray_recorddm-treeetilsimmutabledictnumpypromiseprotobufpsutilpyarrowrequestssimple_parsingtensorflow-metadatatermcolortomltqdmwraptimportlib_resources |
| Maintenance | Actively maintained 98 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,764,589 / month, #3,579 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersIntended Audience :: Science/ResearchLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyTopic :: Scientific/Engineering :: Artificial Intelligence |
Evidence: tensorflow_datasets-4.9.10-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “tensorflow datasets loader”
- tensorflow-datasetsProvides access to many public datasets as tf.data.Datasets, handling…
- tfds-nightlyProvides a library of ready-to-use public datasets formatted as…
- petastormPetastorm enables direct training of deep learning models from Apache…
Give your agent the search over MCP, or paste the wish link into any chat.
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.
Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.
Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.
Install it if you work with Hugging Face Hub models or datasets.
LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.
hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.
Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.
Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.
Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.
See also cinemagoer · opendatalab · tfds-nightly · seqio · tensorflow-metadata · tensorboard-data-server · seqio-nightly · tensorflow-io · datasets · tflite