r/Python • • 23d ago

Showcase Showcase Thread

Post all of your code/projects/showcases/AI slop here.

Recycles once a month.

28 Upvotes

166 comments sorted by

View all comments

1

u/Signadot 7d ago

Hey folks, we just published a tutorial with a FastAPI and httpx example for testing changed Dapr services on a shared cluster. Might be helpful to anyone running Python services on Dapr.

What My Project Does

Three FastAPI services and an adapter that send Dapr service invocation and pub/sub to a test copy of one service while everything else uses the stable services. It talks to the sidecar's HTTP API directly, no Dapr SDK.

Target Audience

Python developers on Dapr 1.18 who want to test one changed service before merge. An example to copy, not a PyPI library. It covers HTTP service invocation and Redis Streams only.

Comparison

Instead of a full stack or a broker per environment, it deploys only the changed service and shares one Redis. The adapter and subscriber guard are plain Python and Dapr. Signadot runs the test copies and answers which copy owns a request.

Hope it helps. Happy to answer any questions. Full transparency, I work for Signadot.

Source: https://github.com/signadot/examples/tree/main/dapr-tutorial

Write-up: https://www.signadot.com/docs/tutorials/testing-dapr-services