Skip to main content

LOPJLB quantitative equity research client — regime, signals, earnings intel (yfinance-shaped, BFF-backed)

Project description

lopjlb

Thin Python client + CLI for LOPJLB quantitative equity research.

Talks only to https://www.lopjlb.com/bff/api/ (never api.lopjlb.com).

Four peer surfaces over one BFF (CLI does not call MCP):

Surface Install / use
REST curl https://www.lopjlb.com/bff/api/…
CLI uv tool install lopjlb · brew install lopjlb/tap/lopjlb · curl -fsSL https://www.lopjlb.com/install.sh | sh
PyPI pip install lopjlb / import lopjlb
HTTP MCP Cursor / Claude → POST /bff/api/mcp (Enterprise hosts)

License: Proprietary — not open source. Copyright © LOPJLB Research. All rights reserved. See the repository LICENSE. You may use this client only to access LOPJLB’s published services under LOPJLB’s terms; you may not relicense or redistribute it as free/open source.

Install

# recommended
uv tool install lopjlb

# or
pipx install lopjlb
pip install lopjlb

# one-liner
curl -fsSL https://www.lopjlb.com/install.sh | sh

# Homebrew (after tap publish)
brew install lopjlb/tap/lopjlb

Free research needs no browser and no API key.

Free (no account)

Sample single-name research — direction, HMM regime, thin signal-card teaser, earnings CallCards. Full PF / composite packs need Pro or an Enterprise key. Anon freemium ticker routes: 30/min · 500/day.

import lopjlb

print(lopjlb.regime())
t = lopjlb.Ticker("AAPL")
print(t.summary())       # direction, regime, teaser (+ next_actions via CLI)
print(t.intel())         # earnings CallCard / rollup
print(t.info)            # company profile
lopjlb ticker AAPL
lopjlb ticker AAPL intel
lopjlb regime
lopjlb search NVDA
lopjlb schema          # CLI → REST map (not MCP)
lopjlb doctor

Stdout is JSON (pretty on a TTY). Errors go to stderr as JSON with retryable. No interactive prompts.

Enterprise (REST)

Mint a key in Settings after a live Enterprise entitlement is active (browser once), then:

export LOPJLB_API_KEY=lopjlb_live_…
lopjlb screen                              # Pro REST via Enterprise key
lopjlb export signals --format csv --out signals.csv   # --out required
lopjlb intraday AAPL
client = lopjlb.Client(api_key="lopjlb_live_…")

Optional MCP debug smoke (hosts should call /mcp directly):

lopjlb debug mcp tools
lopjlb debug mcp call get_market_regime

Errors: 401 bad key · 402 entitlement · 429 rate limit.

Not included

Raw OHLCV dumps / FMP passthrough. Use sparklines / charts via the API or the stock page.

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

lopjlb-0.1.4.tar.gz (16.2 kB view details)

Uploaded Source

Built Distribution

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

lopjlb-0.1.4-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

Details for the file lopjlb-0.1.4.tar.gz.

File metadata

  • Download URL: lopjlb-0.1.4.tar.gz
  • Upload date:
  • Size: 16.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for lopjlb-0.1.4.tar.gz
Algorithm Hash digest
SHA256 12171f26a5e16013923dbfab6d02fbb53c02c350da56332227002d774daa9cbe
MD5 02ad17b7d2b00dce003d6a3eab731b01
BLAKE2b-256 d8d94e78e9d756e9edce813b2432f79ba44bea6d6426c208b96d63bcb310a59b

See more details on using hashes here.

File details

Details for the file lopjlb-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: lopjlb-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 13.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for lopjlb-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 02a9a0b9552c5db8e52ff9c37110e57294a3197d0223406b922c0f0c00394e45
MD5 75c5ebdadea95c3d0d6068d665bfccb8
BLAKE2b-256 bf4124b406408087cbf956730668777dce9fe83e9f8879e33010a2454879e848

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