Metadata-Version: 2.4
Name: sedonadb
Version: 0.3.0
Classifier: Programming Language :: Rust
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Dist: adbc-driver-manager[dbapi] ; extra == 'geopandas'
Requires-Dist: geoarrow-pyarrow ; extra == 'geopandas'
Requires-Dist: geopandas ; extra == 'geopandas'
Requires-Dist: adbc-driver-manager[dbapi] ; extra == 'test'
Requires-Dist: adbc-driver-postgresql ; extra == 'test'
Requires-Dist: datafusion ; extra == 'test'
Requires-Dist: duckdb ; extra == 'test'
Requires-Dist: geoarrow-pyarrow ; extra == 'test'
Requires-Dist: geopandas ; extra == 'test'
Requires-Dist: pandas ; extra == 'test'
Requires-Dist: polars ; extra == 'test'
Requires-Dist: pytest ; extra == 'test'
Provides-Extra: geopandas
Provides-Extra: test
Requires-Python: >=3.9
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM

<!---
  Licensed to the Apache Software Foundation (ASF) under one
  or more contributor license agreements.  See the NOTICE file
  distributed with this work for additional information
  regarding copyright ownership.  The ASF licenses this file
  to you under the Apache License, Version 2.0 (the
  "License"); you may not use this file except in compliance
  with the License.  You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing,
  software distributed under the License is distributed on an
  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  KIND, either express or implied.  See the License for the
  specific language governing permissions and limitations
  under the License.
-->

# SedonaDB Python

This package is a Python interface to [SedonaDB](https://sedona.apache.org/sedonadb).

## Installation

SedonaDB for Python can be installed from [PyPI](https://pypi.org):

```shell
pip install "apache-sedona[db]"
```

## Example

```python
import sedona.db

sd = sedona.db.connect()
sd.options.interactive = True

url = "https://raw.githubusercontent.com/geoarrow/geoarrow-data/v0.2.0/natural-earth/files/natural-earth_cities_geo.parquet"
sd.read_parquet(url).head(5)
```

