quantaroute-geocoding 1.0.4__py3-none-any.whl → 1.0.6__py3-none-any.whl

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.

@@ -5,9 +5,9 @@ A Python library for geocoding addresses to DigiPin codes with both online API
5
5
  and offline processing capabilities.
6
6
  """
7
7
 
8
- __version__ = "1.0.4"
8
+ __version__ = "1.0.5"
9
9
  __author__ = "QuantaRoute"
10
- __email__ = "support@quantaroute.com"
10
+ __email__ = "hello@quantaroute.com"
11
11
 
12
12
  from .client import QuantaRouteClient
13
13
  from .location_lookup import LocationLookupClient
@@ -334,6 +334,9 @@ class QuantaRouteClient:
334
334
  - state: State name
335
335
  - coordinates: Input coordinates
336
336
  - digipin: DigiPin code for the location
337
+ - administrative_info: Dict with country, state, division, locality, pincode, delivery, district, mean_population_density, min_population_density, max_population_density
338
+ - confidence: Accuracy score (0.0 to 1.0)
339
+ - source: Data source (cache, database, calculation)
337
340
  - cached: Whether result was from cache
338
341
  - response_time_ms: Response time in milliseconds
339
342
  """
@@ -118,6 +118,9 @@ class LocationLookupClient:
118
118
  - state: State name
119
119
  - coordinates: Input coordinates
120
120
  - digipin: DigiPin code for the location
121
+ - administrative_info: Dict with country, state, division, locality, pincode, delivery, district, mean_population_density, min_population_density, max_population_density
122
+ - confidence: Accuracy score (0.0 to 1.0)
123
+ - source: Data source (cache, database, calculation)
121
124
  - cached: Whether result was from cache
122
125
  - response_time_ms: Response time in milliseconds
