Metadata-Version: 2.3
Name: newslens
Version: 0.1.3
Summary: Add your description here
Author: Arnab Santra
Author-email: Arnab Santra <arnabsantra248@gmail.com>
Requires-Dist: datasets>=4.8.4
Requires-Dist: fastapi>=0.136.0
Requires-Dist: pydantic-settings>=2.14.0
Requires-Dist: langchain-tools>=0.1.34 ; extra == 'agents'
Requires-Dist: newslens[local,mcp,agents] ; extra == 'all'
Requires-Dist: torch>=2.11.0 ; extra == 'local'
Requires-Dist: transformers>=5.5.4 ; extra == 'local'
Requires-Dist: peft>=0.19.1 ; extra == 'local'
Requires-Dist: mcp>=1.27.0 ; extra == 'mcp'
Requires-Python: >=3.13
Provides-Extra: agents
Provides-Extra: all
Provides-Extra: local
Provides-Extra: mcp
Description-Content-Type: text/markdown

### File Structure

```
newslens/
├── src/
│ └── newslens/
│ ├── __init__.py # Package entry point
│ ├── core/ # The "Engine Room"
│ │ ├── engine.py # Logic for loading Qwen + LoRA adapters
│ │ ├── model.py # The main NewsLens class (Sync/Async API)
│ │ └── config.py # Default hyperparameters & model paths
│ ├── agents/ # Framework adapters
│ │ ├── langchain.py # Tools for LangGraph/LangChain
│ │ ├── autogen.py # Skill definitions for AutoGen
│ │ └── mcp.py # Model Context Protocol (MCP) server
│ ├── server/ # Connectivity Layer
│ │ ├── api.py # FastAPI A2A (Agent-to-Agent) endpoints
│ │ └── schemas.py # Pydantic data models for payloads
│ ├── training/ # Finetuning module
│ │ └── finetuner.py # Your training logic, modularized
│ ├── cli/ # Command-line interface
│ │ └── main.py # Entry point for 'newslens' commands
│ └── utils/ # Helpers (Batching, token counting)
├── tests/ # Unit and integration tests
├── examples/ # Jupyter notebooks & demo scripts
├── pyproject.toml # Modern dependency & build management
└── README.md # Documentation
```
