sqlalchemy.engine create_engine Example Code

create_engine is a callable within the sqlalchemy.engine module of the SQLAlchemy project.

Connection, Engine, default, and url are several other callables with code examples from the same sqlalchemy.engine package.

Example 1 from PyHive

PyHive (PyPI package information) is a set of DB-API and SQLAlchemy interfaces that make it easier to use Presto and Apache Hive with Python. Dropbox's engineering team created this code library, open sourced it and put it out under the Apache 2.0 license.

PyHive / pyhive / tests / test_sqlalchemy_hive.py

Example 2 from sqlacodegen

sqlacodegen (PyPI package information) is a tool for reading from an existing relational database to generate code to create SQLAlchemy models based on that database. The project is primarily written and maintained by Alex Grönholm (agronholm) and it is open sourced under the MIT license.

sqlacodegen / sqlacodegen / main.py

Example 3 from sqlalchemy-clickhouse

sqlalchemy-clickhouse is a SQLAlchemy Dialect for communicating with the open source ClickHouse database management system. ClickHouse is column-oriented and therefore better for some use cases and worse for others compared to a traditional relational database.

The code for this project is open sourced under the MIT license while ClickHouse is provided as open source under the Apache License 2.0.

sqlalchemy-clickhouse / example.py