Search the archive

14,355 indexed articles, 13,283 of them summarised by us.

Articles
14,355
Research papers
91,965
Models priced
2,249
Providers
163

8 results for “SQLAlchemy”

Newest and most relevant first

Don't sleep on wrapture

Python developers get a free alpha tool that can add unit-test mocking, call recording, timing analysis and OpenTelemetry tracing to live applications without touching any Python code, just a TOML config file.

Wrapture is a free Python tool released on August 31st that can temporarily swap parts of a running program for testing or watching what the program does, a technique called monkey patching. It can record every function call, trace slow code, and send timing data to standard monitoring systems. Python programmers who build, test or debug software can use it, though it is still alpha software.

Graham Dumpleton, the creator of a popular Python web-hosting tool, has released wrapture, an open-source alpha library for instrumenting and testing Python applications. The main draw for teams is zero-code operation: tracing is configured in a TOML file rather than by editing code, lowering adoption risk. It ships with a companion package covering major Python frameworks and exports to OpenTelemetry, a common industry standard, so it could complement or compete with existing paid monitoring setups.

Wrapture is a monkey patching library supporting both unittest.mock-style test mocking and New Relic-style observability. It records call timelines as trees, supports phased behaviour across multiple calls, and can patch attributes, dictionaries and generators as well as callables. Zero-code tracing is configured via TOML, and the companion wrapture-instrumentation package instruments flask, django, fastapi, grpc, httpx, sqlalchemy and roughly 15 other libraries. Traces export to OpenTelemetry; it remains in alpha.

Simon Willison’s Weblog →

alchemy-utils 0.1a1

Engineers who use Simon Willison's alchemy-utils to move data between SQLite, DuckDB and CSV files get faster imports and exports in version 0.1a1, though the release itself is an early alpha with details only in a linked post.

Simon Willison released version 0.1a1 of alchemy-utils, a small software tool. This early test version makes two common tasks faster: exporting data to DuckDB, a database built for fast analysis, and importing CSV files, which are simple spreadsheet-style text files. It matters mainly to programmers who use his tooling; the blog post itself gives no numbers, with details in a separate linked article.

Simon Willison's alchemy-utils has a 0.1a1 alpha release focused on performance for DuckDB exports and CSV imports. There is no business cost, competitive shift or risk here; it is a minor developer tooling update. Only teams already using this utility gain, and they must consult the linked post for specifics, which this announcement omits.

alchemy-utils 0.1a1 is out on GitHub as a pre-release. The stated change is a performance improvement for DuckDB exports and CSV imports, with details deferred to Willison's August 12 companion post. No benchmark figures, architecture notes, dependencies or limitations are given in this announcement, and the 0.1a1 tag marks it as an alpha.

Simon Willison’s Weblog →

alchemy-utils 0.1a0

Simon Willison's sqlite-utils CLI now has a database-agnostic SQLAlchemy-backed equivalent usable today against PostgreSQL, SQLite and DuckDB.

Simon Willison released the first test version (0.1a0) of a tool called alchemy-utils. It lets you work with databases using simple commands, just like his popular sqlite-utils tool, but it works with many kinds of databases instead of only one. He built most of it by asking OpenAI's Codex coding agent, using the model called GPT-5.6 Sol Ultra, in a single morning.

This is a niche developer tool release with no commercial stakes. Simon Willison shipped alchemy-utils 0.1a0, an alpha built largely by the Codex agent using GPT-5.6 Sol Ultra in one morning with few follow-up prompts. The practical signal for decision-makers is that agentic coding now produces a releasable, tested library prototype in hours. No pricing, adoption numbers or business impact are given.

alchemy-utils 0.1a0 ports sqlite-utils' core API (insert, upsert, insert_all, upsert_all, create, update, table introspection) onto SQLAlchemy for multi-engine support, tested against PostgreSQL, SQLite and DuckDB with pytest in red/green TDD. Installable via uvx with optional extras like alchemy-utils[postgresql] or [duckdb]. A CSV-to-DuckDB load of San Francisco's street tree list was slow (~1 hour) until Codex optimized it to ~35 seconds. Limitations: alpha release, no stated API stability.

Simon Willison’s Weblog →

Full Stack FastAPI Template: FastAPI, React, PostgreSQL, Docker, all wired up

Developers starting a FastAPI and React project can clone tiangolo's maintained full-stack template today and skip days of wiring auth, database migrations, and Docker themselves.

A free, ready-made starting point for building web applications is available on GitHub, created by tiangolo, the person who made FastAPI, a popular tool for building website backends. It combines a Python backend, a React interface built with TypeScript, a PostgreSQL database, and Docker packaging, all connected and runnable with one command. It includes login features with password reset, database migration setup, and automated documentation. Anyone starting a web project, from business tools to hobby apps, can use it immediately.

The Full Stack FastAPI Template, maintained by FastAPI's creator tiangolo, offers teams a production-grade starting stack, FastAPI, React, PostgreSQL, Docker, with JWT authentication and GitHub Actions CI/CD already wired. It is free and open source under active maintenance, reducing time-to-first-feature for new SaaS or internal tools. The trade-off: it is opinionated, so teams wanting unconventional architecture will need to override its patterns. No licensing costs or support terms are mentioned.

The template wires FastAPI with async SQLAlchemy sessions and Pydantic models, a Vite-based React TypeScript frontend, PostgreSQL with Alembic migrations that run on first startup, and Docker Compose orchestration. JWT-based auth covers login, signup, and password reset; CORS and environment variable handling are preconfigured. Backend and frontend are fully decoupled, so either layer can be swapped. Swagger docs are served at /docs; backend on port 8000, frontend on 5173. No benchmark figures are given.

