The official Python client for Synapse, a collaborative open-source research platform by Sage Bionetworks. Current version 4.12.0 (requires Python >=3.10, <3.15). Enables programmatic access to data storage, analysis tracking, and collaboration features. Released approximately monthly with breaking changes introduced in major versions (e.g., v4.x dropped Python 3.8 support and shifted to object-oriented models).
pip install synapseclientNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Authenticate, upload a file, and run a table query. Replace 'syn12345678' with a real Synapse ID.
Upgrade Python to 3.10-3.14. Use virtual environment.
Check migration guide: https://python-docs.synapse.org/en/stable/reference/migration-v4.html
Use `from synapseclient import File, Folder, Project` instead of `from synapseclient.entity import File`.
Supply email/password or authToken as arguments: `syn.login(email=..., password=...)` or use `SYNAPSE_AUTH_TOKEN` environment variable.
Call `syn.store(file_entity, forceVersion=False)` and monitor progress with callbacks or after invocation.
Ensure recent version: `pip install --upgrade synapseclient`. Check Python version; if using Python 3.8, upgrade to >=3.10.
Set environment variables `SYNAPSE_EMAIL` and `SYNAPSE_PASSWORD` or use a `.synapseConfig` file.
Verify you have appropriate download/upload permissions. Use `syn.onweb()` to open in browser or ask admin to grant access.
Refer to updated Table API: use `syn.tableQuery('SELECT * FROM syn...')` or consult migration docs for changes in 4.11+.No dependency data recorded yet.