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",
        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.2.0.tar.gz (55.8 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.2.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ufa-0.2.0.tar.gz
Algorithm Hash digest
SHA256 f6d71b02db47ed7981aab84d7ba3c1559a27586fe435ea4bfd3d96b56ee5d5f5
MD5 bbd3a79680494d5ed5170725d89f1e22
BLAKE2b-256 fc0883919aafaa33c4a1390bc8aab187d84e930603ab86d68ba96239b2a3ff81

See more details on using hashes here.

Provenance

The following attestation bundles were made for ufa-0.2.0.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.2.0-py3-none-any.whl.

File metadata

  • Download URL: ufa-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 4.8 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2c9ff9f87402ba4f9b4c02d67d444cedcb203e0b1c6fd4483dbb91dc8cacef4d
MD5 7ae52b0e47dcf4cff0324195938784e5
BLAKE2b-256 33702d9c9b082b20cddfc3a23f1833e74babbb64ab4bb6bcf1162fcaee5cdbc6

See more details on using hashes here.

Provenance

The following attestation bundles were made for ufa-0.2.0-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