Python wrapper for the Temporal development server CLI
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
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 dandavison_temporalio_server-0.1.12.tar.gz.
File metadata
- Download URL: dandavison_temporalio_server-0.1.12.tar.gz
- Upload date:
- Size: 7.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.6.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b5c41e5de20842647827ab5378728ea1d4a6fea18dab1178f25d05f51bb33fe4
|
|
| MD5 |
d214d0057678a84e68ba875418bdbe37
|
|
| BLAKE2b-256 |
4f220643f82521ef55e039e68167c1d4f37a8c00654f5ad070a7064ed2d3679b
|
File details
Details for the file dandavison_temporalio_server-0.1.12-cp313-cp313-win_amd64.whl.
File metadata
- Download URL: dandavison_temporalio_server-0.1.12-cp313-cp313-win_amd64.whl
- Upload date:
- Size: 31.6 MB
- Tags: CPython 3.13, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.6.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
246de1e6943e97a6ddfb92d1caa0439bc7b84ac168722850905ae6da548e622e
|
|
| MD5 |
3f8529c5253164aa4c08a626ccad2d0e
|
|
| BLAKE2b-256 |
aed1498c0384e001e67e83cc32bfe4f3191d55e9c6f41acbd9857dc141ec994a
|
File details
Details for the file dandavison_temporalio_server-0.1.12-cp313-cp313-macosx_14_0_arm64.whl.
File metadata
- Download URL: dandavison_temporalio_server-0.1.12-cp313-cp313-macosx_14_0_arm64.whl
- Upload date:
- Size: 30.4 MB
- Tags: CPython 3.13, macOS 14.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.6.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
53b13f3f643ce19eb81ca9c8051ea7384ae88414a7bd075099588527c5801551
|
|
| MD5 |
3e347ab6caf0151489108fe0af0cebb0
|
|
| BLAKE2b-256 |
d03e85e1cf8e499b7e7bcd167753b3a1b5b436f76b3c1390fe22e5cbf8ae8b6f
|
File details
Details for the file dandavison_temporalio_server-0.1.12-cp313-cp313-macosx_13_0_x86_64.whl.
File metadata
- Download URL: dandavison_temporalio_server-0.1.12-cp313-cp313-macosx_13_0_x86_64.whl
- Upload date:
- Size: 31.6 MB
- Tags: CPython 3.13, macOS 13.0+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.6.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2f69d294261d96823355c2a936d1e3322c50a05f6641163ac048a868ed04506a
|
|
| MD5 |
0d36d9bd618733292dc488735924a29a
|
|
| BLAKE2b-256 |
4902d3bfd99975887d9da7e1c6e3e6dbdbecda83e38451f38e2f00619076d2ab
|