Skip to main content

diesel is a framework for easily writing reliable and scalable network applications in Python. It uses the greenlet library layered atop asynchronous socket I/O in Python to achieve benefits of both the threaded-style (linear, blocking-ish code flow) and evented-style (no locking, low overhead per connection) concurrency paradigms. It’s design is heavily inspired by the Erlang/OTP platform.

It contains high-quality buffering, queuing and synchronization primitives, procedure supervision and supervision trees, connection pools, seamless thread integration, and more.

An HTTP/1.1+WSGI+WebSockets implementation is included, as well as tight integration with the Flask web framework.

Other bundled protocols include MongoDB, Riak, and Redis client libraries.

Release history Release notifications | RSS feed

3.0.24

1 file

3.0.23

This release

3.0.16 This release

3.0.5

1 file

2.1.1

1 file

2.1.0

1 file

2.0.0

0.9.1b

0.9.0b

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page