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.9.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.9-cp313-cp313-win_amd64.whl (31.6 MB view details)

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13macOS 14.0+ ARM64

dandavison_temporalio_server-0.1.9-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.9.tar.gz.

File metadata

File hashes

Hashes for dandavison_temporalio_server-0.1.9.tar.gz
Algorithm Hash digest
SHA256 d162f3f8739625cb4f1636931cbe4e152b481ba6087435622857e2bf4225f6bb
MD5 4d10c8d8a36278e1457d37d7fcb5f987
BLAKE2b-256 a1fcdd38cbabf38ee8115de6cd75967882f47fa213d873ca9f22a6278252c74d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dandavison_temporalio_server-0.1.9-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 ddcdf3b52ac37ff7f896d5c3709e17ef59625c43976f9bba80b08b0a4a95b0ed
MD5 13e38042623985dcf9dc1fff44742b2c
BLAKE2b-256 9b39cec3157c77d3fe946b461adf1edebe246b3971560c8e0061575934a42877

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dandavison_temporalio_server-0.1.9-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 09797b426db5ebcec81dc807a2460af46306d182fc0e4c0ed7469d8262c60eaa
MD5 10894d6c23541e816b21916aa02ee12c
BLAKE2b-256 23886e1089c3bfe7d4e6c26e6332206f744db3c2658890c80cc9fdc07a350eb3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dandavison_temporalio_server-0.1.9-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 50ecc058bd4f023a3c7c4084404374e4492b9563bb048b41590e5d892fcb6c45
MD5 d71497848447643886ea5f0ed74e8abf
BLAKE2b-256 92a53874012ba72d4ae0ae4e91cf6bfd46b6d46eba9c6fecff01d41d105697c7

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