Skip to content

Commit fc30481

Browse files
authored
chore: Prepare datafusion-python v0.1.0 release (#13)
1 parent 88c5545 commit fc30481

5 files changed

Lines changed: 31 additions & 6 deletions

File tree

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,19 @@
22

33
Spatial extensions for [Apache DataFusion](https://datafusion.apache.org/), an extensible query engine written in Rust that uses Apache Arrow as its in-memory format.
44

5+
## Install
6+
7+
Add to your `Cargo.toml`:
8+
9+
```toml
10+
[dependencies]
11+
datafusion = "50.0"
12+
geodatafusion = "0.1"
13+
```
14+
15+
> `geodatafusion` 0.1 will be published whenever [`datafusion` 50.0 is released](https://github.com/apache/datafusion/issues/16799), which should be by September 17.
16+
17+
518
## Functions supported
619

720
### Geometry Constructors

python/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Changelog
2+
3+
## [0.1.0] - 2025-09-15
4+
5+
- Initial release.

python/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

python/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "geodatafusion-python"
3-
version = "0.1.0-beta.1"
3+
version = "0.1.0"
44
edition = "2024"
55
authors = ["Kyle Barron <kylebarron2@gmail.com>"]
66
description = "Python bindings for geodatafusion, a geospatial extension to DataFusion"

python/README.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
11
# `geodatafusion`
22

3-
Python bindings for `geodatafusion`, providing geospatial UDFs for the
4-
`datafusion` Python package.
3+
Python bindings for `geodatafusion`, providing geospatial extension for the
4+
`datafusion` SQL [query engine](https://github.com/apache/datafusion) and [Python package](https://datafusion.apache.org/python/).
55

6-
### Usage
6+
## Install
77

8-
To use, register the User-Defined Functions (UDFs) provided by `geodatafusion` on your `SessionContext`. The easiest way to do this is via `geodatafusion.register_all`.
8+
```
9+
pip install geodatafusion
10+
```
11+
12+
## Usage
13+
14+
To use, register the User-Defined Functions (UDFs) provided by `geodatafusion` on your `SessionContext`. The easiest way to do this is via `geodatafusion.register_all`. The [top-level Rust README](https://github.com/datafusion-contrib/datafusion-geo) contains a tracker of the UDFs currently implemented.
915

1016
```py
1117
from datafusion import SessionContext
@@ -24,6 +30,7 @@ df.show()
2430
```
2531

2632
prints:
33+
2734
```
2835
+-------------------------------------------+
2936
| st_x(st_geomfromtext(Utf8("POINT(1 2)"))) |

0 commit comments

Comments
 (0)