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 Bulk/Block deals data
from nsescraper import Stock
stock = Stock('usha mart')
stock.bulk_deals()
To scrap trading reports
from nsescraper import Stock
stock = Stock('usha mart')
stock.trade_reports()
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')
Metadata
Release files for nsescraper 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nsescraper-0.0.8.tar.gz | 16.0 kB | Without provenance | Details for nsescraper-0.0.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nsescraper-0.0.8-py3-none-any.whl | Python 3 | none | any | Details for nsescraper-0.0.8-py3-none-any.whl |
Total release size: 37.2 kB
Release files / nsescraper-0.0.8.tar.gz
| Download URL | nsescraper-0.0.8.tar.gz |
|---|---|
| Size | 16.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7968716ffc09a9300c8766fadd2c748d13a58c8df3dc7651234c67d800779588
|
|
BLAKE2b-256 checksum How to use checksums |
3bd47f93ee4360f1576332cdb7d698f03f40c61c507dd3183b694ffc905d7ac0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / nsescraper-0.0.8-py3-none-any.whl
| Download URL | nsescraper-0.0.8-py3-none-any.whl |
|---|---|
| Size | 21.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
74e33661f0864b18cff97a88573d7cd75f8ae754a1e0c10743150e843645d1bf
|
|
BLAKE2b-256 checksum How to use checksums |
1730fa633f23d59510156a54fdb9c2bf70791041d8b2586b6d72bb6e41bf42b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Security for nsescraper 0.0.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.