pytdc
Fungsinya
PyTDC adalah alat yang membantu para ilmuwan menemukan dan menggunakan data untuk penelitian penemuan obat. Alat ini memungkinkan Anda menemukan dataset, memuat informasi, dan mengevaluasi hasil pengujian.
Kapan dipakai
- ✓Saat Anda perlu mencari data tentang pengujian obat.
- ✓Saat memuat dataset untuk dianalisis.
- ✓Untuk mengevaluasi akurasi model prediksi obat.
Link skill
https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/pytdc/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
“Dataset apa saja yang tersedia untuk penelitian toksisitas obat?”
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
PyTDC mengatur dan menyediakan akses ke data penelitian obat. Alat ini memungkinkan Anda memilih data yang akan digunakan dan cara mengevaluasinya, tanpa perlu mengunduh semuanya sekaligus.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
PyTDC (Therapeutics Data Commons)
Use the official PyTDC distribution (import tdc) to discover therapeutic ML
tasks, load approved datasets, apply task-appropriate splits, evaluate predictions,
and work with curated benchmark groups. Prefer package metadata over copied dataset
lists, and plan network/storage effects before constructing any loader.
Verified snapshot
- Research date: 2026-10-01
- PyPI stable: PyTDC 1.1.15, released 2025-03-31
- Package/source repository:
mims-harvard/TDC - Code license: MIT
- PyPI supplies only a source distribution and declares no
Requires-Python - The dependency graph makes CPython 3.11 the reproducible target used here:
cellxgene-census==1.15.0excludes Python 3.12, and PyTDC's constrained RDKit release has no CPython 3.13 wheel - PyTDC imports deprecated
pkg_resourcesat runtime. Setuptools 82 removed that module; pin the verified compatibility release setuptools 80.9.0. tdc.readthedocs.iostill identifies itself as TDC 0.4.1; use it as API cross-reference, not as release-version evidence- Upstream publishes no GitHub tags/releases or maintained changelog. Treat undocumented migration claims as uncertainty and verify against the installed 1.1.15 source/metadata.
See references/sources.md for dated evidence and known documentation conflicts.
Installation
Use an isolated CPython 3.11 environment and pin the reviewed snapshot:
uv venv --python 3.11 .venv-pytdc
uv pip install --dry-run --python .venv-pytdc/bin/python \
"setuptools==80.9.0" "PyTDC==1.1.15"
uv pip install --python .venv-pytdc/bin/python \
"setuptools==80.9.0" "PyTDC==1.1.15"
The current macOS ARM64 test resolution installed 128 packages, including large
scientific/ML dependencies, so the environment itself can transfer and occupy
hundreds of megabytes before any dataset is downloaded. Review the dry run and
available disk first. The direct pins identify the reviewed API snapshot; generate
a platform-specific uv.lock in the user's project when every transitive version
must also be frozen.
For an ephemeral command:
uv run --no-project --isolated --python 3.11 \
--with "setuptools==80.9.0" --with "PyTDC==1.1.15" \
python scripts/discover_metadata.py --kind tasks
To check for a newer release, inspect the PyPI release history at
https://pypi.org/project/pytdc/. Before changing the pin, compare its source
distribution, dependencies, official repository, task registries, and smoke tests;
do not silently substitute the separate pytdc-nextml package.
Non-negotiable data and network policy
- Discover first. Reading
tdc.metadataor usingscripts/discover_metadata.pydoes not instantiate a loader or download data. - Plan second. Record the exact task/dataset, official task page, license, expected size, cache directory, split, metric, and reproducibility seed.
- Confirm the authorized scope before downloading. Loader constructors fetch missing data. Some datasets and benchmark-group archives are large; model-backed oracles can fetch checkpoints; remote/docking oracles can transmit molecular structures.
- Execute within that scope. In bundled CLIs,
--executeacknowledges execution and--downloadis additionally required for MolGen corpora or supported oracle checkpoints. - Keep outputs bounded. Emit counts, schema, and small previews rather than full datasets, sequences, prediction arrays, or molecule corpora.
Cache and cost behavior
- Ordinary loaders default to
path="./data"and save files beneath that path. The bundled scripts instead default to explicit.pytdc-*directories. - Core downloads use Harvard Dataverse file endpoints when a local filename is absent. Newer resource classes may use other upstream services.
admet_group(path=...)and other benchmark-group constructors download and extract the group archive when<path>/<group>is absent.- Download-backed
Oracle(...)construction uses./oracleinternally. The bundled oracle CLI changes into a safe runtime directory before approved calls. - PyTDC 1.1.15 does not provide a universal cache quota, eviction policy, or
dataset-wide checksum manifest. Use
scripts/cache_audit.pyand manage disk retention explicitly. - Network transfer, local storage, decompression, parsing, feature generation,
…
Pertanyaan umum
Apa itu 'Therapeutics Data Commons'?
Itu adalah kumpulan data yang terorganisir untuk membantu penelitian dan pengembangan obat-obatan baru.
Apakah saya perlu mengunduh semua data untuk memulai?
Tidak, Anda bisa terlebih dahulu menjelajahi data yang tersedia, lalu memilih data yang Anda butuhkan untuk diunduh.
Apakah alat ini gratis digunakan?
Kode PyTDC berlisensi MIT, tetapi data dan tugasnya mungkin memiliki lisensi yang berbeda. Penting untuk memeriksa ketentuan untuk setiap dataset.
Detail
Deskripsi asli dari pembuat
Provides Therapeutics Data Commons workflows through PyTDC for registry discovery, dataset access, task-aware splits, evaluator metrics, benchmark groups, and bounded molecular-oracle scoring. Use when working with TDC therapeutic ML datasets or benchmarks.
Popularitas
- Bintang GitHub
- 51k
- Peringkat
- #3547
- Lisensi
- MIT
- Diperbarui
- 15/10/2026
Komentar
- …
Skill lain dari repositori ini
13c-metabolic-flux
51kMemperkirakan fluks metabolik menggunakan data pelacakan isotop karbon-13. Berguna untuk menganalisis metabolisme seluler dan jalur biokimia.
adaptyv
51kMerancang eksperimen karakterisasi protein menggunakan Adaptyv API. Membantu memperkirakan biaya, mengirimkan sekuens, dan memantau hasil lab.
aeon
51kMenjalankan tugas machine learning pada data time series. Berguna untuk klasifikasi, peramalan, deteksi anomali, dan menemukan pola dalam data berurutan.
alphagenome
51kMencari efek genomik yang sudah dihitung untuk varian genetik. Memberikan skor dan penjelasan untuk memahami dampak varian terhadap genom.
Skill serupa
pytorch-patterns
280kMembantu agent Anda menggunakan PyTorch untuk model machine learning. Menerapkan praktik terbaik untuk pelatihan model yang efisien dan hasil yang dapat direproduksi.
evm-token-decimals
280kMembantu agent menghindari kesalahan angka desimal di berbagai jaringan blockchain. Memastikan nilai token akurat dalam transaksi dan perhitungan.
ito-inference
280kMemungkinkan agent Anda mengecek ketersediaan model AI untuk digunakan. Menghubungkan permintaan komputasi dengan layanan model yang siap.