Coder Social home page Coder Social logo

vaishya26 / flask-folium Goto Github PK

View Code? Open in Web Editor NEW
12.0 4.0 1.0 138 KB

An easiest way to plot maps using python(Flask Framework) and Folium without using any Cloud Api's.

Python 37.32% HTML 62.68%
flask flask-restful flask-socketio folium folium-maps google-maps rest-api latitude-and-longitude tracking location-tracking

flask-folium's Introduction

Flask-Folium

An easiest way to plot maps with Live Location using python(Flask Framework) and Folium without using any Cloud Api's.

Step [1]. pip install -r requirements.txt

Step [2]. Configure your database from where you will be retrieving latitudes and longitudes. (In flaskapp.py)

Step [3]. Your map.html file will be created or updated under /templates every time whenever function map() is triggered and when route /mapview is requested on server.

flask-folium's People

Contributors

dependabot[bot] avatar vaishya26 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

zejose

flask-folium's Issues

sql statement not safe

i know this is just a mockup but for the record line 131 flaskapp.py there's this line:
sql = "SELECT * FROM harshit_aws WHERE box_no = %s ORDER BY id desc limit 1"
which is very vulnerable to injection attacks. use prepared statements or templates like django i think.

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.