Skip to main content

A unified Python package for accessing various Raman spectroscopy datasets.

Project description

Raman-Data: A Unified Python Library for Raman Spectroscopy Datasets

This project aims to create a unified Python package for accessing various Raman spectroscopy datasets. The goal is to provide a simple and consistent API to load data from different sources like Kaggle, Hugging Face, GitHub, and Zenodo. This will be beneficial for the Raman spectroscopy community, enabling easier evaluation of models, such as foundation models for Raman spectroscopy.

✨ Features

  • A single, easy-to-use Python package (planned for PyPI).
  • Automatic downloading and caching of datasets from their original sources.
  • A unified data format for all datasets.
  • A simple function to list available datasets, with filtering options.

🚀 Getting Started

The basic interface for the package is defined in raman_data/__init__.py. Here's a preview of how it will work:

from raman_data import raman_data
# To specify a task type import this enum as well
from raman_data import TASK_TYPE

# List all available datasets
print(raman_data())

# List only classification datasets
print(raman_data(task_type=TASK_TYPE.Classification))

# Load a dataset
dataset = raman_data(name="codina/diabetes/AGEs")

# Access the data, targets, and metadata
X = dataset.data
y = dataset.target
metadata = dataset.metadata

print(X.shape)
print(y.shape)
print(metadata)

For more detailed examples see Demo Notebook.

📚 Available Datasets

Here is the list of datasets that are currently included in the package:

Kaggle

Hugging Face

Zenodo

🎯 Milestones

  • View Datasets
  • Software architecture with dummy data
  • Software tests
  • Integration of Kaggle
  • Integration of Huggingface
  • Integration of Github
  • Integration of Zenodo
  • Integration of other datasets
  • Finalize Package
    • Documentation
    • Publish to PyPi

🔮 For Later (Future Datasets)

Kaggle

GitHub

Zenodo

Other Sources

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

raman_data-0.0.3.tar.gz (262.5 kB view details)

Uploaded Source

Built Distribution

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

raman_data-0.0.3-py3-none-any.whl (22.9 kB view details)

Uploaded Python 3

File details

Details for the file raman_data-0.0.3.tar.gz.

File metadata

  • Download URL: raman_data-0.0.3.tar.gz
  • Upload date:
  • Size: 262.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for raman_data-0.0.3.tar.gz
Algorithm Hash digest
SHA256 ecaf855aba63e2a37bf73e6d2e3f550fe211ca10949345900356fc149c5548a9
MD5 f1684ad353f5f2511bd880817293c623
BLAKE2b-256 5a4b58c6c23ce8c4986c11e55eb03998b644c5b125ee1c0c8646bf785970d848

See more details on using hashes here.

File details

Details for the file raman_data-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: raman_data-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 22.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for raman_data-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8608afbe24e7accaa87cf9b2aa400c53dce3f84448d72ec70c540f9bca9bc529
MD5 d8b1408351380264dba630fc26641d51
BLAKE2b-256 db0e0f9436941c3e1b9f22c9ed6d45195b8593bfdc4a5cbb6d66d8fabf175538

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