GitHub Opensource Projects →

Sqladmin

Flask developers get a maintained, SQLAlchemy-native alternative to Flask-Admin for inspecting and editing database data without building a custom admin panel.

Sqladmin is an open-source admin panel for web apps built with Flask, a popular Python web framework, and SQLAlchemy, the tool those apps use to talk to databases. It gives developers a ready-made interface to view, search and edit their database records instead of writing that interface by hand. It is presented as a stronger alternative to Flask-Admin, the existing default choice. No pricing, adoption figures or version details are given.

Sqladmin is a free, open-source admin panel library for Python teams using Flask and SQLAlchemy, positioning itself against Flask-Admin, which the author calls mediocre. The gain is faster internal tooling: teams can inspect and edit application data without building a custom admin UI. Risk is low since it is optional tooling. No funding, licensing terms, maintenance history or enterprise support details are stated.

Sqladmin provides an administrative interface for Flask applications built on SQLAlchemy models, exposing data inspection and editing without custom code. The article frames it as a replacement for Flask-Admin, which it describes as 'fine' but flawed. It is hosted on GitHub under aminalaee/sqladmin. No version numbers, benchmarks, feature lists or compatibility details are provided in the source text.

GitHub Opensource Projects →

FastAPI meets Java-style three-tier architecture in this open-source backend template

Python developers building FastAPI backends can now clone a ready-made three-tier architecture template instead of inventing their own project structure.

A free, open-source project called fastapi_best_architecture gives Python web developers a pre-built blueprint for organizing their backend code. It borrows the layered structure, separate layers for handling web requests, business logic, and database access, that Java's Spring Boot framework made popular. This makes code easier to test and maintain as projects grow. It mainly affects Python developers starting medium-to-large web projects, and Java developers moving to Python.

fastapi_best_architecture is a free open-source template for teams building backend services in FastAPI, a popular Python web framework. It enforces a Java-style layered structure, which reduces the maintenance and onboarding costs that typically plague fast-growing Python projects. Teams can clone it and deploy immediately with Docker Compose, Alembic migrations, and Swagger docs at localhost:8000. The trade-off is added structure overhead for small APIs that don't need it.

fastapi_best_architecture implements a Controller → Service → Repository three-tier pattern on FastAPI, following Spring Boot naming conventions like UserService and UserRepository. Layers are decoupled via Pydantic validation and dependency injection, enabling isolated unit testing with mocked repositories. It is fully async through FastAPI and SQLAlchemy, and ships with Docker Compose, Alembic migrations, middleware, logging, and pre-built exception handlers. The article gives no performance benchmarks or production deployment case studies.

GitHub Opensource Projects →

SQLModel combines Pydantic and SQLAlchemy to cut code duplication.

Python developers can stop maintaining duplicate Pydantic and SQLAlchemy model classes by using SQLModel, written once by the FastAPI creator.

SQLModel is a free Python library from the creator of FastAPI, a popular web framework. When building web apps, programmers traditionally write one copy of their data definitions for validation and a nearly identical copy for the database. SQLModel merges both into a single definition, so changing a field in one place updates everywhere. The article gives no version number, release date, or adoption figures.

SQLModel, by FastAPI creator Sebastián Ramírez's ecosystem, removes duplicated data-model code that slows Python web development teams. It suits roughly 90% of web applications, the article claims, especially FastAPI-based ones, but not complex database setups. There are no costs, licensing details, benchmarks, or version numbers given, it is a promotional explainer for an existing open-source library.

SQLModel unifies Pydantic validation and SQLAlchemy ORM at the class level: one SQLModel subclass serves as both request/response schema and database table via the table=True flag (default table=False gives plain validation models). It ships Session and select helpers, works directly as FastAPI request bodies, and offers full IDE type support. Limitation: it won't replace SQLAlchemy for complex database configurations.

GitHub Opensource Projects →

Vibe Coding CN, A Structured AI Coding Methodology

Developers using AI code generators get a free, reusable set of structured prompt templates and anti-patterns that reduce the common failure mode of unreviewable, buggy AI-generated code.

Vibe Coding CN is a free collection of files on GitHub, not a piece of software, that gives people a step-by-step method for working with AI code generators like GPT-4, Claude, or Gemini. 'Vibe coding' is the practice of describing software you want and letting an AI write it, which produces fast results but messy, hard-to-debug output. The templates break the work into sequenced steps: define the task, generate a starting version, improve it, then check for security and naming problems. It mostly contains Chinese-language prompts, but the method works with any language.

For teams already paying for AI coding assistants, this is a zero-cost process improvement: clone the GitHub repo (2025Emma/vibe-coding-cn), read Markdown prompt templates, and paste them into whatever AI tool you use. There are no API keys, installation steps or vendor lock-in, so switching costs are minimal. It won't replace engineering skills, but it targets the expensive cycle of accepting hundreds of lines of AI-generated code that almost works. No adoption figures, pricing or benchmark data are given.

The repo is a set of Markdown prompt templates implementing structured prompt chains: clarify intent, generate scaffold (e.g. Flask routes with SQLAlchemy models), iterate (add pagination), then validate for security and naming consistency. Each step includes context injection points and validation criteria, plus anti-pattern prompts such as banning mid-session schema redesigns or unspecified error handling. Prompts are Chinese-language but methodology-agnostic. No benchmark numbers, user metrics or evaluations of effectiveness are provided.

GitHub Opensource Projects →