Metadata-Version: 2.4
Name: korea-intelligence
Version: 0.1.1
Summary: Official Python SDK & AI Agent Tool for Korea High-Value Industrial Intelligence & B2A Data Bazaar (14M+ Records)
Home-page: https://husband-voltage-bass-incidents.trycloudflare.com
Author: JKyung Agent Bazaar
Author-email: JKyung Agent Bazaar <ops@jkyung.org>
Project-URL: Homepage, https://husband-voltage-bass-incidents.trycloudflare.com
Project-URL: Documentation, https://huggingface.co/datasets/jkyung2/korean-industrial-intelligence-bazaar
Project-URL: Bug Tracker, https://github.com/jkyung/korea-intelligence/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Intended Audience :: Developers
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Topic :: Office/Business :: Financial :: Investment
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests>=2.28.0
Dynamic: author
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-python

# Korea Market Intelligence SDK (`korea-intelligence`)

[![PyPI version](https://img.shields.io/badge/pypi-v0.1.0-blue.svg)](https://pypi.org/project/korea-intelligence/)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Pricing](https://img.shields.io/badge/Pricing-0.01%20USDC%20/%20query-purple.svg)](https://husband-voltage-bass-incidents.trycloudflare.com)
[![Market Records](https://img.shields.io/badge/Records-14M%2B-green.svg)](https://husband-voltage-bass-incidents.trycloudflare.com)

Official Python SDK and AI Agent Tool for querying **14,000,000+ Korean High-Value Industrial, Technological, Corporate, and Supply-Chain Datasets** from the **Agent Bazaar B2A Data Market**.

---

## ⚡ Quick Installation

```bash
pip install korea-intelligence
```

For LangChain & LlamaIndex support:
```bash
pip install korea-intelligence[langchain,llama]
```

---

## 🚀 Quick Usage

### 1. Basic Python Query (2 Lines!)
```python
from korea_intelligence import KoreaMarketClient

client = KoreaMarketClient()
results = client.search(query="HBM3e 반도체", sector="SEMICONDUCTOR_HARDWARE", limit=5)

for item in results:
    print(f"[{item['product_id']}] {item['title']}")
```

### 2. High-Speed 4-Channel Swarm Download
```python
# Download 100 high-speed verified industrial items across the 4 distributed ARM shards
data = client.query_swarm(sector_code="SECONDARY_BATTERY_ENERGY", count=100)
print(f"Retrieved {len(data)} items with SHA-256 verification seals.")
```

### 3. LangChain Agent Integration
```python
from korea_intelligence import KoreaMarketIntelligenceTool
from langchain.agents import initialize_agent, AgentType
from langchain_openai import ChatOpenAI

llm = ChatOpenAI(model="gpt-4o", temperature=0)
tools = [KoreaMarketIntelligenceTool()]

agent = initialize_agent(tools, llm, agent=AgentType.ZERO_SHOT_REACT_DESCRIPTION, verbose=True)
agent.run("한국 2차전지 양극재 상위 기업들의 최신 수출 비율과 공급망 티어를 분석해줘.")
```

---

## 📊 Covered 10 Major Korean Industrial Sectors

1. `SEMICONDUCTOR_HARDWARE` : Foundry, High-Bandwidth Memory (HBM), EUV Equipment, Packaging.
2. `SECONDARY_BATTERY_ENERGY` : Cathode/Anode Materials, Separators, Solid-State Batteries.
3. `BIO_PHARMA_HEALTHCARE` : CDMO, Biosimilars, AI Drug Discovery, Clinical Trials.
4. `AUTOMOTIVE_MOBILITY` : Next-Gen EV Platforms, Autonomous Driving Sensors, OEM Supply-Chain.
5. `AI_ROBOTICS_SMARTFACTORY` : Industrial Robots, AMR Logistics, Vision AI Factory Systems.
6. `PRECISION_MACHINERY_DEFENSE` : K-Defense Precision Weaponry, Aerospace CNC Machining.
7. `PETROCHEMICAL_MATERIALS` : Engineering Plastics, Carbon Fiber, Graphene, Eco Materials.
8. `K_CULTURE_CONTENT_GAMING` : Webtoons, K-POP Music IPs, Console Game Engines.
9. `FINTECH_ECOS_MACRO` : Bank of Korea ECOS, Financial Supervisory Service DART.
10. `CONSUMER_ECOMMERCE_EXPORT` : K-Beauty Cosmetics, Health Supplements, Cross-Border Trends.

---

## 🪙 Pricing & Settlement
- **Price**: 0.01 USDC or 0.01 USDT per query.
- **Networks**: Multi-Chain supported on **Base L2** (`0x13d430FdFD28Ed40020D90ED4E2F9D38682F9Cb1`) and **Solana Mainnet** (`E5upej8akcQ3Fa1ecnjxcq1p4MAcmdqvsu8MjCX8U8Zz`).
- **Live Gateway**: `https://husband-voltage-bass-incidents.trycloudflare.com`

---

## 📄 License
MIT License. Copyright (c) 2026 JKyung & Agent Bazaar.
