science-assistant-client
High-level client for Science Assistant. It is built on mcp_proxy_adapter.client.jsonrpc_client.JsonRpcClient; it does not implement a second JSON-RPC/TLS stack.
Installation
Online:
python -m pip install science_assistant_client-<version>-py3-none-any.whl
Offline release archive:
unzip science-assistant-client-offline-<version>.zip
python -m pip install --no-index --find-links wheels wheels/science_assistant_client-<version>-py3-none-any.whl
The archive contains the client wheel, the matching mcp-proxy-adapter wheel and its dependency wheels, examples and tests.
Configuration
Environment variables:
SCIENCE_ASSISTANT_PROXY_PROTOCOL, defaulthttps;SCIENCE_ASSISTANT_PROXY_HOST, defaultmcp-proxy.techsup.od.ua;SCIENCE_ASSISTANT_PROXY_PORT, default3004;SCIENCE_ASSISTANT_PROXY_TOKEN_HEADERandSCIENCE_ASSISTANT_PROXY_TOKEN;SCIENCE_ASSISTANT_PROXY_CERT,SCIENCE_ASSISTANT_PROXY_KEY,SCIENCE_ASSISTANT_PROXY_CA;SCIENCE_ASSISTANT_SERVER_ID, defaultscience-assistant-vvz;SCIENCE_ASSISTANT_COPY_NUMBER, default1.
Client and server release versions must match. The first operation calls info(include_markdown=false) and raises VersionMismatchError when they differ.
Python
from science_assistant_client import ScienceAssistantClient
client = ScienceAssistantClient()
info = client.info() # all pages are assembled automatically
client.upload_file("/mnt/data/input.fits", "incoming/input.fits")
client.download_file("exports/result.ecsv", "/mnt/data/result.ecsv")
result = client.call("astroquery_object", {"service": "simbad", "target": "M 31"})
Async usage:
from science_assistant_client import AsyncScienceAssistantClient
async with AsyncScienceAssistantClient() as client:
result = await client.query_catalog(catalog="J/ApJ/714/25", row_limit=10)
Uploads and downloads persist sidecar state files until completion. Retry with the same paths to resume from the server-confirmed raw-byte offset. Final size and SHA-256 are mandatory.
CLI
science-assistant-client info
science-assistant-client upload /mnt/data/input.bin incoming/input.bin
science-assistant-client download incoming/input.bin /mnt/data/copy.bin
science-assistant-client call astroquery_object --params '{"service":"simbad","target":"M 31"}'
Dedicated Python 3.13 environment
The release also contains science-assistant-client-py313-linux-x86_64-<version>.zip.
After extraction:
./create_venv.sh /mnt/data/science-assistant-client-venv
This creates an isolated environment and installs every dependency from the included wheelhouse without network access.
The direct JsonRpcClient transport still requires a network route to MCP Proxy. In an agent runtime where call_server is supplied as a callable bridge, pass a compatible proxy_client object to AsyncScienceAssistantClient. ChatGPT's isolated Python sandbox does not expose model tools as importable Python functions, so tool calls there remain controlled by the model runtime rather than by the venv.
Library and CLI
The distribution is a normal Python package. Import ScienceAssistantClient or AsyncScienceAssistantClient from application code, and use the installed science-assistant-client CLI for shell workflows. The package-upload CLI command sends independently checksummed parts and requests verified server-side assembly.
The standalone mcp_file_parts.py model-tool bridge is a separate release artifact. It is intentionally not imported by this package and has no network dependencies.
Metadata
Release files for science-assistant-client 0.2.27
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| science_assistant_client-0.2.27.tar.gz | 13.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| science_assistant_client-0.2.27-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 26.0 kB
Release files / science_assistant_client-0.2.27.tar.gz
| Download URL | science_assistant_client-0.2.27.tar.gz |
|---|---|
| Size | 13.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
88098e88ee7a1c152d359adcded3c4b97dfe0ea2fa55b32aab339f6259dacdf7
|
|
BLAKE2b-256 checksum How to use checksums |
f423767b1976ed4e0835fb005ac55b9511a27af58c887df0973caa24e2340d20
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Release files / science_assistant_client-0.2.27-py3-none-any.whl
| Download URL | science_assistant_client-0.2.27-py3-none-any.whl |
|---|---|
| Size | 12.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cf6a3858783745e5d8070b6c6e09b5be561b01efbf78ed6c83aadb9c5ea89860
|
|
BLAKE2b-256 checksum How to use checksums |
6b12e0f5ec6cd9b476e3c01c54f819fdb216dcdd4854dfb02c4cca537e79b92b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Security for science-assistant-client 0.2.27
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.