#dataset #data-science

bin+lib kaggle

Unofficial rust implementation of the kaggle api

3 releases (stable)

1.0.3 Mar 23, 2020
1.0.2 Mar 22, 2020
0.1.0 Mar 22, 2020

#646 in Science

Apache-2.0

135KB
3.5K SLoC

kaggle-rs - accessing kaggle.com the rust way

Build Status Crates.io Documentation

Unofficial rust implementation of the kaggle-api.

Example

Download the newest version of a complete dataset

use kaggle::KaggleApiClient;

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    let kaggle = KaggleApiClient::builder().build()?;
    let dataset = kaggle
        .dataset_download_all_files("unanimad/dataisbeautiful", None, None)
        .await?;
    kaggle::archive::unzip(dataset, ".")?;
    Ok(())
}

Documentation

Full docs available at docs.rs

License

The Kaggle API is released under the Apache License, Version 2.0

Dependencies

~14–27MB
~410K SLoC