<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/inngest-python-sdk-durable-background-jobs-for-fastapi-flask-and-django-4lystu6sp" -->

---
title: Inngest Python SDK: Durable Background Jobs for FastAPI,...
description: Inngest's Python SDK now supports FastAPI, Flask, Django, Tornado, and DigitalOcean Functions, letting developers add durable, event-driven background jobs...
canonical: https://daily.dev/posts/inngest-python-sdk-durable-background-jobs-for-fastapi-flask-and-django-4lystu6sp
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Inngest Python SDK: Durable Background Jobs for FastAPI, Flask, and Django | daily.dev
og:description: Inngest's Python SDK now supports FastAPI, Flask, Django, Tornado, and DigitalOcean Functions, letting developers add durable, event-driven background jobs...
og:url: https://daily.dev/posts/inngest-python-sdk-durable-background-jobs-for-fastapi-flask-and-django-4lystu6sp
og:image: https://api.daily.dev/og/posts/4lysTU6sp.png
og:image:alt: Inngest Python SDK: Durable Background Jobs for FastAPI, Flask, and Django
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Inngest Python SDK: Durable Background Jobs for FastAPI, Flask, and Django

**[Inngest Blog](https://daily.dev/sources/inngest)** · 13 min read · 0 upvotes · 0 comments

## Summary

Inngest's Python SDK now supports FastAPI, Flask, Django, Tornado, and DigitalOcean Functions, letting developers add durable, event-driven background jobs directly into an existing web app without a separate worker process, message broker, or Redis. It provides step-level durability, automatic retries, sleep/wait primitives, concurrency and rate-limit controls, cron scheduling, and a visual run explorer, positioned as an alternative to Celery and ARQ. The piece covers installation, code examples for each framework, a feature comparison table, use-case guidance, and an FAQ addressing Redis dependency, sync/async support, serverless compatibility, testing, redeploys, payload limits, and Pydantic support.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.inngest.com/blog/inngest-python-sdk-durable-background-jobs-for-fastapi-flask-and-django>

## Questions this post answers

### Do I need Redis or a message broker to use Inngest with Python?

No, Redis or a message broker is not required to use Inngest with Python. Inngest has no dependency on Redis, RabbitMQ, or any broker; its cloud platform handles message delivery and state while the Python app only needs to expose an HTTP endpoint. This is a key reason teams migrate away from Celery-based setups.

_Comparing broker-based queues versus durable execution for Python jobs is easier with sources tracked on daily.dev._

### What happens to in-flight Inngest function runs if I redeploy my Python app?

In-flight function runs resume from the last completed step once the new deployment is live. Step results are stored in Inngest's platform rather than the app's memory, so a rolling restart or redeploy does not lose progress, and functions mid-sleep wake up and call back into the new deployment.

_Developers planning zero-downtime deploys for background jobs can follow this kind of detail on daily.dev._

### What is the maximum event payload size when using Inngest?

Event payload size is plan-dependent: 256KiB on the Free tier, 512KiB on Basic, 3MiB on Pro, and custom limits on Enterprise. For larger data such as images, documents, or bulk records, the recommended approach is to store the data in S3 or a database and pass a reference ID in the event payload, letting steps fetch the full data as needed.

_Teams sizing event payloads for production workloads can keep tabs on platform limits via daily.dev._

## Similar posts on daily.dev

- [Official FastAPI Redis SDK announcement](https://daily.dev/posts/official-fastapi-redis-sdk-announcement-6oowkdxzg) · Redis · 0 upvotes · 0 comments
- [Hire Python Developer: Build Scalable Products Faster with Expert Skills](https://daily.dev/posts/hire-python-developer-build-scalable-products-faster-with-expert-skills-a38hxbuyy) · Medium · 0 upvotes · 0 comments
- [Django Tasks: Exploring the Built-in Tasks Framework – Real Python](https://daily.dev/posts/django-tasks-exploring-the-built-in-tasks-framework-real-python-gmi4mdmah) · Real Python · 0 upvotes · 0 comments
- [A first look at Django's new background tasks](https://daily.dev/posts/a-first-look-at-django-s-new-background-tasks-2si7cud6g) · Hacker News · 2 upvotes · 0 comments
- [Cloudflare Workflows Adds Python Support for Durable AI Pipelines](https://daily.dev/posts/cloudflare-workflows-adds-python-support-for-durable-ai-pipelines-7kkgpybvz) · InfoQ · 0 upvotes · 0 comments

---

Tags: [#celery](https://daily.dev/tags/celery), [#fastapi](https://daily.dev/tags/fastapi), [#inngest](https://daily.dev/tags/inngest), [#python](https://daily.dev/tags/python)

[View this post on daily.dev](https://daily.dev/posts/inngest-python-sdk-durable-background-jobs-for-fastapi-flask-and-django-4lystu6sp)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Inngest Python SDK: Durable Background Jobs for FastAPI, Flask, and Django","url":"https://daily.dev/posts/inngest-python-sdk-durable-background-jobs-for-fastapi-flask-and-django-4lystu6sp","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/inngest-python-sdk-durable-background-jobs-for-fastapi-flask-and-django-4lystu6sp"},"datePublished":"2026-09-13T19:57:23.861Z","dateModified":"2026-10-15T02:22:41.721Z","description":"Inngest's Python SDK now supports FastAPI, Flask, Django, Tornado, and DigitalOcean Functions, letting developers add durable, event-driven background jobs...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/d80e680b5aeae3bbc633a9cbb4de0a16?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/d80e680b5aeae3bbc633a9cbb4de0a16?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Inngest Blog","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Inngest Blog","logo":"https://media.daily.dev/image/upload/s--ieZKUa5y--/c_limit,w_256/f_auto,q_auto/v1789329423/logos/inngest?_a=BAMAMicg0","url":"https://daily.dev/sources/inngest"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/inngest-python-sdk-durable-background-jobs-for-fastapi-flask-and-django-4lystu6sp","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"celery,fastapi,inngest,python","timeRequired":"PT13M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Inngest Blog","item":"https://daily.dev/sources/inngest"},{"@type":"ListItem","position":3,"name":"Inngest Python SDK: Durable Background Jobs for FastAPI, Flask, and Django"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/inngest-python-sdk-durable-background-jobs-for-fastapi-flask-and-django-4lystu6sp#faq","mainEntity":[{"@type":"Question","name":"Do I need Redis or a message broker to use Inngest with Python?","acceptedAnswer":{"@type":"Answer","text":"No, Redis or a message broker is not required to use Inngest with Python. Inngest has no dependency on Redis, RabbitMQ, or any broker; its cloud platform handles message delivery and state while the Python app only needs to expose an HTTP endpoint. This is a key reason teams migrate away from Celery-based setups. Comparing broker-based queues versus durable execution for Python jobs is easier with sources tracked on daily.dev."}},{"@type":"Question","name":"What happens to in-flight Inngest function runs if I redeploy my Python app?","acceptedAnswer":{"@type":"Answer","text":"In-flight function runs resume from the last completed step once the new deployment is live. Step results are stored in Inngest's platform rather than the app's memory, so a rolling restart or redeploy does not lose progress, and functions mid-sleep wake up and call back into the new deployment. Developers planning zero-downtime deploys for background jobs can follow this kind of detail on daily.dev."}},{"@type":"Question","name":"What is the maximum event payload size when using Inngest?","acceptedAnswer":{"@type":"Answer","text":"Event payload size is plan-dependent: 256KiB on the Free tier, 512KiB on Basic, 3MiB on Pro, and custom limits on Enterprise. For larger data such as images, documents, or bulk records, the recommended approach is to store the data in S3 or a database and pass a reference ID in the event payload, letting steps fetch the full data as needed. Teams sizing event payloads for production workloads can keep tabs on platform limits via daily.dev."}}]}
```

