Skip to main content

Valgo API

CI PyPI

The official Python client for the Valgo API to upload, share, and retrieve datasets programmatically.

Installation

pip install valgo

Valgo supports Python 3.11 and newer.

Quick start

Set the API key issued by your Valgo administrator:

export VALGO_API_KEY="valgo_live_..."

Upload a file:

from valgo import Valgo

client = Valgo()
uploaded = client.upload("data/dataset.parquet")
print(uploaded.artifact_id)

The SDK connects to https://api.valgo.ai by default.

You can also pass the key directly:

client = Valgo(api_key="valgo_live_...")

Uploads

Upload a file with an optional logical name and metadata:

uploaded = client.upload(
    "data/dataset.parquet",
    name="datasets/dataset.parquet",
    metadata={"source": "example"},
)

Directories are uploaded concurrently:

result = client.upload("data/datasets")

for uploaded in result.completed:
    print(uploaded.path, uploaded.artifact_id)

for failure in result.failures:
    print(failure.path, failure.error)

Interrupted uploads are resumable. Retrying the same file continues the existing transfer rather than creating a duplicate.

Downloads

Download the latest version by logical name:

client.download("datasets/dataset.parquet", "downloads/dataset.parquet")

Or retrieve an exact immutable version:

client.download(uploaded.artifact_id, "downloads/dataset.parquet")

The SDK verifies the downloaded size and SHA-256 checksum before replacing the destination file.

Configuration

Environment variable Purpose Default
VALGO_API_KEY Customer API credential Required
VALGO_BASE_URL Valgo API endpoint https://api.valgo.ai

Constructor arguments override environment variables:

client = Valgo(
    api_key="valgo_live_...",
    base_url="https://api.valgo.ai",
    timeout=60,
    max_workers=8,
)

Development

From this repository:

python -m pip install -e .
pytest

Do not commit API keys, presigned URLs, or customer data. Report security issues privately to the Valgo team rather than opening a public issue.

License

Licensed under the Apache License 2.0.

Copyright © 2026 Valgorithmic, Inc. (d.b.a. Valgo).

Download files

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

Source Distribution

valgo-0.1.0.tar.gz (12.2 kB view details)

Uploaded Source

Built Distribution

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

valgo-0.1.0-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

Details for the file valgo-0.1.0.tar.gz.

File metadata

  • Download URL: valgo-0.1.0.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for valgo-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c54a79db12ee7ef6b5b64a74a76eedff6c077d6ab99c828cf4030b4cc59cd691
MD5 73635d6482655b1667e8b9afb1f3eb2d
BLAKE2b-256 f43a0e943d3c2a26961341ee0bbb7218ab652ebc2d0c3f3c4fd6a53e014682eb

See more details on using hashes here.

Provenance

The following attestation bundles were made for valgo-0.1.0.tar.gz:

Publisher: publish.yml on valgorithmic/valgo

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

File details

Details for the file valgo-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: valgo-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 15.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for valgo-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 66b1688c5b1e814a89b72d19c0bc47cfa4f3e6e4fb401c4415ad4494d6055957
MD5 9cc619509ba9be49fb9efbf8ae49942c
BLAKE2b-256 8a27980d50068a4636f239da619606de2c8bb617fad03d7339ccbc0d4700b975

See more details on using hashes here.

Provenance

The following attestation bundles were made for valgo-0.1.0-py3-none-any.whl:

Publisher: publish.yml on valgorithmic/valgo

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

Release history Release notifications | RSS feed

0.3.1

2 files

0.3.0

2 files

0.2.0

2 files

This release

0.1.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page