polars-geojson
A Polars Plugin for GeoJSON IO, built with Rust via pyo3-polars.
Motivation: Converting of DataFrames with GeoJSON-compatible geometry columns to GeoJSON Feature Collections, for Map Plotting.
Features:
- Expression for converting WKB (Well-Known Binary) Geometry Columns to GeoJSON
- DataFrame Iterator for generating GeoJSON Features
- DataFrame Writer for writing GeoJSON Feature Collections
- H3 Handling - Cell Geometry
Installation
maturin develop --release
Usage
Must include import polars_geojson in all Python files that use this Plugin to Register the namespace.
Expression-level: WKB to GeoJSON strings
import polars as pl
import polars_geojson
df = df.with_columns(pl.col("geometry").geojson.from_wkb().alias("geojson_str"))
DataFrame-level: Generate GeoJSON Features
features = df.geojson.to_features(
columns_to_include=["name", "value"], # optional, defaults to all non-geometry columns
geometry_column="geojson", # default
extra_feature_keys=None, # optional
)
for feature in features:
print(feature)
# {"type": "Feature", "geometry": {"type": "Point", "coordinates": [1.0, 2.0]}, "properties": {"name": "alice", "value": 1}}
Metadata
Release files for polars-geojson 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| polars_geojson-0.4.0.tar.gz | 34.0 kB | Without provenance | Details for polars_geojson-0.4.0.tar.gz |
Built distributions (wheels)
Total release size: 44.1 MB
Release files / polars_geojson-0.4.0.tar.gz
| Download URL | polars_geojson-0.4.0.tar.gz |
|---|---|
| Size | 34.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7fcfa2029f5321a362047367b8b357e4144509cda07adc985d157d3ae7d822c3
|
|
BLAKE2b-256 checksum How to use checksums |
60bf6129ef29f40b9320cb11766f72efce2067d2d855d4d82fe8d9d2c57390b0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / polars_geojson-0.4.0-cp39-abi3-win_arm64.whl
| Download URL | polars_geojson-0.4.0-cp39-abi3-win_arm64.whl |
|---|---|
| Size | 4.0 MB |
| Tags | CPython 3.9 Windows ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
67889f11c419b1a6a2c49a25fc8b0b44ed486294227c385ed4a71f80ea282399
|
|
BLAKE2b-256 checksum How to use checksums |
190bf59b178ce0aee84a48c115ec6e8927971a0753adeed02ef6d56642c2c44a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / polars_geojson-0.4.0-cp39-abi3-win_amd64.whl
| Download URL | polars_geojson-0.4.0-cp39-abi3-win_amd64.whl |
|---|---|
| Size | 4.4 MB |
| Tags | CPython 3.9 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
620ba0aae56485b8831ca26ee809c7e699afd28505d93ebff3556da4c8be2f15
|
|
BLAKE2b-256 checksum How to use checksums |
e7d09d42475db6798501af549a0332ff1469d1877983d65d516947f79979d7d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / polars_geojson-0.4.0-cp39-abi3-win32.whl
| Download URL | polars_geojson-0.4.0-cp39-abi3-win32.whl |
|---|---|
| Size | 3.9 MB |
| Tags | CPython 3.9 Windows x86-32 abi3 |
|
SHA-256 checksum How to use checksums |
b8bba842381521d1b2fbb70d9582a841313ef10f39e3fe1ce7eda33656790335
|
|
BLAKE2b-256 checksum How to use checksums |
247cdc1ef1507d4830cec0e360e721c55cbb399dd5e583a6525d68a6931f5cbd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / polars_geojson-0.4.0-cp39-abi3-musllinux_1_2_x86_64.whl
| Download URL | polars_geojson-0.4.0-cp39-abi3-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 4.7 MB |
| Tags | CPython 3.9 Linux musl 1.2+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
eee6333d931a520a9fcef8c9f0dbb9a6e527aa9fe718b32ef1c18776d749d112
|
|
BLAKE2b-256 checksum How to use checksums |
b6519bda874721cfd8d121b350e9dc73a4dc225a6ba3e3366937d1aa38e77947
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / polars_geojson-0.4.0-cp39-abi3-musllinux_1_2_i686.whl
| Download URL | polars_geojson-0.4.0-cp39-abi3-musllinux_1_2_i686.whl |
|---|---|
| Size | 5.0 MB |
| Tags | CPython 3.9 Linux musl 1.2+ x86-32 abi3 |
|
SHA-256 checksum How to use checksums |
8805af607284bc39d97e0d47325a96f8ff1394547d52cd1104cabf4c32f50950
|
|
BLAKE2b-256 checksum How to use checksums |
5ae553bb06bff204dcdfb78b253569678b6540a2740a8979109e827444dbaed9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / polars_geojson-0.4.0-cp39-abi3-musllinux_1_2_aarch64.whl
| Download URL | polars_geojson-0.4.0-cp39-abi3-musllinux_1_2_aarch64.whl |
|---|---|
| Size | 4.4 MB |
| Tags | CPython 3.9 Linux musl 1.2+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
d29ef8f0c8896388a17969aa8b6110e17ab056a82fb850c62c897ee035a812aa
|
|
BLAKE2b-256 checksum How to use checksums |
d59e3410d4c1275f0828a348d65638ba4852890ef3a733aaf3a6984b845f7702
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / polars_geojson-0.4.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | polars_geojson-0.4.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 4.5 MB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
50e70dd31b1e2879ea1d713bd241870ea41d3b86961ffb86b73317f3c2d06965
|
|
BLAKE2b-256 checksum How to use checksums |
8bb886a546812a19c6d307b15c362fb39bcf6d2cbf2233acbfaab87c24caf3bd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / polars_geojson-0.4.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | polars_geojson-0.4.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 4.2 MB |
| Tags | CPython 3.9 Linux glibc 2.17+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
4f04fd89451ca80e92864c1db95edca20d56891ac0453b1d5ec48b6fab182006
|
|
BLAKE2b-256 checksum How to use checksums |
36b197e7a3360e22ad6531a9e58bc3a4b900a684b8ed40f4578dc81e5653aaf6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / polars_geojson-0.4.0-cp39-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
| Download URL | polars_geojson-0.4.0-cp39-abi3-manylinux_2_12_i686.manylinux2010_i686.whl |
|---|---|
| Size | 4.9 MB |
| Tags | CPython 3.9 Linux glibc 2.12+ x86-32 abi3 |
|
SHA-256 checksum How to use checksums |
8a494dfd6042e5a89f7df10e37cbfc069542424b196c920d91399f3c170c918b
|
|
BLAKE2b-256 checksum How to use checksums |
8580dbef678efad29b189a97e2320be10a689dae03425a4c80d56efea418f23c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / polars_geojson-0.4.0-cp39-abi3-macosx_11_0_arm64.whl
| Download URL | polars_geojson-0.4.0-cp39-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 4.0 MB |
| Tags | CPython 3.9 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
1d8ac9eb27df66785ab4e346ccb922eba1b1e6010bb8b0bd7be219422bc95535
|
|
BLAKE2b-256 checksum How to use checksums |
548ab144cf8c67eed4eb8267907800cdb951ce63291d97565f01cc42e32c6b1b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for polars-geojson 0.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.