Skip to main content

This is an Python 3 Program which gets the list of data of addresses from an csv file and gives an output as csv with additional fields of latitude and longitude of the address provided by google GeoCoding API.

Project description

google_address_to_latlong_csv

What it does

This is a Python 3 Package which gets the list of data of addresses from an csv file and gives an output as csv with additional fields of latitude and longitude of the address provided by google GeoCoding API.

Requirements

  • Python 3 Installed
  • Have Google API Key of Google GeoCoding API You can get it from Google Cloud Console

Same Package for venv, pipenv and poetry

Sample Input CSV File

ID,Address
1,"Nehru Nagar, Pimpri, Pune, Opp Sheetal Hotel, Pune, 411018"
2,"Rahatani Main Road, Rahatani, Pune, Near Baliraj Garden, Pune, 411017"
3,"Chinchwad East, Pune, Near Thermax Chowk, Pune, 411019"
4,"Shop No 7/61/2, Tapavan Road, Pimpri Gaon-Pimpri, Pune, Near Tapavan, Pune, 411018"
5,"Chinchwad, Pune, Near Post Office Chaphekar Chowk, Pune, 411033"
6,"Pune, Maharashtra, India, Pune, 411038"
7,"New Sanghvi Rd, Sangavi, Pune, Near Famous Chowk, Pune, 411027"
8,"Moshi, Pune, Nageshwar Nagar, Pune, 412105"
9,"Near Chintamani Chowk, Pune, 411035"
10,"Nigdi, Pune, Next Om Swadish Bhel, Pune, 411044"

How to use the Package

Just Install with pip install google-address-to-latlong-csv

And in your Python Program run Given Below Commands

from google_address_to_latlong_csv import AddressToLatLong

app = AddressToLatLong(input_csv_file="input.csv", output_csv_file="output.csv", google_api_key="google_api_key")

app.run()

the variable name app is not mandatory you can give any name to variable

If Any Issues occured raise GitHub Issue on issues or Contact Me via mail.

My Name Is Shrikant Dhayje. My GitHub Username Is shriekdj. My Official Email Id Is shrikantdhayaje@gmail.com

I Will Try to Give Response Within 24 Hours.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

google_address_to_latlong_csv-0.1.4.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file google_address_to_latlong_csv-0.1.4.tar.gz.

File metadata

File hashes

Hashes for google_address_to_latlong_csv-0.1.4.tar.gz
Algorithm Hash digest
SHA256 fde6956e48cb1e75f3414d4ad854b418b1bee2cce53829968a4a6692d1241487
MD5 3f17c010192a7c58a813e6618cb58ee6
BLAKE2b-256 e60cadd3f1eda0711a83fd93be615c33cb65071324bc82171e5cdc4d6b73f7cc

See more details on using hashes here.

File details

Details for the file google_address_to_latlong_csv-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for google_address_to_latlong_csv-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 85a9e4abc6b61454942235ee91465df3582eb648030646e48c152b2754ec2a97
MD5 07578f3bb6bdefd3c2718c14c221e9b1
BLAKE2b-256 ce1d857829894dee779b01d86f267526a84a9d4fced3f56ba680baf5c07a42a2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page