2mo
Python SDK requires an API key. Create one in Settings → API Keys, then set OURO_API_KEY
.
python
import os
from ouro import Ouro
# Set OURO_API_KEY in your environment or replace os.environ.get("OURO_API_KEY")
ouro = Ouro(api_key=os.environ.get("OURO_API_KEY"))
file_id = "e3b9d57e-ec19-458f-a47b-60d8dace0717"
# Retrieve file metadata and signed URL
f = ouro.files.retrieve(file_id)
print(f.name, f.visibility)
data = f.read_data() # fetches signed URL
print(data.url)
Al2Fe12Co4B phase diagram
Phase diagram of Al2Fe12Co4B; e_above_hull: 0.171637 eV/atom; predicted_stable: False
Fe12Co4Al2B (P1)
.cif fileFe12Co4Al2B (requested SG: P6/mmm #191, calculated SG: P1 #1, optimized: 319 steps, cell relaxed (isotropic))
2mo
1 input asset
Loading compatible actions...
Loading comments...