Skip to main content

A scraper for https://www.nseindia.com

Project description

PyPI Version Python Versions

nsescraper is an open-source python package to scrap data from nseindia.com.

Installation

To install using pip, use

pip install nsescraper

nsescraper requires Python 3 and Pandas to execute.

Features:

nsescraper package contains different functions such as:

  • intraday_index: Scrapes intra day data for any index from NSE
  • intraday_stock: Scrapes intra day data for any listed stock from NSE

Usage

  • Import the library:
from nsescraper import *
  • Choose a method:

To scrap current days nse index/stock data as 1 minute candle format

intraday_index("nifty 50")
intraday_stock("britannia")

To scrap current days nse index/stock data as 1 second tick format

intraday_index("nifty midcap 100", tick= True)
intraday_stock("dr reddy", tick= True)

To scrap current days nse index/stock data as required length minute candle

intraday_index("nifty energy", candlestick= 10)
intraday_stock("Zomato", candlestick= 69)

To scrap historical nse index/stock data

historical_index('NIFTY 50')
historical_stock('ABB')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nsescraper-0.0.7.tar.gz (11.0 kB view details)

Uploaded Source

Built Distribution

nsescraper-0.0.7-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

Details for the file nsescraper-0.0.7.tar.gz.

File metadata

  • Download URL: nsescraper-0.0.7.tar.gz
  • Upload date:
  • Size: 11.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for nsescraper-0.0.7.tar.gz
Algorithm Hash digest
SHA256 6b6d4b65da56827b41aa7eac24d84b24c65bd96cc6feb0c2606550814056d5a1
MD5 7cc389227a245efb3e9c2fd5f163e9e0
BLAKE2b-256 54fad49c7b7d19e7b2f8f8262d7363f23bebc213300747b41bdcf4acb9dbfea5

See more details on using hashes here.

File details

Details for the file nsescraper-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: nsescraper-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 15.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for nsescraper-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 1ff0ca1979073d137bffb1ae7dfe5f3e53f457b7be4493e17884fb6c870a0264
MD5 f7740c5982c5db3d42cff890c1ed26f2
BLAKE2b-256 7d053f258c748e95e5d47ec534e77f3c9b864c64515498b765b5219da3a8b599

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page