Skip to content

Terror threat map using Predict HQ API to map events via json and python

Notifications You must be signed in to change notification settings

ebland/predicthq

Repository files navigation

Predict HQ API Threat Map Data

Description

Visualization of natural disasters and terror events over a 30 day period on a global map

Install and Configuration

Currently works in Python 3.6 and above

Please first install dependencies before running

# Clone the repository 
> git clone https://github.com/ebland/predithq

# Change directories to the project dir
> cd predicthq
>

# Install dependencies (takes maybe 5 minutes)
> pip3 install -r requirements.txt 

# Start the Flask backend
> python app.py
Running on http://127.0.0.1:8050/
Debugger PIN: ***-***-***
 * Serving Flask app "app" (lazy loading)
 * Environment: production
   WARNING: Do not use the development server in a production environment.
   Use a production WSGI server instead.
 * Debug mode: on
Running on http://127.0.0.1:8050/
Debugger PIN: ***-***-***

Backend

<iframe height="400px" width="100%" src="https://repl.it/@elizabethbland/predicthqchallengebackend?lite=true" scrolling="no" frameborder="no" allowtransparency="true" allowfullscreen="true" sandbox="allow-forms allow-pointer-lock allow-popups allow-same-origin allow-scripts allow-modals"></iframe>

https://repl.it/@elizabethbland/predicthqchallengebackend

Frontend

<iframe height="400px" width="100%" src="https://repl.it/@elizabethbland/predicthqchallengefrontend?lite=true" scrolling="no" frameborder="no" allowtransparency="true" allowfullscreen="true" sandbox="allow-forms allow-pointer-lock allow-popups allow-same-origin allow-scripts allow-modals"></iframe>

About

Terror threat map using Predict HQ API to map events via json and python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages