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 = "58e4bb0c-b50c-45f8-8244-9d7ae706f3e6"
# 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)Fe12Co4Ni3B phase diagram 1
Phase diagram of Fe12Co4Ni3B; e_above_hull: 0.170904 eV/atom; predicted_stable: False
Fe60Co20Ni15B5 (P1) 1
.cif fileFe60Co20Ni15B5 (requested SG: Pm #6, calculated SG: P1 #1, optimized: 400 steps, cell relaxed (isotropic))
2mo
1 input asset
Loading compatible actions...
Loading comments...