Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

region-geo

Latest version: v2026.11.1

Overview

Last scanned
24 Nov 2026
Published
24 Nov 2026
PyPI package Publisher: joel.ridden
0 Stars
0 Forks
1 Versions
Python Repo language

Scan summary

region-geo was last scanned on 24 Nov 2026 at version 2026.11.1. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: First and only release on 24 Nov 2026.
  • Findings: No rules fired in version 2026.11.1.

Versions

1 version published
Versions and the rules that fired in each
VersionPublishedStatus
2026.11.1 LATEST 24 Nov 2026 No rules fired

No rules fired in 2026.11.1

Findings

Findings for v2026.11.1. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 2026.11.1; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

region_geo

Coastline geometry for a region. New Zealand is the default region, so calls need no region argument. More regions and layers (boundaries, basins, back-arc, subduction interfaces) can be added later without changing the API.

Replaces nzgeom in NZGMDB.

Install

pip install git+https://github.com/ucgmsim/region_geo.git

Development

CI uses the shared meta-ci-action workflows: ruff, deptry, npdlint, ty and pytest (95% coverage). To run the same checks as git hooks:

uv sync --all-groups --all-extras
uvx lefthook install

Usage

import region_geo

# Which points are on land (main islands of the default region)
on_land = region_geo.points_on_land(df["lon"], df["lat"])

# Coastline polygons as a GeoDataFrame (EPSG:4326 by default)
coast = region_geo.get_coastline(include_outlying=True, crs="EPSG:2193")

# Land as one shapely geometry
land = region_geo.get_land()

Pick another region with region="xx", or set REGION_GEO_REGION=xx for the whole process.

include_outlying adds islands left out by default. For NZ these are the Chatham and Kermadec Islands, which sit across 180 degrees.

Replacing nzgeom
# Before
nz_coast = nzgeom.coastlines.get_NZ_coastlines().to_crs("EPSG:4326").union_all()
points = gpd.GeoSeries([Point(lon, lat) for lon, lat in zip(df["lon"], df["lat"])])
df = df[points.within(nz_coast).to_numpy()]

# After
df = df[region_geo.points_on_land(df["lon"], df["lat"])]

Same result on 5000 random points across NZ, about twice as fast. The merged land polygon is cached, so later calls are almost instant.

Data

Region File Source
nz region_geo/data/nz_coastline.gpkg LINZ NZ Coastlines and Islands Polygons (Topo 1:50k), layer 51153, CC BY 4.0

Coastline files are GeoPackages in EPSG:4326 with columns name, group, outlying. Rebuild the NZ file with:

uv sync --extra scripts
python scripts/build_nz_coastline.py nz-coastlines-and-islands-polygons-topo-150k.gpkg

Adding a region

  1. Write region_geo/data/<key>_coastline.gpkg with the standard columns
  2. Add a Region to REGIONS in region_geo/regions.py

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases region-geo

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Frame 2085668439 (1)
Group 1261154229