Skip to main content

Python SDK for the genome.computer API

Project description

genomecomputer

Python SDK for the genome.computer API.

pip install genomecomputer
import os
from genomecomputer import GenomeComputer

gc = GenomeComputer(
    api_key=os.environ["GC_API_KEY"],
    environment="staging",
)

context = gc.build_context(
    genome_id="gen_test_nutrition_001",
    domain="nutrition",
    detail_level="standard",
)

print(context["summary"])

The package also supports from genome_computer import GenomeComputer for projects that prefer snake_case module imports.

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

genomecomputer-0.1.1.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

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

genomecomputer-0.1.1-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file genomecomputer-0.1.1.tar.gz.

File metadata

  • Download URL: genomecomputer-0.1.1.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for genomecomputer-0.1.1.tar.gz
Algorithm Hash digest
SHA256 77d99c61113f1c86d92aad8a964c4a2063f2073713777d46e342f5012dfdb8c7
MD5 f423c1bd8daed9e4a28ae6de2760246a
BLAKE2b-256 59719595da5465f6bec279e6c87fe3b2bf2af16cd31cf868c1bad6168932e599

See more details on using hashes here.

File details

Details for the file genomecomputer-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: genomecomputer-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for genomecomputer-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 658ac360d575ba614036a6fc1abc29ec5a70f45b252dd034d02e20060905c830
MD5 e37babbd3e5aadd13139d6cd783b5292
BLAKE2b-256 8f830184bf8a2dc7381437f01f2291638d0cd447d9277cd37dcfeec60f6a2b03

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