Skip to main content

A NotebookLM companion for batch downloading NSE company announcements

Project description

KnowledgeLM 🧠

Version License: MIT Built with uv

A research companion for NotebookLM that automates the collection of NSE company filings. Designed to be operated by AI agents (Claude Code, Gemini CLI, etc.).

🚀 Instant Setup (AI Agents)

Install the knowledgelm-nse agent skill using

npx skills add eggmasonvalue/knowledgelm-nse

This skill allows your AI agent to batch download investor materials (transcripts, presentations, credit ratings, annual reports) for Indian publicly listed companies and integrate them into NotebookLM for deep fundamental analysis.


✨ Features

  • Agent-First: Optimized for LLMs with JSON output (--json), a standardized Agent Skill, and silent execution to preserve the context window.
  • Batch Downloads: NSE lacks bulk extraction; KnowledgeLM fetches filings by category in seconds.
  • Issue Documents: IPO prospectus, rights offers, QIP placements, information memoranda, and scheme documents — unified across 5 NSE endpoints with inconsistent schemas, unreliable metadata, and mixed archive formats so you don't have to be.
  • NotebookLM Synergy: Purpose-built commands to facilitate source injection and bundled prompt templates for audio overviews.
  • Credit Rating Dual-Source: Primary extraction from Screener.in (high-fidelity PDF conversion) with NSE API fallback.
  • ValuePickr Forum Export: Export entire forum threads to clean, research-ready PDFs with reference extraction.
  • Interactive UI: Browse and download individual filings (Resignations, Press Releases, etc.) via Streamlit.

🐧 ARM / Linux Setup (Termux, Raspberry Pi, Android AVF)

On ARM Linux devices, official Selenium Manager binaries are unavailable. You must manually install chromedriver using your system's package manager.

# Example (Debian/Ubuntu/Termux):
sudo apt install chromium-driver  # Package names vary (e.g. chromium, chromium-chromedriver, etc.)

Requirement: Ensure chromedriver is available in your $PATH. The tool will automatically detect and use it.

�️ Manual Installation & Usage

If you prefer to use the tool directly from your terminal:

CLI Usage

# Install (requires uv)
uv tool install knowledgelm

# Download filings
knowledgelm download HDFCBANK --from 2024-01-01 --to 2025-01-26

# Download issue documents (IPO, rights, QIP, schemes)
knowledgelm download SWIGGY --from 2020-01-01 --to 2025-12-31 --categories issue_documents

# Export forum thread
knowledgelm forum "https://forum.valuepickr.com/t/hdfc-bank-limited/123" --symbol HDFCBANK

# Process for NotebookLM
knowledgelm list-files ./HDFCBANK_filings --json
knowledgelm list-files ./HDFCBANK_valuepickr --json

Web UI

Launch the interactive dashboard:

uv run streamlit run src/knowledgelm/app.py

📂 Project Structure

  • .agent/: AI Agent resources, skills, and prompt templates.
  • .context/: Living documentation (Architecture, Design, Changelog).
  • src/: Core logic and Streamlit app.

See .context/ARCHITECTURE.md for detailed diagrams.

📄 License

Distributed under the MIT License. See LICENSE for more information.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

knowledgelm-5.0.0.tar.gz (112.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

knowledgelm-5.0.0-py3-none-any.whl (29.1 kB view details)

Uploaded Python 3

File details

Details for the file knowledgelm-5.0.0.tar.gz.

File metadata

  • Download URL: knowledgelm-5.0.0.tar.gz
  • Upload date:
  • Size: 112.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for knowledgelm-5.0.0.tar.gz
Algorithm Hash digest
SHA256 95f96b271df124346b0dc0fb8043b39f57ffa2de9e87469918fa78ad2d0c9eaa
MD5 d3609c806d263ce955fd8c37fe929dd5
BLAKE2b-256 01e927bbc505914d7092dffd256214e6edd136780228e8477ed35160d673c4a2

See more details on using hashes here.

File details

Details for the file knowledgelm-5.0.0-py3-none-any.whl.

File metadata

  • Download URL: knowledgelm-5.0.0-py3-none-any.whl
  • Upload date:
  • Size: 29.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for knowledgelm-5.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7120eed4c3fa1350cb2034479361398a12e3e68b3c32a3eb0843e7d5205fc7bb
MD5 1a0828f6912a27d9ad635e1075230611
BLAKE2b-256 516e675d26e82294dbd4bed2fd7bd583fc7d92d9d900234a763b6239de7e8d34

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page