{"categories":[{"label":"Front-Ends","url":"https://skillfed.io/packages/category/database-front-ends"}],"enrichment":{"capability":"A SQLAlchemy driver that enables you to use DuckDB as a database backend, allowing standard SQLAlchemy ORM and SQL operations against DuckDB instances.","skillfed_tags":["sqlalchemy-dialect","duckdb-integration","analytics-sql"],"use_cases":["Build data analysis pipelines using SQLAlchemy ORM against DuckDB for fast in-memory or persistent queries","Query pandas DataFrames registered with DuckDB using standard SQL through SQLAlchemy","Prototype or migrate applications from PostgreSQL to DuckDB by swapping the connection string","Run interactive SQL queries in Jupyter notebooks with IPython-SQL and duckdb_engine","Manage database schema evolution with Alembic migrations on DuckDB-backed applications"],"what_it_does":"duckdb_engine is a SQLAlchemy dialect that bridges DuckDB and SQLAlchemy, letting you write standard SQLAlchemy code against DuckDB databases. It works by registering itself as a SQLAlchemy driver, so you can create engines with the duckdb:// URL scheme and use the full ORM and expression language as you would with any other database. The package depends on duckdb, sqlalchemy, and packaging.\n\nThe driver supports both in-memory and file-backed DuckDB instances, pandas DataFrame registration, Alembic migrations, extension preloading, and fsspec filesystem registration. It derives from the PostgreSQL dialect, which means some PostgreSQL-specific features (like SERIAL auto-increment) are not directly supported and require workarounds such as SQLAlchemy Sequence objects. The package is designed for developers who want to use DuckDB's analytical capabilities within a familiar SQLAlchemy interface.","worth_installing":"Yes. The package has low install friction, active maintenance, no known vulnerabilities, and permissive licensing. It is a solid choice if you need SQLAlchemy integration with DuckDB. Be aware of PostgreSQL-derived dialect quirks (e.g., SERIAL not supported, use Sequence instead) and test edge cases involving advanced SQL features."},"id":"duckdb-engine","links":{"html":"https://skillfed.io/packages/duckdb-engine","md":"https://skillfed.io/packages/duckdb-engine.md","pypi":"https://pypi.org/project/duckdb-engine/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-03-29","license_spdx":null,"license_treatment":"permissive","name":"duckdb-engine","python_support":"supports_current","summary":"SQLAlchemy driver for duckdb"},"popularity":{"monthly_downloads":2106368,"position":3292,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.17.0"}
