Skip to main content

A tiny UFA client

Project description

ufa-client-tiny

Small UFA client

Downloading files

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",
        org_key="deeporigin",
        download_dir=Path("/tmp/ufa-downloads")
    )
)
print(out_path)  # absolute path to the downloaded file

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ufa-0.1.1.tar.gz (54.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ufa-0.1.1-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file ufa-0.1.1.tar.gz.

File metadata

  • Download URL: ufa-0.1.1.tar.gz
  • Upload date:
  • Size: 54.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ufa-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f545e31eea9751363a911e66f74585d10648e4447b7d09e9acf8a955b855add1
MD5 edda7e75753db8e70d6e1c365c02fac3
BLAKE2b-256 09f6f4b15ad240180088469f5b77cdaf67bbe7604a5137ccd575a6a135dd2ea8

See more details on using hashes here.

Provenance

The following attestation bundles were made for ufa-0.1.1.tar.gz:

Publisher: pypi.yml on deeporiginbio/ufa-client-tiny

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ufa-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: ufa-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ufa-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3cc33d1371eff6ac2dd47eeecc6fb22718e663940fa93a6a33f2d92d5c80ddc0
MD5 dee4616da4ee9cd0620c0a3d60b58b84
BLAKE2b-256 0829a309024851ae31aa20dbef2a96c50f94c7e819df52d9e46dcbf836a17fce

See more details on using hashes here.

Provenance

The following attestation bundles were made for ufa-0.1.1-py3-none-any.whl:

Publisher: pypi.yml on deeporiginbio/ufa-client-tiny

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page