Skip to content

Commit 559a88c

Browse files
refactor\!: rename GeocodioClient to Geocodio
BREAKING CHANGE: The main client class has been renamed from GeocodioClient to Geocodio for simplicity and consistency with other SDKs. Migration guide: - Change imports from `from geocodio import GeocodioClient` to `from geocodio import Geocodio` - Update instantiation from `client = GeocodioClient(...)` to `client = Geocodio(...)`
1 parent 4713a68 commit 559a88c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/geocodio/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
"""
55

66
from ._version import __version__
7-
from .client import GeocodioClient
7+
from .client import Geocodio
88

9-
__all__ = ["GeocodioClient", "__version__"]
9+
__all__ = ["Geocodio", "__version__"]

src/geocodio/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
from geocodio.exceptions import InvalidRequestError, AuthenticationError, GeocodioServerError, BadRequestError
2828

2929

30-
class GeocodioClient:
30+
class Geocodio:
3131
BASE_PATH = "/v1.9" # keep in sync with Geocodio's current version
3232
DEFAULT_SINGLE_TIMEOUT = 5.0
3333
DEFAULT_BATCH_TIMEOUT = 1800.0 # 30 minutes

0 commit comments

Comments
 (0)