Skip to main content

VCP CLI - A command-line interface (CLI) to the Chan Zuckerberg Initiative's Virtual Cell Platform (VCP)

Project description

Virtual Cells Platform Command Line Interface

Build Status License

A command-line interface for interacting with the Virtual Cell Platform ("VCP").

Requirements

  • 🐍 Python 3.10+: Ensure you have Python 3.10 or later installed.

Installation

pip install vcp-cli

Usage

Login

To log in to the VCP platform, use the following command:

vcp login --username your.email@example.com

This command will prompt you to enter your password securely.

Model Commands

The following commands are available for model management:

  • List Models: vcp model list
  • Download Model: vcp model download
  • Submit Model: vcp model submit <yaml_file> - Submit model data to the VCP Model Hub API

Data Commands

The following commands are available for data:

  • Search for Data:

    Allows you to search MDR for authorized datasets by TERM. Command: vcp data search <TERM> Example: vcp data search "cryoet"

  • Get information about a Dataset:

    Get a summary table with information about id, domain, label, doi, cell_count, species, tissues, and asset location Command: vcp data describe <DATASET_ID>

  • Download a Dataset:

    Download a specific dataset by id. Command: vcp data download [OPTIONS] DATASET_ID

Other Commands

Additional commands will be documented here as they are implemented.

Development

  1. Install development dependencies:

    make setup
    
  2. Run tests:

    make test
    
  3. Run E2E tests:

    APP_ENV=staging uv run pytest tests/e2e  # Run against staging environment
    APP_ENV=prod uv run pytest tests/e2e     # Run against prod environment
    

    Note: E2E tests require environment-specific configuration files (.env.staging or .env.prod) in the tests/e2e/ directory.

  4. Other development commands:

    make lint      # Run linting checks
    make format    # Format code
    make build     # Build the package
    make dev       # Run in development mode
    

Documentation

  1. Install docs dependencies:

    uv sync --group docs
    
  2. Build the documentation:

    cd docs
    uv run make html
    

The built artifacts will be in docs/_build/html.

License

[Add your license information here]

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

vcp_cli-0.45.0rc2.tar.gz (489.6 kB view details)

Uploaded Source

Built Distribution

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

vcp_cli-0.45.0rc2-py3-none-any.whl (204.6 kB view details)

Uploaded Python 3

File details

Details for the file vcp_cli-0.45.0rc2.tar.gz.

File metadata

  • Download URL: vcp_cli-0.45.0rc2.tar.gz
  • Upload date:
  • Size: 489.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for vcp_cli-0.45.0rc2.tar.gz
Algorithm Hash digest
SHA256 85497f188e12e74ee7f436892ce84ab1d52ba2aa38b6cd499699600f2ce44bb3
MD5 f83f448d398a1aabecc9a07e79c55863
BLAKE2b-256 f0b5c1385a90be1480e39beae91e9ded4a83ea2c924cad9135f5c32ffbd3c0a3

See more details on using hashes here.

Provenance

The following attestation bundles were made for vcp_cli-0.45.0rc2.tar.gz:

Publisher: publish-pypi.yml on chanzuckerberg/vcp-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vcp_cli-0.45.0rc2-py3-none-any.whl.

File metadata

  • Download URL: vcp_cli-0.45.0rc2-py3-none-any.whl
  • Upload date:
  • Size: 204.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for vcp_cli-0.45.0rc2-py3-none-any.whl
Algorithm Hash digest
SHA256 2a83bee9b11d06b62d976ae911f04e5901ef727901b43fc3de972cf971cee2ff
MD5 beeec0aec4e3a0139850546d76969fdf
BLAKE2b-256 b39f368fe0883426f0b29daf70592e63049d0966f632374db88d0c5fb1d09208

See more details on using hashes here.

Provenance

The following attestation bundles were made for vcp_cli-0.45.0rc2-py3-none-any.whl:

Publisher: publish-pypi.yml on chanzuckerberg/vcp-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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