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.5.tar.gz (20.3 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.5-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lopjlb-0.1.5.tar.gz
  • Upload date:
  • Size: 20.3 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.5.tar.gz
Algorithm Hash digest
SHA256 575317c2913b00d5ba53ef8ff0ffa3c1072a6b9bc2a1c0d0b126834452b93896
MD5 42319a455620c225516eed580208f818
BLAKE2b-256 ad0064c2768347fd718315cd4a7b1b0c7fe8ad2cc2ea0821d4f40acb0919b11d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lopjlb-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 18.2 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 d25c647aa9d6391a702bc5f99c6d5328a2f69142b13b1bb66ebe9a3ee327c13d
MD5 fe57f9cf42cfe0e1b3e66eab121bb10d
BLAKE2b-256 110b082ff206988dc9d4089ae938739b689f27a6fdb41d3cef6d414df49f1802

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