/Machine-Learning-Earthquake-Alternative-Routing-Detector-in-Automobiles

This application displays a list of recent earthquakes and alerts the user of the automobiles which instructs an alternative paths or routes for safety precautions, this application is developed to prevent casualties and avoid dangerous paths or routes in the Philippines.

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Machine-Learning-Earthquake-Alternative-Routing-Detector-in-Automobiles

Research and Development (R & D) Proposal | Surveying Global Positioning System (GPS)-based Machine Learning Earthquake Alternative Routing Detector in Automobiles using Django and Python

Developer - Carl Vincent A. Reyno


GitHub Workflow Status

Reference for Image - https://realpython.com/podcasts/rpp/


This application displays a list of recent earthquakes and alerts the user of the automobiles which instructs an alternative paths or routes for safety precautions, this application is developed to prevent casualties and avoid dangerous paths or routes in the Philippines.

Developing/Coding In Progress - Jupyter/Python/Django Workspace

import os, sys
PWD = os.getenv('PWD')

PROJ_MISSING_MSG = """Set an enviroment variable:\n
`DJANGO_PROJECT=your_project_name`\n
or call:\n
`init_django(your_project_name)`
"""

def init_django(project_name=None):
    os.chdir(PWD)
    project_name = project_name or os.environ.get('DJANGO_PROJECT') or None
    if project_name == None:
        raise Exception(PROJ_MISSING_MSG)
    sys.path.insert(0, os.getenv('PWD'))
    os.environ.setdefault('DJANGO_SETTINGS_MODULE', f'{project_name}.settings')
    os.environ["DJANGO_ALLOW_ASYNC_UNSAFE"] = "true"
    import django
    django.setup()