Metadata-Version: 2.4
Name: ufa
Version: 0.1.2
Summary: A tiny UFA client
Author-email: Srinivas Gorur-Shandilya <code@srinivas.gs>
Requires-Python: >=3.10
Requires-Dist: anyio>=4.11.0
Requires-Dist: beartype>=0.19.0
Requires-Dist: httpx>=0.28.1
Requires-Dist: nest-asyncio>=1.6.0
Requires-Dist: xxhash>=3.5.0
Description-Content-Type: text/markdown

# ufa-client-tiny

Small UFA client

## Downloading files


```python
from pathlib import Path
from ufa.client import UFAClient

client = UFAClient(base_url="https://api.edge.deeporigin.io/files/", token="...", org_key="deeporigin")

# Download to a specific directory; it will be created if missing
out_path = asyncio.run(
    client.download_file(
        file_path="tests/ufa/ligand.sdf",
        download_dir=Path("/tmp/ufa-downloads")
    )
)
print(out_path)  # absolute path to the downloaded file
```

