DEV Community

Cover image for I Published the Python Package on PyPi : pip install google-address-to-latlong-csv
Shrikant Dhayje
Shrikant Dhayje

Posted on • Updated on • Originally published at codewithshriekdj.netlify.app

I Published the Python Package on PyPi : pip install google-address-to-latlong-csv

So today I Published an python package first time in my life.

Now 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.

I Created this Package With very simple program of Poetry.

So Now Poetry is an Virtual Environment Manager Just Like Pipenv or Virtual Env But with It's Own Way of creating wheel for our Project and also it helps us to publish the package.

How to Publish a Python package with help of poetry

  • Make your project in a folder with __init__.py file and goto parent of that package_name_folder
  • run poetry build
  • run poetry publish
  • It will ask credentials of pypi.org so fill it and your package published

GitHub logo shriekdj / google_address_to_latlong_csv

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.

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

Goto CSV File Link

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 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,

you can install the package by running

pip install google-address-to-latlong-csv
Enter fullscreen mode Exit fullscreen mode

pip install google-address-to-latlong-csv

I Know I Am writing this post after too much time, because i actually didn't have that many article topics so i just didn't published some unnecessary stuffs. But I Have Now some topics to cover so just wait for it.

Thanks bye, 👋

Top comments (0)