Git Product home page Git Product logo

place2live's Introduction

Alt text

Maintenance made-with-python made-with-python GitHub contributors GitHub stars GitHub forks GitHub issues Maintainability BCH compliance Total alerts Language grade: Python Codacy Badge Python 3 Updates

This project gives you a list of countries with a higher quality of life. The analysis is performed based on numbeo's data. Additionally, freedomhouse's score for each country is included.

  1. About Quality of Life Indices -

    The Quality of Life Index (higher is better) is an estimation of overall quality of life by using an empirical formula which takes into account:

    1. purchasing power index (higher is better)
    2. safety index (higher is better)
    3. health care index (higher is better)
    4. climate index (higher is better)
    5. cost of living index (lower is better)
    6. house price to income ratio (lower is better)
    7. traffic commute time index (lower is better)
    8. pollution index (lower is better)
  2. Also integrated into the score is the Freedomhouse aggregate Score (0=Least Free, 100=Most Free)

Want to see where the quality of life is higher?

  1. Install Python 3.7. Earlier versions will not work.
  2. Create and activate the virtual environment: python3 -m venv /path/to/new/virtual/environment. The path can be any directory not currently in use. If you type a directory name that doesn't exist, one will be created. You can read more about it here.
  3. Install requirements pip install -r requirements.txt
    These can be found in requirements.txt if you need to install them one-by-one. They include:
    • pandas==0.25.1
    • pre-commit==1.18.3
  4. python where.py will run the application.

Note: if you run into a problem getting this to work, try the following at the command line (in the place2live directory):

  1. python3 -m venv env
  2. source env/bin/activate
  3. pip install -r requirements.txt
  4. python where.py

Hopefully that will resolve the issue.

run the script

Running with Docker

Instead of installing Python yourself, this script can also be run with Docker:

docker build -t place2live .
docker run -it place2live # Runs the container in interactive mode, so the script has access to stdin of the host machine

โœ‹ Contributing

Contributions are always welcomed. ๐Ÿ˜ƒ Feel free to raise new issues, file new PRs and star and fork this repo! ๐Ÿ˜‰

To follow the guidelines, refer to Contributing.md

place2live's People

Contributors

serhii73 avatar confuzedcoder avatar rosdyana avatar pyup-bot avatar haksoat avatar bz-hadjer avatar dependabot-preview[bot] avatar roprashar avatar undef1nd avatar schattian avatar nikitaden03 avatar paulevans8669 avatar sam1320 avatar martin-fink avatar yusrilia avatar v-apor avatar eclecticexistential avatar barhenkro avatar aredshaw avatar xavierrollet avatar renovate-bot avatar imgbotapp avatar gunjanraval avatar igorkruglyak avatar codacy-badger avatar viyanateaa avatar molnarjani avatar renovate[bot] avatar mend-bolt-for-github[bot] 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.