Registry / analytics / tobler

tobler

JSON →
library0.14.0pypypi✓ verified 80d ago

Tobler is a Python library for areal interpolation, providing methods to transfer data from one set of spatial units to another. Current version 0.14.0, requires Python >=3.12. Released as part of the PySAL ecosystem.

pip install tobler
INSTALL
IMPORT
SIG · TOBLER
T
tobler
analyticspythonv0.14.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

area_weighted
from tobler import area_weighted
from tobler import areal_interpolation
dasymetric
from tobler import dasymetric
pycno
from tobler import pycno

Basic areal interpolation using area weighting.

from tobler import areal_interpolation import geopandas as gpd # Example: area weighted interpolation source_gdf = gpd.read_file('source.shp') target_gdf = gpd.read_file('target.shp') result = areal_interpolation.area_weighted( source_gdf, target_gdf, extensive_variables=['population'] ) print(result.head())
Debug
Known issues
breakingtobler 0.14.0 requires Python >=3.12. Older Python versions are not supported.
fix
Upgrade Python to 3.12 or higher.
affects: >=0.14.0
gotchaPolygon data must have a valid geometry column (default 'geometry'). Non-standard geometry column names will cause errors.
fix
Ensure GeoDataFrame has a geometry column; use gdf.set_geometry('geom') if needed.
affects: all
deprecatedThe function 'tobler.area_weighted' is deprecated in favor of 'tobler.areal_interpolation.area_weighted'.
fix
Use 'from tobler.areal_interpolation import area_weighted'.
affects: <0.14.0
Upgrade
Version history
0.14.0latest on PyPI · released Apr 10, 2026
Audit
Dependencies
pandasrequiredData manipulation
geopandasrequiredSpatial data handling
numpyrequiredNumerical operations
scipyrequiredSpatial interpolation utilities
libpysalrequiredPySAL core library
Agent activity
45 hits · last 30 days
node
40
OpenAI (training)
1
Resources
tobler — pip install tobler · libregistry