Giter Site home page Giter Site logo

tonyschneider / flask_geocoding_integration Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 13 KB

Flask Geocoding Integration is a Python web application created by Tony Schneider that provides an interface for geocoding addresses using the Google Maps API. The application is built using the Flask microframework and includes a user interface that allows users to input an address and receive the corresponding latitude and longitude coordinates.

Python 100.00%

flask_geocoding_integration's Introduction

Flask & Geocoding Integration

Flask Geocoding Integration is a Python web application created by Tony Schneider that provides an interface for geocoding addresses using the Google Maps API. The application is built using the Flask microframework and includes a user interface that allows users to input an address and receive the corresponding latitude and longitude coordinates.

The application utilizes the Google Maps Geocoding API to retrieve the coordinates for a given address. The API key is required for usage and can be obtained from the Google Cloud Console. The application includes error handling for invalid or incomplete addresses and can handle multiple address formats.

Requirements

  • Python Version >= 3.7.4
  • MySQL Server
  • MySQL Workbench
  • Please see requirements.txt file that includes all necessary pip installations!

How to run? + install

  • Import the mysql_structure.sql to the workbench
  • Python3 -m pip install -r requirement.txt
  • Define the following environment variables:
    • MYSQL_IP
    • MYSQL_USER
    • MYSQL_PASS
    • GEOCODING_API_KEY
    • HOLIDAY_API_KEY
  • Run python3 client.py

Project Organization

├── requirements.txt         <- Requirements file (pip installations).
├── mysql_structure.sql      <- All necessary SQL tables and schemas.
├── client.py                <- Main file. This file executes the project.
|── wrappers           
   '── db_wrapper.py         <- wraps all DB (MySQL) functionality.

Authors

flask_geocoding_integration's People

Contributors

tonyschneider avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.