Skip to main content

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]

PyPI version

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


Download files

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

Source Distribution

dandavison_temporalio_server-0.1.11.tar.gz (7.9 kB view details)

Uploaded Source

Built Distributions

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

dandavison_temporalio_server-0.1.11-cp313-cp313-win_amd64.whl (31.6 MB view details)

Uploaded CPython 3.13Windows x86-64

dandavison_temporalio_server-0.1.11-cp313-cp313-macosx_14_0_arm64.whl (30.4 MB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

dandavison_temporalio_server-0.1.11-cp313-cp313-macosx_13_0_x86_64.whl (31.6 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

File details

Details for the file dandavison_temporalio_server-0.1.11.tar.gz.

File metadata

File hashes

Hashes for dandavison_temporalio_server-0.1.11.tar.gz
Algorithm Hash digest
SHA256 802847a04c3bc2a16caa141e5f29da3e75f8e915b07393fa625094f5363e04b0
MD5 64368447c17e2a04609f65b25ff2c8bb
BLAKE2b-256 36f2ee31a0048dac93bdc46d3ee1ed2310a283549a8132ca94640cd1c129fe9b

See more details on using hashes here.

File details

Details for the file dandavison_temporalio_server-0.1.11-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for dandavison_temporalio_server-0.1.11-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 e7666ab531eb1a516fe67d17819f03b42ddd98b139381c7dc7e2ba3cd3d3b8ca
MD5 b5579a831f6c9bc007934ad8dc653a47
BLAKE2b-256 af1e2bd4ef31f3ad11a2759fb94bd8d9337c201a6c39adfaf6d99968e5a13cc7

See more details on using hashes here.

File details

Details for the file dandavison_temporalio_server-0.1.11-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for dandavison_temporalio_server-0.1.11-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 98180f09779400114e1860fc68c07c41b0fbe2eb35a4848f0b42c30e8cf55ff7
MD5 94396c23163d455aae02954eb16c957a
BLAKE2b-256 3eacad36e78b3748e0363e90da4a9444ec1008351bcdf554fcf0b37f0db52630

See more details on using hashes here.

File details

Details for the file dandavison_temporalio_server-0.1.11-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for dandavison_temporalio_server-0.1.11-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 afd65d831546cd5861c7838da372d581ebca941fcfe20f1a155afe173eb28536
MD5 1fd22c13da1197950471316263423e97
BLAKE2b-256 5d35811688fe5ab7b779b4a19017ae417c7dd922d5057d8cfe68973ebd00cc90

See more details on using hashes here.

Supported by

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