NepalDataScrapper

NepalDataScrapper Banner

A Python™/JavaScript™ project that scrapes data from websites to collect data about Nepal for further analysis through Pandas™ or LibreOffice™ sheets or Google Sheets™. Currently, scraping of the NEPSE share prices has been implemented.

Usage: Link to heading

Python™ Library: Link to heading

pip install nepaldatascrapper

Example Code Link to heading

import sys
from nepaldatascrapper import NEPSE

nepse = NEPSE()

def nepseSharePrice(symbol, date=""):
    return nepse.getSharePrice(symbol, date)

if __name__ == "__main__":
    print(nepseSharePrice("BPCL", "2020-07-01"))

Google Sheets™ Add-on / LibreOffice™ Calc Extension Link to heading

This is a simple Google Sheets™ add-on that adds custom functions in Google Sheets™ spreadsheets, making it easier to get Nepal-related data in Google Sheets™. Currently, it can retrieve NEPSE stock price data for you.

The add-on exposes custom functions that scrape NEPSE data from the web. Currently implemented custom functions:

  • NEPSETable(symbol, from, to)
  • NEPSEStockData(symbol, info=ClosingPrice, date)
  • NEPSEStockPrice(symbol)

Video Guide Link to heading

Privacy Policy Link to heading

The application only contains custom functions for your Google Sheets™ spreadsheets and does not store or share any user information anywhere.

The application also adheres to the Google™ API Services User Data Policy, including the Limited Use requirements.

Google™ OAuth Scope Requested and Purpose Link to heading

  • https://www.googleapis.com/auth/spreadsheets :: Enables the application to manipulate the Google Sheets™ spreadsheet on which it is enabled.
  • https://www.googleapis.com/auth/script.external_request :: Enables the application to fetch requested data from the web.

Terms of Service Link to heading

This product intends to ease the process of data collection by scraping user-required data from the web, and thus does not store or guarantee the validity of the data provided. Please use it at your own risk.


Google™, Google Sheets™, Google Workspace Marketplace™, and Google Workspace™ are trademarks of Google LLC.