Skip to main content

CLI integration for BioCypher ecosystem packages

Project description

biotope

Package Latest PyPI Version Supported Python Versions Documentation
Meta MIT Code of Conduct Checked with mypy Code Style Black Linting: Ruff
Automation

CLI integration for BioCypher ecosystem packages

Status: early alpha, volatile, partly vibe-coded

Documentation here, may be incomplete.

Currently discussed here.

Metadata Management — Main Usage

The biotope CLI provides a unified interface for managing scientific datasets and metadata in the BioCypher ecosystem. It supports project initialization, data staging, metadata annotation, version control, and more. Here we describe the metadata management functionality, the most mature aspect of the package. Most other functionality is in prototype stage.

Typical Workflow

# 1. Initialize a new biotope project (with Git integration)
biotope init

# 2. Add local data files for annotation and tracking
biotope add data/raw/experiment.csv

#    Or add all new files in a folder recursively
biotope add -r data

#    Or download and stage remote files (will call `add` once finished)
biotope get https://example.com/data/experiment.csv

# 3. Check project status and staged files
biotope status

# 4. Create or complete metadata annotations
biotope annotate interactive --staged
#    Or complete incomplete annotations
biotope annotate interactive --incomplete

# 5. Commit metadata changes to version control
biotope commit -m "Add experiment dataset"

# 6. View project history
biotope log --oneline

# 7. Push or pull metadata to/from remote repositories
biotope push
biotope pull

# 8. Verify data integrity
biotope check-data

Available Commands

  • biotope init – Initialize a new project with Git integration.
  • biotope add – Stage local data files for annotation and version control.
  • biotope get – Download and stage remote files for annotation.
  • biotope status – Show the current status of your project and staged files.
  • biotope annotate – Create, complete, or validate metadata using the Croissant ML schema.
  • biotope commit – Commit metadata changes using Git.
  • biotope log – View the commit history of your project.
  • biotope push / biotope pull – Share metadata with remote repositories.
  • biotope check-data – Verify data integrity using checksums.
  • biotope build, biotope chat, biotope read, biotope view – Additional tools for building knowledge representations, chatting with your project, extracting information, and visual analysis.

For more details and advanced usage, see the full documentation.

Copyright

  • Copyright © 2025 BioCypher Team.
  • Free software distributed under the 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

biotope-0.5.0.tar.gz (41.9 kB view details)

Uploaded Source

Built Distribution

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

biotope-0.5.0-py3-none-any.whl (51.6 kB view details)

Uploaded Python 3

File details

Details for the file biotope-0.5.0.tar.gz.

File metadata

  • Download URL: biotope-0.5.0.tar.gz
  • Upload date:
  • Size: 41.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.11.13 Darwin/24.5.0

File hashes

Hashes for biotope-0.5.0.tar.gz
Algorithm Hash digest
SHA256 4df80068d8e4cdfd8313040defca8674a7ccb8da317ec20d4b036d1728a98ccf
MD5 4bcc3f7ace399dbdd2e303c6edd70629
BLAKE2b-256 fed2bd5ed3ba122ee38c12d6ad992629b75f9f0d3a97feafe6f69af9765ece56

See more details on using hashes here.

File details

Details for the file biotope-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: biotope-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 51.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.11.13 Darwin/24.5.0

File hashes

Hashes for biotope-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fa4a2bf42a7dd533e4c5b0411c4b96174461d412fe665a1399e7cca1352d8849
MD5 53c85bb252a0870b74e4534763f9e845
BLAKE2b-256 5f7eed05e675a524199f8d41b6854883a57dfc8299c81a3440593503e0b806f6

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