--- id: ucimlrepo version: "0.0.7" license: unclear license_treatment: permissive maintenance: dormant --- # ucimlrepo — Package to easily import datasets from the UC Irvine Machine Learning Repository into scripts and notebooks. License: permissive · Maintenance: dormant · Downloads: 320.8K/mo ## What it is and what it does ucimlrepo is a lightweight wrapper around the UC Irvine Machine Learning Repository that lets you programmatically fetch datasets into your Python environment. Instead of manually downloading CSV files from the web, you call fetch_ucirepo() with a dataset ID or name, and it returns a structured object containing the data as pandas dataframes (features, targets, IDs) plus rich metadata (dataset size, feature types, DOI, creators, abstract, and more). The package also provides list_available_datasets() to browse what's available. It's designed for machine learning workflows where you want to quickly load benchmark datasets for experimentation or model development. The metadata access lets you inspect dataset properties programmatically before training, and the data is already split into features and targets, reducing boilerplate. Dependencies are minimal (pandas and certifi), and installation is straightforward. Use it for: - Rapidly prototype machine learning models by fetching well-known benchmark datasets without manual download steps. - Build reproducible ML experiments that reference datasets by UCI ID, making scripts portable across environments. - Inspect dataset metadata (number of instances, feature types, missing values) before deciding which dataset to use for a task. - Automate data pipeline setup in notebooks where you need to load multiple UCI datasets and combine them. - Access dataset DOIs and citations programmatically to properly attribute data sources in research or reports. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Imports datasets from the UC Irvine Machine Learning Repository directly into Python scripts and notebooks, returning data as pandas dataframes along with structured metadata. Yes, if you regularly work with UCI ML Repository datasets. The package eliminates manual download friction and provides programmatic metadata access. Maintenance is dormant (last release 815 days ago), so don't expect rapid bug fixes or new features, but the core functionality is stable and the low dependency count reduces risk. No known vulnerabilities. Install it for convenience in exploratory ML work; avoid it if you need active support or frequent dataset updates. ## Install pip install ucimlrepo uv add ucimlrepo poetry add ucimlrepo ## Installing ucimlrepo Before you install: Low install friction with only two runtime dependencies (pandas and certifi). Maintenance is dormant—last release was 2024-05-21, over 815 days ago—but the repository is not archived and has received commits as recently as 2024-08-06, suggesting occasional updates despite the long gap. License in practice: Licensed under MIT (permissive), so you can use, modify, and distribute the package freely with minimal restrictions. Quickstart: pip install ucimlrepo from ucimlrepo import fetch_ucirepo heart_disease = fetch_ucirepo(id=45) X = heart_disease.data.features y = heart_disease.data.targets Requires Python 3.7 or later. Verify before relying: - Whether the package handles network timeouts or retries gracefully when fetching large datasets. - Performance characteristics when working with very large UCI datasets (row/column count limits). - How often the UCI repository's dataset catalog is synchronized with this package's available list. ## Package facts - License: not declared (permissive) - Python support: supports_current - Install friction: low - Maintenance: dormant - Downloads: 320.8K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags download UCI ML datasets, fetch machine learning datasets, UCI repository data import, load UCI ML data, access UCI datasets programmatically, machine learning dataset loader, UCI data downloader, dataset-loader, machine-learning, benchmark-data [View on SkillFed](https://skillfed.io/packages/ucimlrepo) · [View on PyPI](https://pypi.org/project/ucimlrepo/)