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.
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
- Initialize a metadata project with
biotope init my-kg, then entermy-kg. - Describe selected local data with
biotope add <path>and review the Croissant metadata. - Run
biotope graph scaffold, then give every described input a source package withbiotope source generate <manifest> --out graph/sources. - Select or exclude each source, then define the graph's schemas, loaders, topology, mappings and pipeline in Python.
- Run
biotope graph check, thenbiotope graph build, which writesgraph/build/. - 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.
- Typed graph guide: source curation, authoring and review.
- Commands: metadata, graph and version-control workflows.
- Architecture: responsibilities and execution boundaries.
- Published documentation.
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)
| File | Size | Uploaded | |
|---|---|---|---|
| biotope-0.10.0.tar.gz | 511.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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 logRelease 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