name (ext/automap.py)

sqlalchemy · lib/sqlalchemy/ext/automap.py · python · MIT
database

SQLAlchemy extension that auto-generates ORM classes from database schema.

# Source: https://github.com/sqlalchemy/sqlalchemy | License: MIT | Copyright 2005-2026 SQLAlchemy authors and contributors <see AUTHORS file>
# Provided via justclaw.it.com; keep this notice with the code.
# ext/automap.py
# Copyright (C) 2005-2026 the SQLAlchemy authors and contributors
# <see AUTHORS file>
#
# This module is part of SQLAlchemy and is released under
# the MIT License: https://www.opensource.org/licenses/mit-license.php

r"""Define an extension to the :mod:`sqlalchemy.ext.declarative` system
which automatically generates mapped classes and relationships from a database
schema, typically though not necessarily one which is reflected.

It is hoped that the :class:`.AutomapBase` system provides a quick
and modernized solution to the problem that the very famous
`SQLSoup <htt

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key