nsescraper


Namensescraper JSON
Version 0.0.6 PyPI version JSON
download
home_pagehttps://github.com/U77w41/
SummaryA Scraper for https://www.nseindia.com
upload_time2024-02-03 13:07:46
maintainer
docs_urlNone
authorUjjwal Chowdhury
requires_python>=3.6
licenseMIT
keywords python nse nifty scraping
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <!-- ```text

███    ██ ███████ ███████ ███████  ██████ ██████   █████  ██████  ███████ ██████  
████   ██ ██      ██      ██      ██      ██   ██ ██   ██ ██   ██ ██      ██   ██ 
██ ██  ██ ███████ █████   ███████ ██      ██████  ███████ ██████  █████   ██████  
██  ██ ██      ██ ██           ██ ██      ██   ██ ██   ██ ██      ██      ██   ██ 
██   ████ ███████ ███████ ███████  ██████ ██   ██ ██   ██ ██      ███████ ██   ██ 
                                                                            
``` -->
<div align="center">
	<img src="https://raw.githubusercontent.com/U77w41/nsescraper/e9f646316e88cabc14178279459e3066a5fcf5a9/nsescraper/nsescraper.svg" />
</div>
<p align="center">
  <a href="https://pypi.org/project/nsescraper"><img alt="PyPI Version" src="https://img.shields.io/pypi/v/nsescraper.svg?maxAge=86400" /></a>
  <a href="https://pypi.org/project/nsescraper"><img alt="Python Versions" src="https://img.shields.io/pypi/pyversions/nsescraper.svg?maxAge=86400" /></a>
</p>

**nsescraper** is a an open-source python package to clean raw text data.

## Installation

To install using pip, use

``` python
pip install nsescraper
```

