Skip to main content

Cellaflow Python SDK

The official Python SDK for the Cellaflow Engine.

Development Setup

To get up and running with the Python SDK for development, follow these steps:

  1. Create and activate a virtual environment:

    cd python
    python3 -m venv venv
    source venv/bin/activate
    
  2. Install the SDK in editable mode with development dependencies:

    pip install -e ".[dev]"
    

Generating Protobufs and Typing Stubs (.pyi)

We use grpcio-tools and mypy-protobuf to generate Python code and typing stubs from the .proto files. This ensures your IDE (e.g. VS Code with Pylance or mypy) will properly resolve gRPC stubs and message attributes.

To regenerate the protobuf definitions and their corresponding .pyi typing stubs, run the generation script from the python directory:

./scripts/generate_protos.sh

This will automatically compile the protos from ../proto/cellaflow/v1/*.proto and output both the Python code (*_pb2.py, *_pb2_grpc.py) and typing stubs (*.pyi) into src/cellaflow/v1/.

Running Tests and Linters

You can validate your changes using the following tools:

  • Tests: pytest
  • Formatting: black src tests
  • Linting: flake8 src tests
  • Type Checking: mypy src tests

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cellaflow-0.1.0.tar.gz (24.2 kB view details)

Uploaded Source

Built Distribution

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

cellaflow-0.1.0-py3-none-any.whl (29.8 kB view details)

Uploaded Python 3

File details

Details for the file cellaflow-0.1.0.tar.gz.

File metadata

  • Download URL: cellaflow-0.1.0.tar.gz
  • Upload date:
  • Size: 24.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for cellaflow-0.1.0.tar.gz
Algorithm Hash digest
SHA256 76132d287b8e88540dd7258c2725b28efc7f87fbf3d9de52a3d9a434dc28f4d9
MD5 b8d82fdb7a68598e3c4fa579a8eb764e
BLAKE2b-256 10b03606048fc78b9ddf6499b3afbeff65fd799c9c5798eea115b667c3a8b784

See more details on using hashes here.

Provenance

The following attestation bundles were made for cellaflow-0.1.0.tar.gz:

Publisher: publish-python-sdk.yml on cellaflow/cellaflow-sdks

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

File details

Details for the file cellaflow-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: cellaflow-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 29.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for cellaflow-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a7384c93f908b0940be88bae6ed05359b8e4c710ec47d504ef5526142f94589f
MD5 18b4c2ae891a213d00b9acb6f06d2104
BLAKE2b-256 3c023cd9d403ad43aabb39d7366ab6ec403358c4423dfc15c650ef0dc8e1b907

See more details on using hashes here.

Provenance

The following attestation bundles were made for cellaflow-0.1.0-py3-none-any.whl:

Publisher: publish-python-sdk.yml on cellaflow/cellaflow-sdks

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

Release history Release notifications | RSS feed

0.2.0

2 files

0.1.2

2 files

0.1.1

2 files

This release

0.1.0 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page