Skip to content

Biotope Build

Draft stage

Biotope is in draft stage. Functionality may be missing or incomplete. The API is subject to change.

Build command implementation.

build(config, output)

Build knowledge representation from configured sources.

Source code in biotope/biotope/commands/build.py
@click.command()
@click.option(
    "--config",
    "-c",
    type=click.Path(exists=True),
    help="Path to configuration file",
)
@click.option(
    "--output",
    "-o",
    type=click.Path(),
    help="Output directory for built knowledge graph",
)
def build(config: str, output: str) -> None:
    """Build knowledge representation from configured sources."""
    click.echo(f"Building using config from {config} to {output}")

build_knowledge()

Build knowledge representation from configured sources.

Source code in biotope/biotope/commands/build.py
def build_knowledge() -> None:
    """Build knowledge representation from configured sources."""