Temporal Server Python Wrapper (Experimental)
[Experimental AI-generated prototype project; not intended for public use]
Installs and runs the Temporal development server (temporal server start-dev) via Python packaging (uv).
Bundles the official pre-compiled temporal CLI binary (currently v1.3.0) for your platform within the dandavison-temporalio-server distribution package. The Python code is importable as temporalio_server.
Usage
Provides the temporal-server command, wrapping temporal server start-dev.
Command Line
Run without persistent install using uvx:
# Run with default settings (ports 7233/8233)
uvx dandavison-temporalio-server temporal-server start-dev
# Run with custom ports
uvx dandavison-temporalio-server temporal-server start-dev --port 7234 --ui-port 8234
Install persistently into uv tool environment:
# Install the distribution package
uv tool install dandavison-temporalio-server
# Run the command (may require shell restart/rehash)
temporal-server start-dev
Python (Tests/Scripts)
Provides temporalio_server.DevServer async context manager.
Install with [examples] extra (includes temporalio SDK):
# Install into project environment
uv pip install 'dandavison-temporalio-server[examples]'
# Or add to pyproject.toml for uv add/sync
# dandavison-temporalio-server = { version = "*", extras = ["examples"] }
Example usage:
import asyncio
from temporalio.client import Client
from temporalio_server import DevServer
async def main():
async with DevServer() as server:
client = await Client.connect(server.target)
print(f"Dev server ready at {server.target}")
# ... use client ...
if __name__ == "__main__":
asyncio.run(main())
See example.py for a runnable workflow/activity example.
Development
- Setup:
uv venv && uv sync --all-extras - Build:
uv build - Run Example:
uv run python example.py
Metadata
Release files for dandavison-temporalio-server 0.1.13
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dandavison_temporalio_server-0.1.13.tar.gz | 7.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dandavison_temporalio_server-0.1.13-cp313-cp313-macosx_15_0_arm64.whl | CPython 3.13 | CPython 3.13 | macOS 15.0+ ARM64 | Details |
Total release size: 30.4 MB
Release files / dandavison_temporalio_server-0.1.13.tar.gz
| Download URL | dandavison_temporalio_server-0.1.13.tar.gz |
|---|---|
| Size | 7.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
96f88b1180dc0b023f80ad032f3e1a3485fb982f6721025c78cf3383397b49be
|
|
BLAKE2b-256 checksum How to use checksums |
0b41de95a3332fcc7cb2b03ab6993dea33e77a4e8a9306ac0ec23de90588a1a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.3
|
Release files / dandavison_temporalio_server-0.1.13-cp313-cp313-macosx_15_0_arm64.whl
| Download URL | dandavison_temporalio_server-0.1.13-cp313-cp313-macosx_15_0_arm64.whl |
|---|---|
| Size | 30.4 MB |
| Tags | CPython 3.13 macOS 15.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
ea0ef8ed91a5bd6014593ed2ef1a3054a30af1b7b12f372f2c06242e7ec697fc
|
|
BLAKE2b-256 checksum How to use checksums |
a29e6b486a04a9d61863b4dc3b6f9bbff9846abec3aa157bfac2ddadc7fde19d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.3
|