Giter Site home page Giter Site logo

ayushsharmadhital / nepalese_stock_data_scrapping Goto Github PK

View Code? Open in Web Editor NEW

This project forked from prabhat-123/nepalese_stock_data_scrapping

1.0 0.0 1.0 6.63 MB

This repository focuses on web scraping of Nepalese Stock Market (Share Bazar Nepal) data using beautiful soup and request library in python. After scraping the data,we use those scraped data to make a webapp using Django.

License: MIT License

JavaScript 27.50% Python 2.68% CSS 34.97% HTML 34.85%

nepalese_stock_data_scrapping's Introduction

Nepalese_stock_data_scraping

HOW TO RUN THIS PROJECT

1. Download the repository or clone it.

https://github.com/prabhat-123/Nepalese_stock_data_scraping.git

2. After downloading, you have to open Command prompt/Anaconda prompt/Visual studio terminal to run this project.

3. Before running any files, you have to set up virtual environment in the directory where the project is located and

install all the dependenices required for this project.

Creating virtual environment enable us to install the dependencies virtually for this project only without affecting the python dependencies on your computer.

A virtual environment is a tool that helps to keep dependencies required by different projects separate by creating isolated python virtual environments for them.

For installing virtual environment on command prompt and visual studio terminal:

i) First of all you have to install virtual environment tool to create one.

For installation:

On Windows:

  python -m pip install --user virtualenv

On MacOS or Linux:

  py -m pip install --user virtualenv

For installing virtual environment on Anaconda Prompt:

   conda install -c anaconda virtualenv
ii) After installing virtual environment, you have to install all the dependencies required to run this project in your virtual environment. For doing so you have to follow the following steps:

First of all, you have to change your working directory to the location of this repository in your computer by using the following command:

    cd /*location to the repository */
    e.g cd E:/sharemarket_project (location to the repository in local computer)

After changing the working directory to the current repository/project create a virtual environment by using the following commands: On Windows:

 python -m venv venv 

Here venv is the name of the environment you like to choose.

 On Linux or Mac:
 python3 -m venv venv
ii) After creating a virtual environment in a working directory, you need to activate the virtual environment:

Window Users:

   venv\Scripts\activate

This command will activate the virtual environment on the working directory.

Now you need to install all the requirements and dependencies for running this project.

Install the dependencies by seeing the requirements.txt file.

pip install numpy (for install numpy)

pip install pandas (for installing pandas)

pip install requests (for sending HTTP Request to server)

pip install beautifulsoup4 (a scrapping library)

pip install django

Check other dependenices on requirements.txt and install it.

Shortcut to download all the dependencies:

pip install -r requirements.txt

It will download all the requirements listed in requirements.txt. But the project will not work if the version of python is different. And try installing all the dependencies by following the above instructions if it does not work.

Change the working directory to 'stockmarket/' where 'manage.py' file is located and Finally, run the project using the command:

  python manage.py runserver

How the Project Website look like?

nepalese_stock_data_scrapping's People

Contributors

prabhat-123 avatar

Stargazers

Ashok Pudasaini avatar

Forkers

ashokpds15

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.