10mo
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 = "43877824-a360-4430-a12d-1930af0fed46"
# 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)Figure 1 from Materials Design for New Superconductors
Phase diagrams (temperature versus chemical doping or pressure) for four
classes of superconductors: hole-doped cuprates like YBa2Cu3O6+x (upper left) [26],
κ-(ET)2Cu[N(CN)2]Cl, a 2D-organic (upper right) [27], heavy fermion CeRhIn5 (lower
left) [28], and an iron pnictide, Co-doped BaFe2As2 (lower right) [29].
Some notes as I read:
10mo
1 reference
Loading compatible actions...
Loading comments...