samples-python
sdk-python


samples-python | sdk-python | |
---|---|---|
3 | 8 | |
150 | 495 | |
3.3% | 1.8% | |
7.3 | 8.8 | |
7 days ago | 5 days ago | |
Python | Python | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
samples-python
-
Temporal Python – A Durable, Distributed Asyncio Event Loop
Yes, it has undergone revisions since which caused function name mismatch (we will fix). The execute_activity there uses start_to_close_timeout which is per attempt and will retry forever by default (customizable).
This is more of a primer than an explanation of all Temporal concepts in depth. Definitely would recommend reading the fundamental docs at https://docs.temporal.io/encyclopedia/. For more exact samples, see https://github.com/temporalio/samples-python.
-
Python SDK: Your First Application
In previous posts my colleagues dug into why we built the Python SDK, workers and workflows, but what does that look like in practice? Maybe you’re the type of person who has read the articles, perused the Developer’s Guide, taken a look at the Python SDK sample apps, and thought, “This is too much!”
-
Python SDK: The Release
Just like any other Python app, you can have an entire application in a single file, and there is a great “hello world”-esque example in our samples repo: hello_activity.py.
sdk-python
-
The Many Problems with Celery
My problem with Temporal is that it doesn't support gevent https://github.com/temporalio/sdk-python/issues/59
-
Pydantic V2 rewritten in Rust is 5-50x faster than Pydantic V1
> Unless Pydantic is downloading all OS binaries with the package and loading the right one at runtime, this would become a "problem" as well.
Nah, it's not that bad. I built a Rust-backed Python library used by many [0], and with setuptools-rust (maturin wasn't flexible enough at the time) and cibuildwheel and GH actions, the wheels are built/shipped with the shared libraries embedded and the end user never has to worry or even be aware of its presence.
Pydantic has already been shipping a binary mode with an option for pure Python, so maybe they'll keep the pure Python mode around.
0 - https://github.com/temporalio/sdk-python
-
Python SDK: The Release
Either way, let us know how it goes! Building something cool? We’d love to hear about it! Our forum has a new Show & Tell section. If you want to share, we’ll send you some sweet swag. Have feedback on how we can do better? We want to know that too. Raise an issue in the SDK or samples repos, or send us an email ([email protected]).
-
Making Python fast for free – adventures with mypyc
We built to logic backing the Temporal Python SDK[0] in Rust and leverage PyO3. Unfortunately Maturin didn't let us do some of the advanced things we needed to do for wheel creation (at the time, unsure now), so we use setuptools-rust with Poetry.
0 - https://github.com/temporalio/sdk-python
- GitHub - temporalio/sdk-python: Temporal Python SDK
- Temporal Python SDK Beta 2 – Fault-tolerant asyncio-based workflows
-
Red Engine – modern scheduling framework for Python applications
Going to shamelessly plug Temporal’s Python SDK which was designed for asyncio.
https://github.com/temporalio/sdk-python
Disclaimer: I work for Temporal
-
Temporal raises $100M Series B to invest in open source and communities
hey sorry for taking a while to respond, was busy with personal stuff and hope you see this.
1. yes. its on the order of months. start watching https://github.com/temporalio/sdk-python
2. temporal itself will not produce something like that, because we much rather have a lively community of third party maintainers/startups do that and be their supporters rather than competitors. interested?
What are some alternatives?
learn-temporal-python-SDK - Build a poker game that demonstrates the value of Temporal and helps me get to know the PythonSDK
sdk-java - Temporal Java SDK
temporal-large-payload-codec - HTTP service and accompanying Temporal Payload Codec which allows Temporal clients to automatically persist large payloads outside of workflow histories.
saq - Simple Async Queues
temporalite-archived - An experimental distribution of Temporal that runs as a single process
sdk-java - The official Java library for the Modzy Machine Learning Operations (MLOps) Platform
arq - Fast job queuing and RPC in python with asyncio and redis.
matrix-mul-test - Testing matmul performance on the M1 Mac
shiv - shiv is a command line utility for building fully self contained Python zipapps as outlined in PEP 441, but with all their dependencies included.
cupy - NumPy & SciPy for GPU
rq - Simple job queues for Python

