Skip to main content

Financial Modeling Prep connector for the parsimony framework

Project description

parsimony-fmp

Financial Modeling Prep source for parsimony: discovery, quotes, fundamentals, events, signals, and a global equity screener.

Part of the parsimony-connectors monorepo. Distributed standalone on PyPI as parsimony-fmp.

Connectors

Group Connectors
Discovery fmp_search, fmp_taxonomy
Core market data fmp_quotes, fmp_prices
Fundamentals fmp_company_profile, fmp_peers, fmp_income_statements, fmp_balance_sheet_statements, fmp_cash_flow_statements
Events and catalysts fmp_corporate_history, fmp_event_calendar, fmp_analyst_estimates
Signals and context fmp_news, fmp_insider_trades, fmp_institutional_positions, fmp_earnings_transcript
Market context fmp_index_constituents, fmp_market_movers
Screener fmp_screener

19 connectors total. Tier coverage is annotated per-connector in the docstrings ([All plans], [Starter+], [Professional+]); the demo plan returns AAPL/TSLA/MSFT only for symbol-bound endpoints.

Status semantics: an invalid key returns 401 → UnauthorizedError; a plan or legacy restriction returns 403 (FMP also uses 402) → PaymentRequiredError. An unknown symbol returns HTTP 200 with []EmptyDataError.

Install

pip install parsimony-fmp

Pulls in parsimony-core>=0.7,<0.8 automatically. Verify discovery:

python -c "from parsimony import discover; print([p.name for p in discover.iter_providers()])"

Configuration

The API key is supplied per-call via bind(api_key=...) / load(api_key=...), or — as a dev fallback — from the FMP_API_KEY environment variable:

export FMP_API_KEY="<your-key>"

Get a key at https://financialmodelingprep.com. The key is declared as a secret (secrets=("api_key",)), so it is stripped from recorded provenance and redacted from logs. A missing key fails fast with UnauthorizedError.

Quick start

from parsimony_fmp import load

connectors = load(api_key="<your-key>")   # or rely on FMP_API_KEY
result = connectors["fmp_quotes"](symbols="AAPL,TSLA,MSFT")
print(result.data.head())

For multi-plugin composition:

from parsimony import discover
connectors = discover.load_all()

Provider

License

See LICENSE.

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

parsimony_fmp-0.0.1.tar.gz (21.4 kB view details)

Uploaded Source

Built Distribution

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

parsimony_fmp-0.0.1-py3-none-any.whl (23.2 kB view details)

Uploaded Python 3

File details

Details for the file parsimony_fmp-0.0.1.tar.gz.

File metadata

  • Download URL: parsimony_fmp-0.0.1.tar.gz
  • Upload date:
  • Size: 21.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for parsimony_fmp-0.0.1.tar.gz
Algorithm Hash digest
SHA256 ada5a33e1c03175d54574bfabd65820aaa0f760223bbb61e50302945e39e7f36
MD5 302a45e42f8084dd3ac7ff64b4988912
BLAKE2b-256 ad4032ebeabc6a18de433a98cf8e9f57d833d1fece29ea46994bf82333c1e22e

See more details on using hashes here.

Provenance

The following attestation bundles were made for parsimony_fmp-0.0.1.tar.gz:

Publisher: release.yml on ockham-sh/parsimony-connectors

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file parsimony_fmp-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: parsimony_fmp-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 23.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for parsimony_fmp-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 06616c5e1d8d8ce09a9ff61f69bbf7d00f9f5340a5df0474c403ca71821ec287
MD5 910c49f83e8a622f33223c69ed2a3657
BLAKE2b-256 be0c37e98791fb7389762109ec47c9d3dd536b00a0ebc006239daf23ef2a6eb1

See more details on using hashes here.

Provenance

The following attestation bundles were made for parsimony_fmp-0.0.1-py3-none-any.whl:

Publisher: release.yml on ockham-sh/parsimony-connectors

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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