Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

TCIA Data Retriever for Python

This package bundles the headless TCIA Data Retriever executable with a small Python interface. It uses the same Go transfer core as the desktop application. It has no Python runtime dependencies and does not require a desktop, Go, Node, or a separately installed executable. Installation does not grant controlled data access.

The proposed distribution name is tcia-data-retriever; publication and name availability must be confirmed by maintainers before announcing installation. After publication, install a supported platform wheel with:

python -m pip install --only-binary=:all: tcia-data-retriever
tcia-data-retriever --help

Read the TCIA data usage policy before explicitly accepting it:

from tcia_data_retriever import download

report = download("manifest.csv", "./images", accept_data_policy=True)
print(report["downloaded"], report["failed"])

For restricted data, obtain your own approved JSON key and pass only its path:

report = download(
    "controlled_manifest.csv", "./images",
    accept_data_policy=True, credential_file="/path/to/credentials.json",
)

The current transfer core may save a private copy of the supplied credential in the platform's TCIA application configuration directory. Use an isolated runtime/user account when that persistence is inappropriate, and remove the saved credential when finished. Neither credentials nor temporary storage URLs are included in the Python completion report.

download() accepts a local manifest, output directory, processes (default 8), max_retries (default 3), skip_existing (default false), and directory_mode (descriptive or classic). It inherits console progress, closes child stdin, and returns a schema-versioned summary. Failed or partial runs raise DownloadError with returncode and, when available, report. Missing or malformed reports are failures even if the process returned zero. Ctrl-C requests cancellation, then re-raises KeyboardInterrupt.

For all existing CLI options use the console command or python -m tcia_data_retriever. --help and --version need no policy acceptance. Transfers require --accept-data-policy; interactive password prompts are unsupported. build_info() returns package version, source commit and binary SHA256. executable() resolves the packaged executable without searching PATH. No executable is fetched or updated at runtime.

This package is independent of tcia_utils. A future optional tcia_utils extra can depend on it after the TDR interface is merged and compatible wheels are published. Existing Python transfer routes are not automatically replaced.

Metadata

Release files for tcia-data-retriever 0.1.0rc1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for tcia-data-retriever 0.1.0rc1
File Actions
tcia_data_retriever-0.1.0rc1-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for tcia_data_retriever-0.1.0rc1-py3-none-win_amd64.whl
tcia_data_retriever-0.1.0rc1-py3-none-manylinux_2_17_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details for tcia_data_retriever-0.1.0rc1-py3-none-manylinux_2_17_x86_64.whl
tcia_data_retriever-0.1.0rc1-py3-none-macosx_11_0_x86_64.whl Python 3 none macOS 11.0+ x86-64 Details for tcia_data_retriever-0.1.0rc1-py3-none-macosx_11_0_x86_64.whl
tcia_data_retriever-0.1.0rc1-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for tcia_data_retriever-0.1.0rc1-py3-none-macosx_11_0_arm64.whl

Total release size: 364.6 MB

Release files / tcia_data_retriever-0.1.0rc1-py3-none-win_amd64.whl

Download URL tcia_data_retriever-0.1.0rc1-py3-none-win_amd64.whl
Size 91.4 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
1a02cee5a1aa0b3c77d52e8969f2dc8fe57fb327b7d26e4801ad0f01ab03a40e
BLAKE2b-256 checksum
How to use checksums
0d30ffca5c6b151ab9dd62e3886dedff15c0beb7eeea7f188a4e344fd097eabb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.7

Release files / tcia_data_retriever-0.1.0rc1-py3-none-manylinux_2_17_x86_64.whl

Download URL tcia_data_retriever-0.1.0rc1-py3-none-manylinux_2_17_x86_64.whl
Size 91.1 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
a9a63f96c3364b14b31ce0dde33df520a0321e544225535844a78eb034d4581b
BLAKE2b-256 checksum
How to use checksums
22952a12b6524fd35aedcb702d07908fb604c01665d639fa2f806bbc256ea384
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.7

Release files / tcia_data_retriever-0.1.0rc1-py3-none-macosx_11_0_x86_64.whl

Download URL tcia_data_retriever-0.1.0rc1-py3-none-macosx_11_0_x86_64.whl
Size 91.4 MB
Tags Python 3 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
fc18b6cd8e2e651ababddb47340439f59fc895f3d8e899cd0438d92ed5899f77
BLAKE2b-256 checksum
How to use checksums
f4fe4b707c6f8e3d147781bdc87591ca9bd054046063cc1909e79a6fd1364bbd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.7

Release files / tcia_data_retriever-0.1.0rc1-py3-none-macosx_11_0_arm64.whl

Download URL tcia_data_retriever-0.1.0rc1-py3-none-macosx_11_0_arm64.whl
Size 90.8 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
a41d9f665b1eb960d01f4ff5b6843a5d7302aa34121903f0c572277d23b051f7
BLAKE2b-256 checksum
How to use checksums
e3784b4d3a5a4c52a3004566ce39e504f0d08808c0aa438dbcab024a1e5de074
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.7

Security for tcia-data-retriever 0.1.0rc1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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