Metadata-Version: 2.4
Name: market-data-feed
Version: 0.1.5
Summary: Indian market data: NSE, BSE, MCX + custom 1-minute OHLCV
Author-email: Praglitch <your-email@example.com>
License-Expression: MIT
Project-URL: Homepage, https://github.com/Praglitch/market-data-feed
Project-URL: Documentation, https://praglitch.github.io/market-data-feed-documentation_page/
Project-URL: Repository, https://github.com/Praglitch/market-data-feed
Project-URL: BugTracker, https://github.com/Praglitch/market-data-feed/issues
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pandas>=2.0.0
Requires-Dist: requests>=2.31.0
Requires-Dist: openpyxl>=3.1.0
Requires-Dist: curl-cffi>=0.7.0
Requires-Dist: google-api-python-client>=2.100.0
Requires-Dist: google-auth-oauthlib>=1.0.0
Requires-Dist: google-auth-httplib2>=0.1.0
Provides-Extra: s3
Requires-Dist: boto3>=1.28.0; extra == "s3"
Provides-Extra: polars
Requires-Dist: polars>=0.20.0; extra == "polars"
Provides-Extra: cloudflare
Requires-Dist: cloudscraper>=1.2.71; extra == "cloudflare"
Provides-Extra: all
Requires-Dist: boto3>=1.28.0; extra == "all"
Requires-Dist: polars>=0.20.0; extra == "all"
Requires-Dist: cloudscraper>=1.2.71; extra == "all"
Provides-Extra: dev
Requires-Dist: pytest; extra == "dev"
Requires-Dist: pytest-cov; extra == "dev"
Requires-Dist: ruff; extra == "dev"
Dynamic: license-file

# market-data-feed

**Unified Indian Market Data + Custom 1‑Minute OHLCV**

[![PyPI version](https://badge.fury.io/py/market-data-feed.svg)](https://pypi.org/project/market-data-feed/)
[![Python 3.9+](https://img.shields.io/badge/python-3.9+-blue.svg)](https://www.python.org/downloads/)
[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)

---

## 📦 Installation

```bash
pip install market-data-feed

🚀 Quick Start
python
import nsedata
import bsedata
import mcxdata
from customdata import get_scrip

# NSE: Daily Bhavcopy
nse = nsedata.nse
df = nse.get("capital_market", "equities_sme", "sec_bhavdata_full", "2026-06-30")
print(f"NSE: {len(df)} securities")

# BSE: SENSEX Historical
bse = bsedata.bse
df = bse.get_index("SENSEX", "2026-01-01", "2026-05-22")
print(f"BSE SENSEX: {len(df)} rows")

# MCX: Gold Spot Price
mcx = mcxdata.mcx
df = mcx.get_spot_recent(commodity="GOLD")
print(f"MCX Gold: {len(df)} rows")
📊 What This Package Gives You
Module	Source	What You Get
nsedata	NSE India	91 datasets — equities, F&O, debt, indices, SLB, EGR
bsedata	BSE India	55+ indices — SENSEX, BSE500, BANKEX, sectoral/thematic
mcxdata	MCX India	28 commodities — spot prices (recent + archive)
customdata	Google Drive	1‑minute OHLCV for Nifty 50 & 500 scrips and indices
🔐 Custom Data Setup (One‑Time)
customdata uses Google Drive. One‑time OAuth setup required.

Create a Google Cloud Project and enable the Drive API.

Create an OAuth 2.0 Desktop Client ID and download the JSON.

Place it as credentials/oauth_client.json in your working directory.

Run get_scrip() once — your browser will open for authentication.

📄 License
MIT — Data sourced from NSE India, BSE India, and MCX India.
+w

Happy Trading! 🚀

[![Documentation](https://img.shields.io/badge/docs-live-brightgreen)](https://praglitch.github.io/market-data-feed-documentation_page/)
