lopjlb is a standalone Python/Typer client over HTTPS REST — no browser needed for public or freemium research, and full Pro/Enterprise workflows when LOPJLB_API_KEY is exported. Built for scripts and AI coding agents with structured JSON errors and stable exit codes.
Install
bash
uvtoolinstalllopjlblopjlb--version
CLI command reference
bash
# Free (no key, no browser)lopjlbtickerAAPLlopjlbtickerAAPLintellopjlbtickerAAPLscores--as-of2026-11-25lopjlbregimelopjlbregime-historylopjlbpulselopjlbsearchNVDA--limit10lopjlbcompareAAPLMSFT--range5ylopjlboptionshold-spreads--limit25lopjlbuniversesspy25--as-of2025-01lopjlbcongresslopjlbpredictlopjlbcalendarearnings--days-ahead14lopjlbcalendareconlopjlbtreasurieslopjlbhourslopjlbsd50lopjlbschemametrics# 180 screener columns# NLP Research desk (JSON envelope by default; --text prints clean markdown)lopjlbask"What does LOPJLB say about AAPL?"lopjlbask"Summarize SPY regime odds"--text# Enterprise REST (after subscribing & minting key in Settings)exportLOPJLB_API_KEY=lopjlb_live_…lopjlbscreen--assetall--profilescreener--limit40lopjlbpeersAAPLlopjlbsd50allocationlopjlbiexh--limit40lopjlbintradayAAPLlopjlbexportsignals--outsignals.csvlopjlbexportarchive--sourcesd50--month2024_12
Python SDK (import lopjlb)
python
importlopjlb# Module-level public helpers (no key needed)regime=lopjlb.regime()pulse=lopjlb.pulse()hits=lopjlb.search("MSFT",limit=5)# Ticker object (thin public teaser, detail/scores, earnings CallCard)aapl=lopjlb.Ticker("AAPL",as_of="2026-11-25")card=aapl.summary()intel=aapl.intel()# Client instance + Enterprise keyclient=lopjlb.Client(api_key="lopjlb_live_…")ask_res=client.ask("Compare AAPL and MSFT signals")rows=client.universe_partition("stocks")# Error handlingtry:client.export_signals()exceptlopjlb.LopjlbHTTPErrorasexc:print(exc.status_code,exc.error,exc.upgrade_url)