Metadata-Version: 2.4
Name: rustac-duckdb-extensions
Version: 1.5.1.post0
Summary: Pre-built DuckDB extensions for rustac
Project-URL: Repository, https://github.com/stac-utils/rustac-py
Author-email: Pete Gadomski <pete.gadomski@gmail.com>
Keywords: duckdb,geospatial,stac
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: Apache Software License
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Typing :: Typed
Requires-Python: >=3.11
Description-Content-Type: text/markdown

# rustac-duckdb-extensions

Pre-built [DuckDB](https://duckdb.org/) extensions for [rustac](https://github.com/stac-utils/rustac-py).

This package bundles the **spatial**, **icu**, and **parquet** DuckDB extensions so that rustac can use them without downloading extensions at runtime.

## Usage

```python
import rustac_duckdb_extensions

path = rustac_duckdb_extensions.extension_directory()
```

## Building wheels locally

Install the build dependencies, then run the build script with a DuckDB platform target:

```shell
pip install hatchling wheel
cd duckdb-extensions/scripts
python build_wheel.py osx_arm64
```

Available platforms: `linux_amd64`, `linux_arm64`, `osx_amd64`, `osx_arm64`.

The built wheel will be in `duckdb-extensions/dist/`.