**nsescraper** requires [Python 3](https://www.python.org/) and [Pandas](https://pandas.pydata.org/) 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**:

``` python
from nsescraper import *
```

* **Choose a method:**

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

``` python
intraday_index("nifty 50")
```

``` python
intraday_stock("britannia")
```

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

``` python
intraday_index("nifty midcap 100", tick= True)
```

``` python
intraday_stock("dr reddy", tick= True)
```

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

```python
intraday_index("nifty energy", candlestick= 10)
```

```python
intraday_stock("Zomato", candlestick= 69)
```

To scrap historical nse index/stock data

```python
historical_index('NIFTY 50')
```

```python
historical_stock('ABB')
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/U77w41/",
    "name": "nsescraper",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "python,NSE,NIFTY,scraping",
    "author": "Ujjwal Chowdhury",
    "author_email": "<u77w41@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/8c/77/eb535ba161110414fd4392d5714d2753f81fb8108471b717b7c68fceec99/nsescraper-0.0.6.tar.gz",
    "platform": null,
    "description": "<!-- ```text\n\n\u2588\u2588\u2588    \u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588  \u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588   \u2588\u2588\u2588\u2588\u2588  \u2588\u2588\u2588\u2588\u2588\u2588  \u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588  \n\u2588\u2588\u2588\u2588   \u2588\u2588 \u2588\u2588      \u2588\u2588      \u2588\u2588      \u2588\u2588      \u2588\u2588   \u2588\u2588 \u2588\u2588   \u2588\u2588 \u2588\u2588   \u2588\u2588 \u2588\u2588      \u2588\u2588   \u2588\u2588 \n\u2588\u2588 \u2588\u2588  \u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588   \u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588      \u2588\u2588\u2588\u2588\u2588\u2588  \u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588  \u2588\u2588\u2588\u2588\u2588   \u2588\u2588\u2588\u2588\u2588\u2588  \n\u2588\u2588  \u2588\u2588 \u2588\u2588      \u2588\u2588 \u2588\u2588           \u2588\u2588 \u2588\u2588      \u2588\u2588   \u2588\u2588 \u2588\u2588   \u2588\u2588 \u2588\u2588      \u2588\u2588      \u2588\u2588   \u2588\u2588 \n\u2588\u2588   \u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588  \u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588   \u2588\u2588 \u2588\u2588   \u2588\u2588 \u2588\u2588      \u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588   \u2588\u2588 \n                                                                            \n``` -->\n<div align=\"center\">\n\t<img src=\"https://raw.githubusercontent.com/U77w41/nsescraper/e9f646316e88cabc14178279459e3066a5fcf5a9/nsescraper/nsescraper.svg\" />\n</div>\n<p align=\"center\">\n  <a href=\"https://pypi.org/project/nsescraper\"><img alt=\"PyPI Version\" src=\"https://img.shields.io/pypi/v/nsescraper.svg?maxAge=86400\" /></a>\n  <a href=\"https://pypi.org/project/nsescraper\"><img alt=\"Python Versions\" src=\"https://img.shields.io/pypi/pyversions/nsescraper.svg?maxAge=86400\" /></a>\n</p>\n\n**nsescraper** is a an open-source python package to clean raw text data.\n\n## Installation\n\nTo install using pip, use\n\n``` python\npip install nsescraper\n```\n\n**nsescraper** requires [Python 3](https://www.python.org/) and [Pandas](https://pandas.pydata.org/) to execute.\n\n## Features:\n\n**nsescraper** package contains different functions such as:\n\n- **intraday_index**: Scrapes intra day data for any index from NSE\n- **intraday_stock**: Scrapes intra day data for any listed stock from NSE\n\n## Usage\n\n* **Import the library**:\n\n``` python\nfrom nsescraper import *\n```\n\n* **Choose a method:**\n\nTo scrap current days nse index/stock data as 1 minute candle format\n\n``` python\nintraday_index(\"nifty 50\")\n```\n\n``` python\nintraday_stock(\"britannia\")\n```\n\nTo scrap current days nse index/stock data as 1 second tick format\n\n``` python\nintraday_index(\"nifty midcap 100\", tick= True)\n```\n\n``` python\nintraday_stock(\"dr reddy\", tick= True)\n```\n\nTo scrap current days nse index/stock data as required length minute candle\n\n```python\nintraday_index(\"nifty energy\", candlestick= 10)\n```\n\n```python\nintraday_stock(\"Zomato\", candlestick= 69)\n```\n\nTo scrap historical nse index/stock data\n\n```python\nhistorical_index('NIFTY 50')\n```\n\n```python\nhistorical_stock('ABB')\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A Scraper for https://www.nseindia.com",
    "version": "0.0.6",
    "project_urls": {
        "Homepage": "https://github.com/U77w41/"
    },
    "split_keywords": [
        "python",
        "nse",
        "nifty",
        "scraping"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "31c8f2cf7de852fdd28b33af1bd49322dc6cbf7c681ee96e5590853a83fb636c",
                "md5": "728c2326f398f25438f0c232ea8705a0",
                "sha256": "0efa0a8e2295a8a38e6b9f5160510a6c6f1ce1b12f77f2d590383634d2519869"
            },
            "downloads": -1,
            "filename": "nsescraper-0.0.6-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "728c2326f398f25438f0c232ea8705a0",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 15591,
            "upload_time": "2024-02-03T13:07:43",
            "upload_time_iso_8601": "2024-02-03T13:07:43.380338Z",
            "url": "https://files.pythonhosted.org/packages/31/c8/f2cf7de852fdd28b33af1bd49322dc6cbf7c681ee96e5590853a83fb636c/nsescraper-0.0.6-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8c77eb535ba161110414fd4392d5714d2753f81fb8108471b717b7c68fceec99",
                "md5": "827e400c782fbfdcbf69c05edf0f557d",
                "sha256": "d7da434eac17207d5b32fadf074add2194b81db91780b8c3113fc9ce87210c0d"
            },
            "downloads": -1,
            "filename": "nsescraper-0.0.6.tar.gz",
            "has_sig": false,
            "md5_digest": "827e400c782fbfdcbf69c05edf0f557d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 11439,
            "upload_time": "2024-02-03T13:07:46",
            "upload_time_iso_8601": "2024-02-03T13:07:46.283410Z",
            "url": "https://files.pythonhosted.org/packages/8c/77/eb535ba161110414fd4392d5714d2753f81fb8108471b717b7c68fceec99/nsescraper-0.0.6.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-03 13:07:46",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "nsescraper"
}
        
Elapsed time: 0.18775s