mlcroissant
MLCommons datasets format.
Decision gist · record as of 2026-08-14
Yes, if you work with MLCommons Croissant datasets or need to standardize dataset metadata in your ML pipeline. The package is actively maintained, has low install friction, and provides both validation and loading capabilities. The unclear license status and lack of explicit Python version constraints in the package metadata are minor concerns but do not block use; verify the license and Python 3.10 requirement for your environment before deploying.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Python >= 3.10 required; optional system dependencies (graphviz, libgraphviz-dev) may be needed on some systems; git+https loading requires CROISSANT_GIT_USERNAME and CROISSANT_GIT_PASSWORD environment variables.
- Low install friction with a pure-Python wheel, though the description notes optional system dependencies (graphviz, libgraphviz-dev) may be needed depending on the environment.
- Maintenance status is active with a recent release.
License · maintenance · safety
(unclear)
last release 2026-04-16 (120 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 103,197 downloads/mo, #12,824 on PyPI
Alternatives
Verify before relying
pip install mlcroissant
import mlcroissant as mlc
# Validate a Croissant metadata file
metadata = mlc.nodes.Metadata(name="my_dataset")
print(metadata.to_json())
# Or use the CLI: mlcroissant validate --jsonld metadata.json- Whether the package requires Python 3.10 as a hard minimum or if earlier versions are supported despite the description stating >= 3.10
- Whether all 11 runtime dependencies are always required or if some are optional (e.g., for dev/test extras)
- Current state of the GitHub repository (stars, last commit, archived status) to confirm active maintenance beyond the release date
What it is and what it does
mlcroissant is a Python library for working with datasets described in the MLCommons Croissant format, a JSON-LD standard for machine learning dataset metadata. It provides two main analysis layers: a static layer that validates Croissant files and converts them into a structure graph (using NetworkX), catching schema violations and logic errors; and a dynamic layer that loads actual dataset examples by converting the structure into an operation graph that executes transformations like downloads and extractions.
The library is designed for teams managing ML datasets at scale. It includes a command-line interface for validation and loading, a Python API for programmatic metadata construction, and support for authentication (git+https and HTTP Basic Auth) when accessing remote distributions. Downloaded files are cached locally by default, and the package depends on common data-science libraries (pandas, scipy, requests, rdflib) plus utilities for graph processing and JSON path queries.
Use it for
- Validate Croissant metadata files for correctness before publishing or using datasets in ML pipelines.
- Load and iterate over dataset examples defined in Croissant format without manually parsing JSON-LD.
- Programmatically generate Croissant metadata files for new datasets using the Python dataclass API.
- Extend the Croissant standard by defining custom RDF properties on dataset nodes.
- Integrate dataset loading into ML workflows that require standardized, auditable dataset descriptions.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you work with MLCommons Croissant datasets or need to standardize dataset metadata in your ML pipeline.
The package is actively maintained, has low install friction, and provides both validation and loading capabilities. The unclear license status and lack of explicit Python version constraints in the package metadata are minor concerns but do not block use; verify the license and Python 3.10 requirement for your environment before deploying.
Install
mlcroissant on PyPI
Before you install
Low install friction with a pure-Python wheel, though the description notes optional system dependencies (graphviz, libgraphviz-dev) may be needed depending on the environment. Maintenance status is active with a recent release.
Python >= 3.10 required; optional system dependencies (graphviz, libgraphviz-dev) may be needed on some systems; git+https loading requires CROISSANT_GIT_USERNAME and CROISSANT_GIT_PASSWORD environment variables.
Quickstart
pip install mlcroissant
import mlcroissant as mlc
# Validate a Croissant metadata file
metadata = mlc.nodes.Metadata(name="my_dataset")
print(metadata.to_json())
# Or use the CLI: mlcroissant validate --jsonld metadata.json
Verify before relying
- Whether the package requires Python 3.10 as a hard minimum or if earlier versions are supported despite the description stating >= 3.10
- Whether all 11 runtime dependencies are always required or if some are optional (e.g., for dev/test extras)
- Current state of the GitHub repository (stars, last commit, archived status) to confirm active maintenance beyond the release date
Package facts
| License | Not declared unclear |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 11 packagesabsl-pyetilsjsonpath-rwnetworkxpandaspandas-stubspython-dateutilrdflibrequestsscipytqdm |
| Maintenance | Actively maintained 120 days since the last release |
| First released | |
| Downloads | 103,197 / month, #12,824 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: mlcroissant-1.1.0-py2.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 › “croissant dataset format”
- mlcroissantValidates and loads datasets described in the MLCommons Croissant…
- liac-arffReads and writes ARFF (Attribute-Relation File Format) files, a…
- bids-validatorValidates that brain imaging datasets conform to the BIDS (Brain…
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 datazets · rdflib-jsonld · datasets · tensorflow-datasets · ucimlrepo · tfds-nightly · extruct · rocrate · recipe-scrapers · azureml