123
126
  """
@@ -1,10 +1,10 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: quantaroute-geocoding
3
- Version: 1.0.4
3
+ Version: 1.0.6
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
7
- Author-email: QuantaRoute <support@quantaroute.com>
7
+ Author-email: QuantaRoute <hello@quantaroute.com>
8
8
  License: MIT
9
9
  Project-URL: Homepage, https://quantaroute.com
10
10
  Project-URL: Documentation, https://api.quantaroute.com/v1/digipin/docs
@@ -49,7 +49,8 @@ A **revolutionary** Python library for geocoding addresses to DigiPin codes with
49
49
  ## 🚀 Revolutionary Features
50
50
 
51
51
  ### 🎯 **NEW: Location Lookup API** - *Service that even government doesn't provide!*
52
- - 🗺️ **Administrative Boundary Lookup**: Get state, division, locality, pincode from coordinates
52
+ - 🗺️ **Administrative Boundary Lookup**: Get state, division, locality, pincode, district, delivery status from coordinates
53
+ - 📊 **Population Density Data**: Mean, min, and max population density from Meta's 30-meter gridded data
53
54
  - 📍 **36,000+ Postal Boundaries**: Complete coverage across India
54
55
  - ⚡ **Sub-100ms Response**: Cached responses with database fallback
55
56
  - 🎯 **Government-Level Precision**: Accuracy that official services don't offer
@@ -70,6 +71,21 @@ A **revolutionary** Python library for geocoding addresses to DigiPin codes with
70
71
  pip install quantaroute-geocoding
71
72
  ```
72
73
 
74
+ ## Upgrade
75
+
76
+ ```bash
77
+ pip install --upgrade quantaroute-geocoding
78
+ or
79
+ pip install quantaroute-geocoding==<version>
80
+ or
81
+ pip install --force-reinstall quantaroute-geocoding==<version>
82
+ or
83
+ pip cache purge
84
+ pip install --upgrade quantaroute-geocoding
85
+ or
86
+ pip install --no-cache-dir --upgrade quantaroute-geocoding
87
+ ```
88
+
73
89
  For offline DigiPin processing, also install the official DigiPin library:
74
90
 
75
91
  ```bash
@@ -88,10 +104,13 @@ client = QuantaRouteClient(api_key="your-api-key")
88
104
 
89
105
  # 🚀 REVOLUTIONARY: Get administrative boundaries from coordinates
90
106
  result = client.lookup_location_from_coordinates(28.6139, 77.2090)
91
- print(f"Pincode: {result['pincode']}") # 110001
92
- print(f"Office: {result['office_name']}") # New Delhi GPO
93
- print(f"Division: {result['division']}") # New Delhi GPO
94
- print(f"Circle: {result['circle']}") # Delhi
107
+ print(f"Pincode: {result['administrative_info']['pincode']}") # 110001
108
+ print(f"Office: {result['administrative_info']['locality']}") # New Delhi GPO
109
+ print(f"Division: {result['administrative_info']['division']}") # New Delhi GPO
110
+ print(f"State: {result['administrative_info']['state']}") # Delhi
111
+ print(f"District: {result['administrative_info']['district']}") # New Delhi
112
+ print(f"Delivery: {result['administrative_info']['delivery']}") # Delivery
113
+ print(f"Pop Density: {result['administrative_info']['mean_population_density']}") # 11234.56
95
114
  print(f"DigiPin: {result['digipin']}") # 39J-438-TJC7
96
115
  print(f"Response Time: {result['response_time_ms']}ms") # <100ms
97
116
 
@@ -101,11 +120,12 @@ print(f"Pincode: {result['administrative_info']['pincode']}")
101
120
  print(f"State: {result['administrative_info']['state']}")
102
121
  print(f"Division: {result['administrative_info']['division']}")
103
122
  print(f"Locality: {result['administrative_info']['locality']}")
123
+ print(f"District: {result['administrative_info']['district']}")
104
124
 
105
125
  # 📊 Get live statistics (36,000+ boundaries)
106
126
  stats = client.get_location_statistics()
107
- print(f"Total Boundaries: {stats['total_boundaries']:,}")
108
- print(f"Total States: {stats['total_states']}")
127
+ print(f"Total Boundaries: {stats['totalBoundaries']:,}")
128
+ print(f"Total States: {stats['totalStates']}")
109
129
  ```
110
130
 
111
131
  ### 🌟 **Traditional Geocoding API**
@@ -476,7 +496,7 @@ except APIError as e:
476
496
 
477
497
  ## Support
478
498
 
479
- - 📧 Email: support@quantaroute.com
499
+ - 📧 Email: hello@quantaroute.com
480
500
  - 🌐 Website: https://quantaroute.com
481
501
  - 📖 Traditional API Docs: https://api.quantaroute.com/v1/digipin/docs
482
502
  - 🚀 **NEW: Location Lookup API**: https://api.quantaroute.com/v1/location
@@ -498,6 +518,26 @@ except APIError as e:
498
518
 
499
519
  **Ready to revolutionize your location intelligence applications?**
500
520
 
521
+ ## Changelog
522
+
523
+ ### [1.0.6] - 2025-11-01
524
+ #### Added
525
+ - 🎉 **Population Density Data**: Added mean, min, and max population density fields from Meta's 30-meter gridded data
526
+ - 📍 **District Information**: Added district field for Indian district division as per official records
527
+ - ✅ **Delivery Status**: Added delivery field for pincode delivery status
528
+ - 🌍 **Complete Geographic Data**: Added state and country fields for comprehensive location information
529
+
530
+ #### Enhanced
531
+ - Improved administrative boundary data with complete coverage (36,000+ postal boundaries)
532
+ - All Location Lookup API responses now include population density and district information
533
+
534
+ ### [1.0.5] - Previous Release
535
+ - Enhanced Location Lookup API with comprehensive boundary data
536
+
537
+ ### [1.0.0] - Initial Release
538
+ - Traditional geocoding API with DigiPin support
539
+ - Offline processing capabilities
540
+
501
541
  ## License
502
542
 
503
543
  MIT License - see LICENSE file for details.
@@ -0,0 +1,13 @@
1
+ quantaroute_geocoding/__init__.py,sha256=IvlcQILIR6t8IR0o9rHbhVu61y7ywGTAF1LzXsujZd8,764
2
+ quantaroute_geocoding/cli.py,sha256=2vJRef_4dP-4iCs3BWmNDACxMV628X4q2pos4S5UfIY,16835
3
+ quantaroute_geocoding/client.py,sha256=4mbgvCVHMJPxH2EP6b2oETkEnrTjwrUdfWeodCiUzNg,15236
4
+ quantaroute_geocoding/csv_processor.py,sha256=tmbtE1bQzi2TnKgxOGIQ-H6MWirh-cuG4RRErcCdfco,16096
5
+ quantaroute_geocoding/exceptions.py,sha256=rAkj8K5-AUf31kV8UlmNxQ5IN0m4CIL2qnI6ALas5Ys,1173
6
+ quantaroute_geocoding/location_lookup.py,sha256=JZ9KlASgGSpUwhncM-6ibMBzRLALll0I1EFhlSqjHjQ,11791
7
+ quantaroute_geocoding/offline.py,sha256=HymAwPNp01oHifQrXZ5Qj8EVn7EwoeqxjczJxbMNuXE,9711
8
+ quantaroute_geocoding-1.0.6.dist-info/licenses/LICENSE,sha256=QY7Uoe-MPRTjfyyDM3HOnqtuSqbzyPLATiriEaQ9u90,1068
9
+ quantaroute_geocoding-1.0.6.dist-info/METADATA,sha256=v_QBdV0Vw4J2-t7T2LtIoJLPqQIdwIRDWa0sWRyK30o,17225
10
+ quantaroute_geocoding-1.0.6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
11
+ quantaroute_geocoding-1.0.6.dist-info/entry_points.txt,sha256=cniijgPLz_Pb6Fiti6aOxaJp1BB_bv60ZOL_oitGCx8,71
12
+ quantaroute_geocoding-1.0.6.dist-info/top_level.txt,sha256=_cyyFLwSH1wYB1HNs_LcZIDQRo1CnvoEsdnKz-cBCr4,22
13
+ quantaroute_geocoding-1.0.6.dist-info/RECORD,,
@@ -1,13 +0,0 @@
1
- quantaroute_geocoding/__init__.py,sha256=MKBlkAnJYv5BCGMAJ9TfpCAElhGY8Ie6lQCFT2A8qx4,766
2
- quantaroute_geocoding/cli.py,sha256=2vJRef_4dP-4iCs3BWmNDACxMV628X4q2pos4S5UfIY,16835
3
- quantaroute_geocoding/client.py,sha256=47sirSJMek9dGeybm6-62RoLx1SBfYlJuqDqZfgQcF8,14935
4
- quantaroute_geocoding/csv_processor.py,sha256=tmbtE1bQzi2TnKgxOGIQ-H6MWirh-cuG4RRErcCdfco,16096
5
- quantaroute_geocoding/exceptions.py,sha256=rAkj8K5-AUf31kV8UlmNxQ5IN0m4CIL2qnI6ALas5Ys,1173
6
- quantaroute_geocoding/location_lookup.py,sha256=kMUceiQF6sUG_nmyH9UyXDO07xtyNZyPNsinsuv7TYg,11490
7
- quantaroute_geocoding/offline.py,sha256=HymAwPNp01oHifQrXZ5Qj8EVn7EwoeqxjczJxbMNuXE,9711
8
- quantaroute_geocoding-1.0.4.dist-info/licenses/LICENSE,sha256=QY7Uoe-MPRTjfyyDM3HOnqtuSqbzyPLATiriEaQ9u90,1068
9
- quantaroute_geocoding-1.0.4.dist-info/METADATA,sha256=ehVSo01AtkdHv00pLMsxZ5qr5zXqLXJKd55UDjS0ypk,15504
10
- quantaroute_geocoding-1.0.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
11
- quantaroute_geocoding-1.0.4.dist-info/entry_points.txt,sha256=cniijgPLz_Pb6Fiti6aOxaJp1BB_bv60ZOL_oitGCx8,71
12
- quantaroute_geocoding-1.0.4.dist-info/top_level.txt,sha256=_cyyFLwSH1wYB1HNs_LcZIDQRo1CnvoEsdnKz-cBCr4,22
13
- quantaroute_geocoding-1.0.4.dist-info/RECORD,,