Skip to main content

Biotope

Biotope builds knowledge graphs from local data. It uses croissant-baker to describe sources, gives every described input a typed Python source package from the reviewed Croissant metadata, and checks project-owned loaders, mappings and graph pipelines. Builds export BioCypher files with provenance and a record of the run.

PyPI Python Documentation License

Biotope is under active development. The 0.10 release generates a complete source inventory, reports source drift, and retires validation checks and the query context; see the migration guide.

Install

Use Python 3.10–3.12. These commands use uv and a POSIX shell:

uv venv --python 3.12 .venv
uv pip install --python .venv/bin/python 'biotope[graph]>=0.10,<0.11'
source .venv/bin/activate
biotope --version

This installs the published croissant-baker dependency automatically. Graph type checking also needs Node.js on PATH; alternatively, install pyright[nodejs] in this environment. See installation for other setups.

Build a graph

  1. Initialize a metadata project with biotope init my-kg, then enter my-kg.
  2. Describe selected local data with biotope add <path> and review the Croissant metadata.
  3. Run biotope graph scaffold, then give every described input a source package with biotope source generate <manifest> --out graph/sources.
  4. Select or exclude each source, then define the graph's schemas, loaders, topology, mappings and pipeline in Python.
  5. Run biotope graph check, then biotope graph build, which writes graph/build/.
  6. Review the exported values, descriptions and provenance against the research question, reading the sources themselves; checks establish structure, not scientific correctness.

The scaffold's README describes its layout. The tutorial provides a complete synthetic project you can run immediately.

Use with a coding agent

The repository includes a biotope-croissant skill for this workflow and a biocypher skill for standalone BioCypher projects. Follow the agent setup guide for Claude Code, Cursor or Codex. Skills guide the agent; install the Python package in the project environment too.

Contribute

See CONTRIBUTING.md for development setup, checks and release conventions. Report reproducible problems through GitHub issues.

Typed authoring and modular topology construction were informed by Paul Ka Po To's kg-build-system. Biotope does not depend on that engine.

Copyright © 2025–2026 BioCypher Team. Apache 2.0.

Metadata

Release files for biotope 0.10.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for biotope 0.10.0
File Size Uploaded
biotope-0.10.0.tar.gz 511.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for biotope 0.10.0
File Interpreter ABI Platform
biotope-0.10.0-py3-none-any.whl Python 3 none any Details

Total release size: 788.4 kB

Release files / biotope-0.10.0.tar.gz

Download URL biotope-0.10.0.tar.gz
Size 511.7 kB
Tags Source
SHA-256 checksum
How to use checksums
2ef75bc20160a3be09dc48cbe55b947171f2d1f88bca0a831811269c2dfe5297
BLAKE2b-256 checksum
How to use checksums
b3d9ea3dfca7a7830621e845aecde1597b99dd8a096f2dfaa9eb7fd0b7a78324
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 29, 2026.

Transparency log

Release files / biotope-0.10.0-py3-none-any.whl

Download URL biotope-0.10.0-py3-none-any.whl
Size 276.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6499a7fbc623f55b5a4369a5e625154dda587031592cdc6ebe8a92fd86de4801
BLAKE2b-256 checksum
How to use checksums
96dd59c40c8e6b1975f87c9c31ea13832ff11ff35ac2fd97be66056311dff28e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 29, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.10.0 This release

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.0

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.1

2 release files

0.5.0

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.2

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page