Skip to main content

rustgis

Python bindings to RustGIS, a fast, free and open-source GIS in pure Rust. The RustGIS engine runs inside Python, headless: open data and projects, run any of RustGIS's commands and over 1,000 geoprocessing tools, style layers, render maps and save projects the desktop app opens as they are.

pip install rustgis            # add [geopandas] for GeoDataFrame in and out
import rustgis

s = rustgis.Session(sample=True)                  # the World Atlas sample
s.run("gp.run", tool="buffer", params={"input": "Cities", "distance": 100})
s.run("layer.symbology", layer="Countries", type="graduated", field="pop_est")
s.to_png("map.png", width=1600, height=900)      # or just `s` in Jupyter
s.save("atlas.rgis")                              # open it in the RustGIS app

gdf = s.layer("Cities").to_geopandas()            # a GeoDataFrame in EPSG:4326
s.add_geopandas(gdf[gdf.pop_max > 5_000_000], name="Big cities")

In Jupyter, rustgis.Map shows the RustGIS app itself in the cell, in step with its session both ways (pip install "rustgis[jupyter]"):

m = rustgis.Map(sample=True)
m.add_geopandas(gdf, name="Big cities")           # appears in the app
m                                                 # pan, edit, style there...
m.info()["center"]                                # ...and read it back here

Every action in RustGIS is a command with an id, the same ids the ribbon, rustgis-cli and the AI Assistant use: Session.commands() lists them with their parameters, and Session.run runs any of them. See the Python guide.

Licensed under Apache-2.0.

Metadata

Release files for rustgis 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rustgis 0.2.0
File Size Uploaded
rustgis-0.2.0.tar.gz 797.8 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for rustgis 0.2.0
File
rustgis-0.2.0-cp312-abi3-win_amd64.whl CPython 3.12 abi3 Windows x86-64 Details
rustgis-0.2.0-cp312-abi3-manylinux_2_28_x86_64.whl CPython 3.12 abi3 Linux glibc 2.28+ x86-64 Details
rustgis-0.2.0-cp312-abi3-manylinux_2_28_aarch64.whl CPython 3.12 abi3 Linux glibc 2.28+ ARM64 Details
rustgis-0.2.0-cp312-abi3-macosx_11_0_arm64.whl CPython 3.12 abi3 macOS 11.0+ ARM64 Details
rustgis-0.2.0-cp312-abi3-macosx_10_12_x86_64.whl CPython 3.12 abi3 macOS 10.12+ x86-64 Details

Total release size: 53.2 MB

Release files / rustgis-0.2.0.tar.gz

Download URL rustgis-0.2.0.tar.gz
Size 797.8 kB
Tags Source
SHA-256 checksum
How to use checksums
8ffd9ed5ced190500af27fa295cacf725f9670406b88caacadd4274dcc9d592f
BLAKE2b-256 checksum
How to use checksums
697907e3f7deecf58a00eca3a7b58cd39baaab0cf127ded75e4de5f8b8acf95c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.13

Release files / rustgis-0.2.0-cp312-abi3-win_amd64.whl

Download URL rustgis-0.2.0-cp312-abi3-win_amd64.whl
Size 9.9 MB
Tags CPython 3.12 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
8a0a184c37f36bc3b8ead9ec1bd7bf8bddc971c2ab00ac71bf0fcbe2593c1b5c
BLAKE2b-256 checksum
How to use checksums
a270e3331892796eb168835d21c0e803dc370ccb91d2d90a8ef662584099f80b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.13

Release files / rustgis-0.2.0-cp312-abi3-manylinux_2_28_x86_64.whl

Download URL rustgis-0.2.0-cp312-abi3-manylinux_2_28_x86_64.whl
Size 11.0 MB
Tags CPython 3.12 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
bc94db5d2b1d92b47b25bd4a2ab506339e98ea338b3153c64e6d66f1fa8179f1
BLAKE2b-256 checksum
How to use checksums
0344635678a51ef0e5d5aec784e6ed12b52079d7bc68b677e7fee38984ab469c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.13

Release files / rustgis-0.2.0-cp312-abi3-manylinux_2_28_aarch64.whl

Download URL rustgis-0.2.0-cp312-abi3-manylinux_2_28_aarch64.whl
Size 11.1 MB
Tags CPython 3.12 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
070df13a88f301d14c24abe041a4fbd01806f0d4a3bff04cecf66775dacb9e48
BLAKE2b-256 checksum
How to use checksums
b96eb12ba0f4a9c7da627fd30a606fd203ad5e547ed47edbfa981a30754ad8a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.13

Release files / rustgis-0.2.0-cp312-abi3-macosx_11_0_arm64.whl

Download URL rustgis-0.2.0-cp312-abi3-macosx_11_0_arm64.whl
Size 9.9 MB
Tags CPython 3.12 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
35d64f5da9ec82550b07d5ac0fb7a6768768b79fec3ff6f2b0fdd6b1db7c0461
BLAKE2b-256 checksum
How to use checksums
2dea2042dc0986a0bf8e7b919fdb368da707b868bd2b1c0f54771844b29c5cbe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.13

Release files / rustgis-0.2.0-cp312-abi3-macosx_10_12_x86_64.whl

Download URL rustgis-0.2.0-cp312-abi3-macosx_10_12_x86_64.whl
Size 10.4 MB
Tags CPython 3.12 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
e5e5d7313d6c4e6d39afbc96890e9607abb0bb3f91e784e8fb67327621bc2b27
BLAKE2b-256 checksum
How to use checksums
b1cb5346931e14674fb36a76d0869c865f5749f0fed8224b6fd0310cb8f4f49e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.13

Release history Release notifications | RSS feed

This release

0.2.0 This release

6 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page