Registry / http-networking / pygeocodio

pygeocodio

JSON →
library2.0.1pypypi✓ verified 85d ago

Python wrapper for the Geocod.io API. Current version 2.0.1, released 2024. Active development with regular releases.

pip install pygeocodio
INSTALL
IMPORT
SIG · PYGEOCODIO
P
pygeocodio
http-networkingpythonv2.0.1
Install
2.1s avg
Import
—
Disk
19MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.9–3.13
musl
3.9–3.13
Install & Compatibility
Where this runs
tested against v2.0.1 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 21MB
glibc
py 3.10–3.95 runs
installs and imports cleanly · install 2.1s · import 0.000s · 21MB
19MB installed
● package 19MB
Code
Verified usage

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

GeocodioClient
✓ from geocodio import GeocodioClient
✗ from pygeocodio.client import GeocodioClient
Address
✓ from geocodio import Address
Location
✓ from geocodio import Location

Initialize client with API key and geocode an address.

from pygeocodio.client import GeocodioClient client = GeocodioClient(api_key='your_api_key_here') # Geocode a single address result = client.geocode('42370 Bob Hope Dr, Rancho Mirage, CA 92270') print(result)
Debug
Known issues
breakingIn version 2.0.0, the default value of auto_load_api_version changed from True to False. This can cause errors if your code relied on auto-loading.
fix
Explicitly set auto_load_api_version=True when creating GeocodioClient if you need auto-loading.
affects: >=2.0.0
deprecatedSupport for Python 3.8 and earlier has been dropped. Python 3.9+ required as of v2.0.1.
fix
Upgrade to Python 3.9 or higher.
affects: >=1.4.0
gotchaThe GeocodioClient is not importable from the top-level package (pygeocodio). Attempting 'from pygeocodio import GeocodioClient' will raise ImportError.
fix
Use 'from pygeocodio.client import GeocodioClient'.
affects: all
Upgrade
Version history
2.0.1latest on PyPI · released Jun 18, 2025
Audit
Dependencies
requestsrequiredHTTP client for API calls
Agent activity
15 hits · last 30 days
node
14
Resources
pygeocodio — pip install pygeocodio · libregistry