Download test_db.py from aim4composites/Production_Updated_Mat_Database: direct link, hf CLI and curl.
- Browser
- Download file 83 Bytes
-
https://huggingface.co/spaces/aim4composites/Production_Updated_Mat_Database/resolve/7bbbbce53274f27eaf367b68c41de783a61ba33d/test_db.py
- Command line
-
hf download hf://spaces/aim4composites/Production_Updated_Mat_Database@7bbbbce53274f27eaf367b68c41de783a61ba33d/test_db.py
-
curl -L -o test_db.py https://huggingface.co/spaces/aim4composites/Production_Updated_Mat_Database/resolve/7bbbbce53274f27eaf367b68c41de783a61ba33d/test_db.py
83 Bytes
| from db import fetch_all | |
| rows = fetch_all("SELECT 1 AS test_value") | |
| print(rows) |