- PostgreSQL
- DBT
- Prefect
- Snowflake
- Automation and Orchestration
- MLops
- Other topics
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
""" | |
# Python Flask Folium GeoJson Leaflet Ajax (Jquery) Sample | |
I couldn't find a simple example of how to combine Folium with an AJAX / getJson call. | |
1. Generate Folium Map with some static map features | |
2. Render to Template View with `render_template_string` | |
3. jquery Ajax call polls `/geojson` with `getJson` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang="en"> | |
<head> | |
<!-- Required meta tags --> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
<!-- cache killer for development --> | |
<meta http-equiv="Pragma" content="no-cache"> | |
<title>Hello, World!</title> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Quick Virtualenv | |
sudo apt-get install python3-pip python3-virtualenv | |
virtualenv .venv && source .venv/bin/activate | |
which pip # .venv/bin/pip | |
pip install -r requirements | |
# CSV |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder