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:
-
Create and activate a virtual environment:
cd python python3 -m venv venv source venv/bin/activate
-
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
76132d287b8e88540dd7258c2725b28efc7f87fbf3d9de52a3d9a434dc28f4d9
|
|
| MD5 |
b8d82fdb7a68598e3c4fa579a8eb764e
|
|
| BLAKE2b-256 |
10b03606048fc78b9ddf6499b3afbeff65fd799c9c5798eea115b667c3a8b784
|
Provenance
The following attestation bundles were made for cellaflow-0.1.0.tar.gz:
Publisher:
publish-python-sdk.yml on cellaflow/cellaflow-sdks
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cellaflow-0.1.0.tar.gz -
Subject digest:
76132d287b8e88540dd7258c2725b28efc7f87fbf3d9de52a3d9a434dc28f4d9 - Sigstore transparency entry: 2514394770
- Sigstore integration time:
-
Permalink:
cellaflow/cellaflow-sdks@0d741042b11679ccd2c0d8d991ab2926bfe5366c -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/cellaflow
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-python-sdk.yml@0d741042b11679ccd2c0d8d991ab2926bfe5366c -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a7384c93f908b0940be88bae6ed05359b8e4c710ec47d504ef5526142f94589f
|
|
| MD5 |
18b4c2ae891a213d00b9acb6f06d2104
|
|
| BLAKE2b-256 |
3c023cd9d403ad43aabb39d7366ab6ec403358c4423dfc15c650ef0dc8e1b907
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cellaflow-0.1.0-py3-none-any.whl -
Subject digest:
a7384c93f908b0940be88bae6ed05359b8e4c710ec47d504ef5526142f94589f - Sigstore transparency entry: 2514394802
- Sigstore integration time:
-
Permalink:
cellaflow/cellaflow-sdks@0d741042b11679ccd2c0d8d991ab2926bfe5366c -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/cellaflow
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-python-sdk.yml@0d741042b11679ccd2c0d8d991ab2926bfe5366c -
Trigger Event:
release
-
Statement type: