{"id":24330,"library":"pygeocodio","title":"pygeocodio","description":"Python wrapper for the Geocod.io API. Current version 2.0.1, released 2024. Active development with regular releases.","status":"active","version":"2.0.1","language":"python","source_language":"en","source_url":"https://github.com/bennylope/pygeocodio","tags":["geocoding","geocodio","address","api-wrapper"],"install":[{"cmd":"pip install pygeocodio","lang":"bash","label":"Default install"}],"dependencies":[{"reason":"HTTP client for API calls","package":"requests","optional":false}],"imports":[{"note":"GeocodioClient is not in top-level __init__.py; must import from pygeocodio.client","wrong":"from pygeocodio import GeocodioClient","symbol":"GeocodioClient","correct":"from pygeocodio.client import GeocodioClient"}],"quickstart":{"code":"from pygeocodio.client import GeocodioClient\n\nclient = GeocodioClient(api_key='your_api_key_here')\n# Geocode a single address\nresult = client.geocode('42370 Bob Hope Dr, Rancho Mirage, CA 92270')\nprint(result)\n","lang":"python","description":"Initialize client with API key and geocode an address."},"warnings":[{"fix":"Explicitly set auto_load_api_version=True when creating GeocodioClient if you need auto-loading.","message":"In 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.","severity":"breaking","affected_versions":">=2.0.0"},{"fix":"Upgrade to Python 3.9 or higher.","message":"Support for Python 3.8 and earlier has been dropped. Python 3.9+ required as of v2.0.1.","severity":"deprecated","affected_versions":">=1.4.0"},{"fix":"Use 'from pygeocodio.client import GeocodioClient'.","message":"The GeocodioClient is not importable from the top-level package (pygeocodio). Attempting 'from pygeocodio import GeocodioClient' will raise ImportError.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Use: from pygeocodio.client import GeocodioClient","cause":"GeocodioClient is not exposed in the package's __init__.py.","error":"ImportError: cannot import name 'GeocodioClient' from 'pygeocodio'"},{"fix":"Pass api_key argument: GeocodioClient(api_key='your_key') or set environment variable GEOCODIO_API_KEY.","cause":"API key not provided when creating GeocodioClient.","error":"TypeError: __init__() missing 1 required positional argument: 'api_key'"},{"fix":"Check your API key and ensure it's set correctly. You can also set the GEOCODIO_API_KEY environment variable.","cause":"Invalid or missing API key.","error":"urllib.error.HTTPError: HTTP Error 401: Unauthorized"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}