Giter Site home page Giter Site logo

algo_s22's Introduction

Algo_S22

algo for assigning investigators to location

The first preference is given to the familiarity of investigator to a location. Next is the distance/time it will take to reach the destination. Other parameters will be added in the later stages of project.

installations: First to install mongoDB

wget -qO - https://www.mongodb.org/static/pgp/server-5.0.asc | sudo apt-key add -

echo "deb http://repo.mongodb.org/apt/debian buster/mongodb-org/5.0 main" | sudo tee /etc/apt/sources.list.d/mongodb-org-5.0.list

sudo apt-get update

sudo apt-get install -y mongodb-org

For more details about mongoDB installation refer https://docs.mongodb.com/manual/tutorial/install-mongodb-on-debian/ (since I used debian based OS)

Next install pymongo (I did that using pip which was not installed in my machine so I have added steps for that as well)

sudo apt-get install pip

sudo apt-get pip install --upgrade pip

sudo apt update

sudo apt install python3-pip

pip3 --version (to check version)

pip 22.0.2 from /usr/lib/python3/dist-packages/pip (python 3.9) (Versions I am using, including python version)

pip3 install pymongo

Before running the code change the user_id and password for mongoDB. Also, create apikey.txt file with Google Maps API key.

To run the python file in CLI:

python3 canvasser.py "String-Address" "String-name of Language"

algo_s22's People

Contributors

smritid007 avatar

Watchers

James Cloos avatar  avatar Jagath Jai Kumar avatar

Forkers

sne21star

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.