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 = "0d07aed7-073d-4386-a3b2-fe1f5c14c3f8"
# 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)
AlFe8Co4Ni2B phase diagram
Phase diagram of AlFe8Co4Ni2B; e_above_hull: 0.199832 eV/atom; predicted_stable: False
Fe8Co4Ni2Al1B1 (P4/mmm)
.cif fileFe8Co4Ni2Al1B1 (requested space group: P4/mmm #123, optimized: 18 steps, cell relaxed (isotropic))
2mo
1 input asset
Loading compatible actions...
Loading comments...