Skip to main content

Map Algebra with NumPy

Inspired by the ARC/INFO GRID implementation of Map Algebra.

CPU

uv add glidergun
from glidergun import grid

dem = grid("cop-dem-glo-90", (137.8, 34.5, 141.1, 36.8))
hillshade = dem.hillshade()

dem.save("dem.tif")
hillshade.save("hillshade.tif", "uint8")

CUDA

uv add torch torchvision --index pytorch-cu130=https://download.pytorch.org/whl/cu130
uv add glidergun
from glidergun import stack

bing = stack("microsoft", (-123.164, 49.272, -123.162, 49.273), max_tiles=100)
bing.save("vancouver.tif")

sam = bing.sam("tree", "house", "car")
sam.to_geojson().save("vancouver.json")

Metadata

Release files for glidergun 0.9.189

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

Source distribution (sdist)

Source distribution for glidergun 0.9.189
File Size Uploaded
glidergun-0.9.189.tar.gz 45.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for glidergun 0.9.189
File Interpreter ABI Platform
glidergun-0.9.189-py3-none-any.whl Python 3 none any Details

Total release size: 95.6 kB

Release files / glidergun-0.9.189.tar.gz

Download URL glidergun-0.9.189.tar.gz
Size 45.6 kB
Tags Source
SHA-256 checksum
How to use checksums
bd61b17d0d28c500a3f3fd7210ed6dcad1437892828188f7cfe1b33979a64c46
BLAKE2b-256 checksum
How to use checksums
14a7b6c6af262be8ca7b9faf936e0fd7bed654e2d44338f47fc9067f85cc38ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.13 {"installer":{"name":"uv","version":"0.11.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / glidergun-0.9.189-py3-none-any.whl

Download URL glidergun-0.9.189-py3-none-any.whl
Size 50.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
89012ebee0e7691b49749b36283da0c110c4bedff6a7d52942d9cc9c09b43941
BLAKE2b-256 checksum
How to use checksums
ba5846b9b59f368d07769e38ab28650d5e9e1ad9ee6e5b1f767db2d5ce9c66f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.13 {"installer":{"name":"uv","version":"0.11.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

0.9.189 This release

2 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