Pip-installable DuckDB httpfs extension for reading/writing remote files via HTTP(S) and S3. Version 1.5.1 is the latest, compatible with DuckDB 1.5.1. Releases track DuckDB versions. Development is active.
pip install duckdb-extension-httpfs==1.5.1Verified import paths — ran on the pinned version, not inferred.
Load the httpfs extension and query S3 data. Replace ACCESS_KEY/SECRET_KEY with your credentials.
Upgrade to Python 3.9+ or use duckdb-extension-httpfs==1.3.2 for Python 3.8 support.
Use the same DuckDB and duckdb-extension-httpfs version (e.g., both 1.5.1).
Use duckdb.load_extension('httpfs') after importing duckdb.Set S3 configuration via SET s3_access_key_id = '...'; SET s3_secret_access_key = '...'; SET s3_region = '...'; in the session.