📈 Google Finance Scraper
A fast, lightweight, and educational Python package to fetch stock market data and news from Google Finance, returning clean and ready-to-use pandas DataFrames.
This project is built mainly for learning, analysis, and educational purposes, while also being useful for dashboards, research, and personal market tools.
✨ Key Features
- 📊 Fetch live stock data (price, change, high/low, volume, etc.)
- 📰 Fetch latest stock-related news
- 🌍 Supports Indian, US, Forex, and Crypto markets
- 🔁 Separate functions for stock data and news
- ⚡ Async-based for better performance
- 🧠 Clean pandas DataFrame output
- 🧪 Ideal for students, beginners, and developers learning market data analysis
🚀 Installation
Install the package directly using pip:
pip install google-finance-scraper
🧠 Symbol Format (Very Important)
Google Finance uses the following symbol format:
SYMBOL:EXCHANGE // TCS:NSE , AAPL:NASDAQ
📊 Fetch Stock Data
✅ Syntax
import asyncio
from google_finance_scraper import get_stock_data
stock_df = asyncio.run(get_stock_data("SYMBOL:EXCHANGE"))
print(stock_df)
📰 Fetch Stock News
✅ Syntax
import asyncio
from google_finance_scraper import get_stock_news
news_df = asyncio.run(get_stock_news("SYMBOL:EXCHANGE"))
print(news_df)
Metadata
Release files for google-finance-scraper 1.0.0
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 | |
|---|---|---|---|---|
| google_finance_scraper-1.0.0.tar.gz | 5.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| google_finance_scraper-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.5 kB
Release files / google_finance_scraper-1.0.0.tar.gz
| Download URL | google_finance_scraper-1.0.0.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b5ccab2e392a88237da07f792007963c7e5f7af4fa539df3f5c4ee0fb4ab498a
|
|
BLAKE2b-256 checksum How to use checksums |
bd81803217589aa4b2e96a5a456d196a56a7ee3ca088193435f7b806aa3804f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Release files / google_finance_scraper-1.0.0-py3-none-any.whl
| Download URL | google_finance_scraper-1.0.0-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9d8d186a16f99e53816a0e145e25b376a3fce735f4d7e0e774a45c4ee8c74709
|
|
BLAKE2b-256 checksum How to use checksums |
77bafbb8e81a9cb012fe2efb68e80d5b94255314913fc2a422330e0f07058378
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Security for google-finance-scraper 1.0.0
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.