stockanalysis-scraper


Namestockanalysis-scraper JSON
Version 1.0.0 PyPI version JSON
download
home_pagehttps://github.com/darkshloser/stockanalysis-scraper
SummaryA web scraper for different market data and news from https://stockanalysis.com/
upload_time2024-08-18 14:42:15
maintainerNone
docs_urlNone
authorDobromir Kovachev
requires_python>=3.6
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Stock Analysis Scraper

This project is a Python-based web scraper designed to extract relevant stock information from the Stock Analysis website. It utilizes `BeautifulSoup` to parse HTML content and extract specific data points, such as market capitalization, revenue, industry, sector, and more. Additionally, it can extract pre-market gainers, after-hours gainers, and all news articles related to stocks.

## Features

-   Extracts stock information including:
    -   Market Capitalization
    -   Revenue (TTM)
    -   Net Income (TTM)
    -   Shares Outstanding
    -   EPS (TTM)
    -   P/E Ratio
    -   Dividend Information
-   Extracts profile details such as:
    -   Industry
    -   Sector
    -   IPO Date
    -   Number of Employees
    -   Stock Exchange
    -   Ticker Symbol
-   Extracts lists of:
    -   **Pre-Market Gainers**: Stocks with the highest gains during pre-market trading.
    -   **After-Hours Gainers**: Stocks with the highest gains during after-hours trading.
    -   **All News**: Recent news articles related to the stock market and specific stocks.
-   Outputs the extracted data as a dictionary for easy integration with other applications or storage solutions.

## Prerequisites

Before running the scraper, ensure you have the following installed:

-   Python 3.6+
-   `BeautifulSoup4`
-   `lxml` (optional but recommended for faster HTML parsing)

You can install the required Python packages using `pip`:

```bash
pip install beautifulsoup4 lxml
```



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/darkshloser/stockanalysis-scraper",
    "name": "stockanalysis-scraper",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": null,
    "author": "Dobromir Kovachev",
    "author_email": "dobromir.mail@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/44/4a/e223f499ec313ec770a8d8b3068b27988ea7c89d469505adbea145a82b98/stockanalysis_scraper-1.0.0.tar.gz",
    "platform": null,
    "description": "# Stock Analysis Scraper\n\nThis project is a Python-based web scraper designed to extract relevant stock information from the Stock Analysis website. It utilizes `BeautifulSoup` to parse HTML content and extract specific data points, such as market capitalization, revenue, industry, sector, and more. Additionally, it can extract pre-market gainers, after-hours gainers, and all news articles related to stocks.\n\n## Features\n\n-   Extracts stock information including:\n    -   Market Capitalization\n    -   Revenue (TTM)\n    -   Net Income (TTM)\n    -   Shares Outstanding\n    -   EPS (TTM)\n    -   P/E Ratio\n    -   Dividend Information\n-   Extracts profile details such as:\n    -   Industry\n    -   Sector\n    -   IPO Date\n    -   Number of Employees\n    -   Stock Exchange\n    -   Ticker Symbol\n-   Extracts lists of:\n    -   **Pre-Market Gainers**: Stocks with the highest gains during pre-market trading.\n    -   **After-Hours Gainers**: Stocks with the highest gains during after-hours trading.\n    -   **All News**: Recent news articles related to the stock market and specific stocks.\n-   Outputs the extracted data as a dictionary for easy integration with other applications or storage solutions.\n\n## Prerequisites\n\nBefore running the scraper, ensure you have the following installed:\n\n-   Python 3.6+\n-   `BeautifulSoup4`\n-   `lxml` (optional but recommended for faster HTML parsing)\n\nYou can install the required Python packages using `pip`:\n\n```bash\npip install beautifulsoup4 lxml\n```\n\n\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A web scraper for different market data and news from https://stockanalysis.com/",
    "version": "1.0.0",
    "project_urls": {
        "Homepage": "https://github.com/darkshloser/stockanalysis-scraper"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "20325d1bfb11985cedf5580af12a336f6bdbe1f97a8d57391b3e97ea03b07c87",
                "md5": "fd978d53808c20a31f1a504f0dd94784",
                "sha256": "6fecd4632d98518e64727ac208c8b9c58e145fe0ecacdca2a5ce8c8a250e2219"
            },
            "downloads": -1,
            "filename": "stockanalysis_scraper-1.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "fd978d53808c20a31f1a504f0dd94784",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 3153,
            "upload_time": "2024-08-18T14:42:14",
            "upload_time_iso_8601": "2024-08-18T14:42:14.446740Z",
            "url": "https://files.pythonhosted.org/packages/20/32/5d1bfb11985cedf5580af12a336f6bdbe1f97a8d57391b3e97ea03b07c87/stockanalysis_scraper-1.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "444ae223f499ec313ec770a8d8b3068b27988ea7c89d469505adbea145a82b98",
                "md5": "cc2747970a97a41c7234f927a2d367b0",
                "sha256": "a42691239f4703b7922bdce9cc99df860c6d226aae2b8f735f2881a267269922"
            },
            "downloads": -1,
            "filename": "stockanalysis_scraper-1.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "cc2747970a97a41c7234f927a2d367b0",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 2812,
            "upload_time": "2024-08-18T14:42:15",
            "upload_time_iso_8601": "2024-08-18T14:42:15.781908Z",
            "url": "https://files.pythonhosted.org/packages/44/4a/e223f499ec313ec770a8d8b3068b27988ea7c89d469505adbea145a82b98/stockanalysis_scraper-1.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-18 14:42:15",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "darkshloser",
    "github_project": "stockanalysis-scraper",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "stockanalysis-scraper"
}
        
Elapsed time: 0.28654s