Seshat Python SDK
raw JSON → 0.6.6 verified Fri May 01 auth: no python
Seshat python SDK is a library to help create ML data pipelines. Current version 0.6.6, requires Python >=3.11, <4.0. Active development with moderate release cadence.
pip install sdk-seshat-python Common errors
error ModuleNotFoundError: No module named 'sdk_seshat_python' ↓
cause Trying to import using the PyPI package name instead of module name.
fix
Use 'from seshat import SeshatClient' (module is 'seshat', not 'sdk-seshat-python').
error ImportError: cannot import name 'SeshatClient' from 'seshat' ↓
cause Wrong import path or outdated library version.
fix
Ensure you have the correct version (≥0.5.0) and use 'from seshat import SeshatClient'.
error AttributeError: module 'seshat' has no attribute 'pipeline' ↓
cause Trying to access submodule that hasn't been imported.
fix
Explicitly import the submodule: 'from seshat import pipeline' or 'from seshat.pipeline import ...'.
Warnings
breaking In version 0.5.0 the import path for 'pipeline' changed from 'seshat.core.pipeline' to 'seshat.pipeline'. ↓
fix Use 'from seshat.pipeline import create_pipeline' instead of 'from seshat.core.pipeline import create_pipeline'.
gotcha The library requires Python 3.11 or higher. Installing on an older Python will fail with 'ERROR: Package 'sdk-seshat-python' requires a different Python: 3.11.0 not in '<4.0,>=3.11''. ↓
fix Ensure you are using Python >=3.11 (e.g., via pyenv or conda).
deprecated The function 'run_pipeline' in seshat.pipeline was deprecated in 0.6.0 in favor of 'execute_pipeline'. ↓
fix Replace 'run_pipeline' with 'execute_pipeline'.
Imports
- SeshatClient wrong
from sdk_seshat_python import SeshatClientcorrectfrom seshat import SeshatClient - create_pipeline wrong
from seshat import create_pipelinecorrectfrom seshat.pipeline import create_pipeline
Quickstart
import os
from seshat import SeshatClient
client = SeshatClient(api_key=os.environ.get('SESHAT_API_KEY', ''))
print(client.list_pipelines())