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)

Same insights as /stock/AAPL — direction, HMM regime, factor scores, earnings CallCards:

import lopjlb

print(lopjlb.regime())
t = lopjlb.Ticker("AAPL")
print(t.summary())       # direction, regime, scores (+ 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 once in Settings (browser once), then:

export LOPJLB_API_KEY=lopjlb_live_…
lopjlb export signals --format csv --out signals.csv
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.1.tar.gz (9.8 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.1-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lopjlb-0.1.1.tar.gz
  • Upload date:
  • Size: 9.8 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.1.tar.gz
Algorithm Hash digest
SHA256 c69514be471c88221cba08fd81143af733c89832e733d511da0db86eefb66d4b
MD5 0ec4eee6ce9a83f8faf598fb5f23ae62
BLAKE2b-256 d416c6fbb0d84bb2dcde49f6ef805a5997382cf5623ff463d4b5766dce73f374

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lopjlb-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 11.7 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5439f5c7883032e4d09711343ff11da6919bf214b022f58bd73fb67fdf157805
MD5 f166aede93bb69a3a0d24e6848e3f370
BLAKE2b-256 208d922dc483adc5785341778ed74dd3cd05f7ff76162da16f90f863045e792d

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