Quick Start

Load your first materials science dataset in under 5 minutes.

1. Install

pip install foundry-ml

2. Connect

from foundry import Foundry

f = Foundry()

For cloud environments (Colab, remote Jupyter):

f = Foundry(no_browser=True, no_local_server=True)

Find datasets by keyword:

results = f.search("band gap", limit=5)
results

Output:

                                    dataset_name  ...
0                   foundry_oqmd_band_gaps_v1.1  ...
1                   foundry_aflow_band_gaps_v1.1  ...
2            foundry_experimental_band_gaps_v1.1  ...
...

4. Load

Get a dataset and load its data:

5. Understand

Check what fields the dataset contains:

6. Cite

Get the citation for publications:

Complete Example

What's Next?

Task
Guide

Search effectively

Load different formats

Use with PyTorch/TensorFlow

Use from terminal

Publish your data

Last updated

Was this helpful?