Skip to content
All tool news

Tool desk · Updated daily

Tool news·Supabase·

Supabase Adds Python Type Generation to CLI for Automated Database Schema Types.

Supabase now auto-generates Python types from database schemas via CLI, streamlining development workflows for Python developers.

CW

Create With tool desk

1 source checked · 2 min read · 4 sections

ShareLinkedIn
Supabase Adds Python Type Generation to CLI for Automated Database Schema Types

Python Developers Get Native Type Generation

Supabase has added Python type generation to its command-line interface, allowing developers to automatically generate type definitions directly from their database schemas. The feature, announced on LinkedIn, extends the platform's existing type generation capabilities beyond TypeScript to support Python workflows.

The update addresses a common pain point for Python developers working with Postgres databases: maintaining type safety between database schemas and application code. Rather than manually writing type definitions or relying on dynamic typing, developers can now generate Python types with a single CLI command.

How It Works

The Python type generation feature integrates into Supabase's existing CLI tooling. Developers run a command that introspects their Postgres schema and outputs Python type definitions, including classes for tables, type hints for columns, and proper handling of nullable fields and relationships.

This capability mirrors what Supabase already offers for TypeScript developers but adapts the output for Python's type system, including support for libraries like Pydantic that are commonly used in FastAPI and data validation workflows. The generated types can be immediately imported into Python projects, providing autocomplete and type checking in modern IDEs.

For teams building with FastAPI, Django, or Flask, this eliminates manual synchronization between database changes and Python models.

Positioning in the Developer Toolchain

The addition comes as Supabase continues expanding its developer experience features. Earlier this year, the platform released a 30-rule plugin to help AI coding assistants generate better Postgres code, and added visual query analysis tools with EXPLAIN diagrams to help developers optimize database performance.

Python Type Generation CLI interface
Python Type Generation CLI interface

Python type generation sits alongside other CLI capabilities in Supabase's toolkit, which already handles database migrations, Edge Functions deployment, and local development environments. The feature works with both hosted Supabase projects and self-hosted instances running the open-source stack.

What This Means for Python Developers

Type generation reduces boilerplate and catches errors earlier in the development cycle. When a database column changes from nullable to required, or a new table gets added, developers can regenerate types and immediately see where their code needs updates, rather than discovering issues at runtime.

The feature particularly benefits teams using AI coding tools like Cursor or Windsurf, which rely on accurate type information to generate better code suggestions. With proper types in place, these tools can autocomplete database queries and catch potential errors before code reaches production.

Supabase has not yet published detailed documentation for the Python type generation feature, but developers can access it through the latest version of the Supabase CLI. The company continues to position itself as a developer-first alternative to Firebase, with Postgres as the foundation rather than a proprietary NoSQL database.

Sources

1 checked

How we cover tool news: Create With's tool desk drafts these reports with AI from the sources listed above and checks them against those sources before publishing.

Worth passing on?

ShareLinkedIn

Go deeper on Supabase

Related reading, watching and going.

Everything on Supabase →

The briefing

30 Sept 2026

Solo Consultant's AI Operating System Built on Markdown

London solo consultant uses an AI personal OS of markdown files—saving ~45% delivery time, boosting revenue 2.4×, and powering 33 community events for ~£250/mo.

Read →

The briefing

15 Sept 2026

€300k Business on 4 Hours/Week with AI — Case Study

Read how a one-man Dutch company scaled to €300k/yr and runs on 4 hours/week by rebuilding ops with Claude Code. Submit your AI case study to be featured.

Read →

The briefing

8 Sept 2026

How We Made 600 Branded Videos with AI & Remotion Workflow

See how Create With made 600 branded videos using Claude Code + Remotion. Template-driven brand-folder workflow for consistent social ads and event content.

Read →
36 min

Podcast

55. We're Back! Conference Recap, Running Events with AI & Self-Healing Apps

James and Kieran return to the Create With Podcast after their summer break to recap the 2026 Create With Conference in Brighton. They discuss how 550 attendees experienced workshops, a charity hackathon where functional apps were built in 30 minutes, and an innovative conference operating system built entirely with AI. The episode covers the latest developments in AI development tools including Anthropic's Fable model, scheduled tasks in Codex, and self-healing applications using PostHog.

Watch now ↗
34 min

Podcast

My Daughter Built a Website Business, Claude Design First Look & Going All-In on Cloudflare

James and Kieran discuss practical AI-powered development through real-world examples, including a seven-year-old building a website business with Claude Code voice mode, Anthropic's new Claude Design tool, API security challenges in the AI agent era, and Cloudflare's expanding AI infrastructure offerings. The episode covers hands-on experiences with vibe coding, emerging design tools, and the evolving landscape of AI-assisted development.

Watch now ↗

Podcast

53. Why Your Vibe Code Needs Tests, Ditching SaaS & AI Agents That Work While You Sleep

James and Kieran discuss the practical realities of building AI-powered software, emphasizing the importance of testing in vibe-coded applications, exploring alternatives to traditional SaaS tools, and implementing autonomous AI agents for business operations. The episode covers technical topics like Convex databases, app store bottlenecks from AI-generated submissions, and using OpenClaw as a marketing automation agent.

Watch now ↗

Latest tool news

What else changed this week.

All tool news
v0Roundup

Team Collaboration Expands with v0 for Teams

Team collaboration features have arrived across Airtable, v0 and Notion. The updates cover three different parts of shared work: controlling who can add or delete database…

The Create With Briefing

Don't watch forty changelogs. Read one email.

Every Tuesday: the tool changes worth knowing, real business use cases, and what's on near you. Free, unsubscribe any time.