Skip to main content

Minimal client for the Spatial Tools search endpoint.

Project description

spatialbio

Minimal Python bindings for the Spatial Omics directory search API. Install the package and call search_tools() to look up tools that match your query.

python -m pip install spatialbio
from spatialbio import search_tools

results = search_tools(query="spatial transcriptomics", page_size=5)
for tool in results["results"]:
    print(tool["name"], tool.get("year"))

You will need an API token with permission to hit the Spatial Omics search endpoint. Provide it via the SPATIALBIO_API_TOKEN (or legacy SPATIAL_TOOLS_API_TOKEN) environment variable or the api_token keyword argument. Use SPATIALBIO_API_BASE (or SPATIAL_TOOLS_API_BASE) to target a non-production deployment if required (defaults to https://spatial.tools).

MIT License.

Project details


Download files

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

Source Distribution

spatialbio-0.0.1.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

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

spatialbio-0.0.1-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file spatialbio-0.0.1.tar.gz.

File metadata

  • Download URL: spatialbio-0.0.1.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.19

File hashes

Hashes for spatialbio-0.0.1.tar.gz
Algorithm Hash digest
SHA256 cf4486ff5182610a8755ce6b5e15028ea0392f391519b5ca3458647cacfc1699
MD5 9a1c0845ed384ed22fca88a1cc67b151
BLAKE2b-256 4aa4eb780749c38df8286dde85ca9137915a6ccc0414fbde794a84dd8b8e2116

See more details on using hashes here.

File details

Details for the file spatialbio-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: spatialbio-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.19

File hashes

Hashes for spatialbio-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 08f115accdb43fe065e885e1e02f0358114176cdb52881554af8fa14c262ea07
MD5 1313aa4e018def38e7c55255e15366fa
BLAKE2b-256 893ccd9b6c20d09d2f8260f465029d8e314ed11bbe729a06854c66fc8c109ab0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page