quantaroute-geocoding 1.0.3__tar.gz → 1.0.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of quantaroute-geocoding might be problematic. Click here for more details.
- {quantaroute_geocoding-1.0.3/quantaroute_geocoding.egg-info → quantaroute_geocoding-1.0.4}/PKG-INFO +5 -2
- {quantaroute_geocoding-1.0.3 → quantaroute_geocoding-1.0.4}/README.md +4 -1
- {quantaroute_geocoding-1.0.3 → quantaroute_geocoding-1.0.4}/pyproject.toml +1 -1
- {quantaroute_geocoding-1.0.3 → quantaroute_geocoding-1.0.4}/quantaroute_geocoding/__init__.py +1 -1
- {quantaroute_geocoding-1.0.3 → quantaroute_geocoding-1.0.4}/quantaroute_geocoding/location_lookup.py +3 -1
- {quantaroute_geocoding-1.0.3 → quantaroute_geocoding-1.0.4/quantaroute_geocoding.egg-info}/PKG-INFO +5 -2
- {quantaroute_geocoding-1.0.3 → quantaroute_geocoding-1.0.4}/setup.py +1 -1
- {quantaroute_geocoding-1.0.3 → quantaroute_geocoding-1.0.4}/LICENSE +0 -0
- {quantaroute_geocoding-1.0.3 → quantaroute_geocoding-1.0.4}/MANIFEST.in +0 -0
- {quantaroute_geocoding-1.0.3 → quantaroute_geocoding-1.0.4}/examples/README.md +0 -0
- {quantaroute_geocoding-1.0.3 → quantaroute_geocoding-1.0.4}/examples/basic_usage.py +0 -0
- {quantaroute_geocoding-1.0.3 → quantaroute_geocoding-1.0.4}/examples/batch_location_lookup.py +0 -0
- {quantaroute_geocoding-1.0.3 → quantaroute_geocoding-1.0.4}/examples/location_lookup_demo.py +0 -0
- {quantaroute_geocoding-1.0.3 → quantaroute_geocoding-1.0.4}/quantaroute_geocoding/cli.py +0 -0
- {quantaroute_geocoding-1.0.3 → quantaroute_geocoding-1.0.4}/quantaroute_geocoding/client.py +0 -0
- {quantaroute_geocoding-1.0.3 → quantaroute_geocoding-1.0.4}/quantaroute_geocoding/csv_processor.py +0 -0
- {quantaroute_geocoding-1.0.3 → quantaroute_geocoding-1.0.4}/quantaroute_geocoding/exceptions.py +0 -0
- {quantaroute_geocoding-1.0.3 → quantaroute_geocoding-1.0.4}/quantaroute_geocoding/offline.py +0 -0
- {quantaroute_geocoding-1.0.3 → quantaroute_geocoding-1.0.4}/quantaroute_geocoding.egg-info/SOURCES.txt +0 -0
- {quantaroute_geocoding-1.0.3 → quantaroute_geocoding-1.0.4}/quantaroute_geocoding.egg-info/dependency_links.txt +0 -0
- {quantaroute_geocoding-1.0.3 → quantaroute_geocoding-1.0.4}/quantaroute_geocoding.egg-info/entry_points.txt +0 -0
- {quantaroute_geocoding-1.0.3 → quantaroute_geocoding-1.0.4}/quantaroute_geocoding.egg-info/requires.txt +0 -0
- {quantaroute_geocoding-1.0.3 → quantaroute_geocoding-1.0.4}/quantaroute_geocoding.egg-info/top_level.txt +0 -0
- {quantaroute_geocoding-1.0.3 → quantaroute_geocoding-1.0.4}/setup.cfg +0 -0
{quantaroute_geocoding-1.0.3/quantaroute_geocoding.egg-info → quantaroute_geocoding-1.0.4}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: quantaroute-geocoding
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.4
|
|
4
4
|
Summary: Revolutionary Python SDK for QuantaRoute Geocoding API with Location Lookup and offline DigiPin processing
|
|
5
5
|
Home-page: https://github.com/quantaroute/quantaroute-geocoding-python
|
|
6
6
|
Author: QuantaRoute
|
|
@@ -97,7 +97,10 @@ print(f"Response Time: {result['response_time_ms']}ms") # <100ms
|
|
|
97
97
|
|
|
98
98
|
# 🚀 REVOLUTIONARY: Get boundaries from DigiPin
|
|
99
99
|
result = client.lookup_location_from_digipin("39J-438-TJC7")
|
|
100
|
-
print(f"
|
|
100
|
+
print(f"Pincode: {result['administrative_info']['pincode']}")
|
|
101
|
+
print(f"State: {result['administrative_info']['state']}")
|
|
102
|
+
print(f"Division: {result['administrative_info']['division']}")
|
|
103
|
+
print(f"Locality: {result['administrative_info']['locality']}")
|
|
101
104
|
|
|
102
105
|
# 📊 Get live statistics (36,000+ boundaries)
|
|
103
106
|
stats = client.get_location_statistics()
|
|
@@ -53,7 +53,10 @@ print(f"Response Time: {result['response_time_ms']}ms") # <100ms
|
|
|
53
53
|
|
|
54
54
|
# 🚀 REVOLUTIONARY: Get boundaries from DigiPin
|
|
55
55
|
result = client.lookup_location_from_digipin("39J-438-TJC7")
|
|
56
|
-
print(f"
|
|
56
|
+
print(f"Pincode: {result['administrative_info']['pincode']}")
|
|
57
|
+
print(f"State: {result['administrative_info']['state']}")
|
|
58
|
+
print(f"Division: {result['administrative_info']['division']}")
|
|
59
|
+
print(f"Locality: {result['administrative_info']['locality']}")
|
|
57
60
|
|
|
58
61
|
# 📊 Get live statistics (36,000+ boundaries)
|
|
59
62
|
stats = client.get_location_statistics()
|
{quantaroute_geocoding-1.0.3 → quantaroute_geocoding-1.0.4}/quantaroute_geocoding/location_lookup.py
RENAMED
|
@@ -158,7 +158,9 @@ class LocationLookupClient:
|
|
|
158
158
|
try:
|
|
159
159
|
coords_result = processor.digipin_to_coordinates(digipin)
|
|
160
160
|
if coords_result and 'coordinates' in coords_result:
|
|
161
|
-
|
|
161
|
+
coords = coords_result['coordinates']
|
|
162
|
+
lat = coords['latitude']
|
|
163
|
+
lng = coords['longitude']
|
|
162
164
|
return self.lookup_coordinates(lat, lng)
|
|
163
165
|
else:
|
|
164
166
|
raise ValidationError("Invalid DigiPin format")
|
{quantaroute_geocoding-1.0.3 → quantaroute_geocoding-1.0.4/quantaroute_geocoding.egg-info}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: quantaroute-geocoding
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.4
|
|
4
4
|
Summary: Revolutionary Python SDK for QuantaRoute Geocoding API with Location Lookup and offline DigiPin processing
|
|
5
5
|
Home-page: https://github.com/quantaroute/quantaroute-geocoding-python
|
|
6
6
|
Author: QuantaRoute
|
|
@@ -97,7 +97,10 @@ print(f"Response Time: {result['response_time_ms']}ms") # <100ms
|
|
|
97
97
|
|
|
98
98
|
# 🚀 REVOLUTIONARY: Get boundaries from DigiPin
|
|
99
99
|
result = client.lookup_location_from_digipin("39J-438-TJC7")
|
|
100
|
-
print(f"
|
|
100
|
+
print(f"Pincode: {result['administrative_info']['pincode']}")
|
|
101
|
+
print(f"State: {result['administrative_info']['state']}")
|
|
102
|
+
print(f"Division: {result['administrative_info']['division']}")
|
|
103
|
+
print(f"Locality: {result['administrative_info']['locality']}")
|
|
101
104
|
|
|
102
105
|
# 📊 Get live statistics (36,000+ boundaries)
|
|
103
106
|
stats = client.get_location_statistics()
|
|
@@ -5,7 +5,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
|
|
|
5
5
|
|
|
6
6
|
setup(
|
|
7
7
|
name="quantaroute-geocoding",
|
|
8
|
-
version="1.0.
|
|
8
|
+
version="1.0.4",
|
|
9
9
|
author="QuantaRoute",
|
|
10
10
|
author_email="support@quantaroute.com",
|
|
11
11
|
description="Revolutionary Python SDK for QuantaRoute Geocoding API with Location Lookup and offline DigiPin processing",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{quantaroute_geocoding-1.0.3 → quantaroute_geocoding-1.0.4}/examples/batch_location_lookup.py
RENAMED
|
File without changes
|
{quantaroute_geocoding-1.0.3 → quantaroute_geocoding-1.0.4}/examples/location_lookup_demo.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{quantaroute_geocoding-1.0.3 → quantaroute_geocoding-1.0.4}/quantaroute_geocoding/csv_processor.py
RENAMED
|
File without changes
|
{quantaroute_geocoding-1.0.3 → quantaroute_geocoding-1.0.4}/quantaroute_geocoding/exceptions.py
RENAMED
|
File without changes
|
{quantaroute_geocoding-1.0.3 → quantaroute_geocoding-1.0.4}/quantaroute_geocoding/offline.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|