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.0rc1.tar.gz (490.0 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.0rc1-py3-none-any.whl (204.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vcp_cli-0.45.0rc1.tar.gz
  • Upload date:
  • Size: 490.0 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.0rc1.tar.gz
Algorithm Hash digest
SHA256 e5cda2dff01e914f8a6ead81ca1ee2dc669c5b9e3fd7acbd43052be3887dcfb8
MD5 6542b4e86b1120b90ab6b32eb4452280
BLAKE2b-256 6dc8c0b64cec8cf5f965ed0a60440f26f06efab90e349b1062b1fb3d22096b37

See more details on using hashes here.

Provenance

The following attestation bundles were made for vcp_cli-0.45.0rc1.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.0rc1-py3-none-any.whl.

File metadata

  • Download URL: vcp_cli-0.45.0rc1-py3-none-any.whl
  • Upload date:
  • Size: 204.5 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.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 7ab39f90a5bd710d4210dc35b11a5284e13cf147058fb1ca7f8f923eba891799
MD5 00fe6344e410d15cb54161a7b5150717
BLAKE2b-256 dc5aafbf143dceb13f88e96001b1c79f416f7a89ce82a0cb7303d9bf58645701

See more details on using hashes here.

Provenance

The following attestation bundles were made for vcp_cli-0.45.0rc1-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