Giter Site home page Giter Site logo

easy-move's Introduction

Easy Move Project Documentation

Project Overview

Project Name: Easy Move Tag Line: Simplifying Your Journey: Efficient Routes and Weather Insights

Team Members

  • Sideeg Mohammed: Fullstack Developer

introdutcin

The Easy Move project aims to address the challenge of finding the shortest route and obtaining weather conditions for a user's desired destination.

you can see live demo on 54.173.31.153:5000/

Technologies Used

  • Programming Language: Python
  • Libraries/Frameworks: Flask (for web application), Requests (for API calls), Geopy (for location-based calculations), OpenWeatherMap API (for weather data)
    • Resources: Code editor (e.g., Visual Studio Code), version control system (e.g., Git), web browser

Existing Solutions

  • Google Maps: Similar in providing routes but lacks weather information.

  • Waze: Offers real-time traffic data but lacks weather information.

  • Weather.com: Provides weather forecasts but lacks route planning.


    Installation

Python Version

We recommend using the latest version of Python. Flask supports Python 3.8 and newer. Dependencies

These distributions will be installed automatically when installing Flask.

Werkzeug implements WSGI, the standard Python interface between applications and servers.

Jinja is a template language that renders the pages your application serves.

MarkupSafe comes with Jinja. It escapes untrusted input when rendering templates to avoid injection attacks.

ItsDangerous securely signs data to ensure its integrity. This is used to protect Flask’s session cookie.

Click is a framework for writing command line applications. It provides the flask command and allows adding custom management commands.

Blinker provides support for Signals.

Optional dependencies

These distributions will not be installed automatically. Flask will detect and use them if you install them.

python-dotenv enables support for Environment Variables From dotenv when running flask commands.

Watchdog provides a faster, more efficient reloader for the development server.

greenlet

You may choose to use gevent or eventlet with your application. In this case, greenlet>=1.0 is required. When using PyPy, PyPy>=7.3.7 is required.

These are not minimum supported versions, they only indicate the first versions that added necessary features. You should use the latest versions of each.

Virtual environments

Use a virtual environment to manage the dependencies for your project, both in development and in production.

What problem does a virtual environment solve? The more Python projects you have, the more likely it is that you need to work with different versions of Python libraries, or even Python itself. Newer versions of libraries for one project can break compatibility in another project.

Virtual environments are independent groups of Python libraries, one for each project. Packages installed for one project will not affect other projects or the operating system’s packages.

Python comes bundled with the venv module to create virtual environments. Create an environment

Create a project folder and a .venv folder within:

>>> mkdir easy_move

>>> cd easy_move

>>> py -3 -m venv .venv

Activate the environment

Before you work on your project, activate the corresponding environment:

>>> .venv\Scripts\activate

Your shell prompt will change to show the name of the activated environment.

Install Flask

Within the activated environment, use the following command to install Flask:

$ pip install Flask

Usage

install dependces

$ venv/bin/pip -r requirments.txt

run the app

$ venv/bin/python main.py

** now open 127.0.0.1:5000 and enjoy the app **

easy-move's People

Contributors

sideeg avatar lawalgodwin avatar

Watchers

 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.