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
- Homepage: https://financialmodelingprep.com
- API docs: https://site.financialmodelingprep.com/developer/docs
License
See LICENSE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ada5a33e1c03175d54574bfabd65820aaa0f760223bbb61e50302945e39e7f36
|
|
| MD5 |
302a45e42f8084dd3ac7ff64b4988912
|
|
| BLAKE2b-256 |
ad4032ebeabc6a18de433a98cf8e9f57d833d1fece29ea46994bf82333c1e22e
|
Provenance
The following attestation bundles were made for parsimony_fmp-0.0.1.tar.gz:
Publisher:
release.yml on ockham-sh/parsimony-connectors
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
parsimony_fmp-0.0.1.tar.gz -
Subject digest:
ada5a33e1c03175d54574bfabd65820aaa0f760223bbb61e50302945e39e7f36 - Sigstore transparency entry: 1971011766
- Sigstore integration time:
-
Permalink:
ockham-sh/parsimony-connectors@517cb5874f97ffede7738611ed75bb3ed27e26a0 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/ockham-sh
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@517cb5874f97ffede7738611ed75bb3ed27e26a0 -
Trigger Event:
workflow_dispatch
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
06616c5e1d8d8ce09a9ff61f69bbf7d00f9f5340a5df0474c403ca71821ec287
|
|
| MD5 |
910c49f83e8a622f33223c69ed2a3657
|
|
| BLAKE2b-256 |
be0c37e98791fb7389762109ec47c9d3dd536b00a0ebc006239daf23ef2a6eb1
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
parsimony_fmp-0.0.1-py3-none-any.whl -
Subject digest:
06616c5e1d8d8ce09a9ff61f69bbf7d00f9f5340a5df0474c403ca71821ec287 - Sigstore transparency entry: 1971011814
- Sigstore integration time:
-
Permalink:
ockham-sh/parsimony-connectors@517cb5874f97ffede7738611ed75bb3ed27e26a0 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/ockham-sh
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@517cb5874f97ffede7738611ed75bb3ed27e26a0 -
Trigger Event:
workflow_dispatch
-
Statement type: