fmp-py-sdk
fmp-py-sdk is the Python distribution for the Rust-backed fmp package, a typed client for the Financial Modeling Prep (FMP) data API.
Version 0.1 is intentionally a name-release walking skeleton. It supports only the documented GET /stable/quote-short?symbol=... endpoint and does not claim broad endpoint coverage.
python -m pip install fmp-py-sdk
import os
from fmp import FmpClient
client = FmpClient(token=os.environ["FMP_API_KEY"])
rows = client.quote_short("AAPL")
print(rows)
quote_short returns list[QuoteShort], preserving empty and multi-row provider responses. The public native modules follow a conventional HTTP SDK surface: FmpClient lives in fmp.client, the exception hierarchy lives in fmp.errors, and response models live in endpoint domains such as fmp.quote. Every public type also remains available from the package root. FmpClient is synchronous; it releases the Python GIL while its async Rust transport waits.
Custom router or proxy
import os
from fmp import FmpClient
client = FmpClient(
base_url=os.environ["FMP_PROXY_BASE_URL"],
path_prefix="router/stable",
auth_mode="custom_header",
auth_name="X-Proxy-Token",
auth_prefix="Bearer ",
token=os.environ["FMP_PROXY_TOKEN"],
headers={"X-Tenant": os.environ["FMP_TENANT"]},
)
rows = client.quote_short("AAPL")
Available auth modes are none, fmp_header, fmp_query, bearer, custom_header, and custom_query. auth_mode="none" supports credential-free local or trusted routers. Redirect following is either disabled or same-origin only.
The package supports CPython 3.9 or newer through Python's stable ABI. Native
public modules are paired with documentation/source .py shims and
hand-maintained .pyi contracts, plus a py.typed marker for type checkers.
Transport, configuration, and runtime internals are intentionally not exposed
as Python modules.
This project is available under the MIT License.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
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 fmp_py_sdk-0.4.0.tar.gz.
File metadata
- Download URL: fmp_py_sdk-0.4.0.tar.gz
- Upload date:
- Size: 372.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8eab6be0fdf012b24b901343f19482a840c84d23ff6dd8f6906bcd686c6300b5
|
|
| MD5 |
0deff04a3daa09ac7e01459fdf0ea91e
|
|
| BLAKE2b-256 |
8a6a283a6bad5b26181d61ab9088e5906465e63e18fe7a8816afcd9c0b883d8a
|
Provenance
The following attestation bundles were made for fmp_py_sdk-0.4.0.tar.gz:
Publisher:
semantic-release.yml on bitbrew-dev/libfmp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fmp_py_sdk-0.4.0.tar.gz -
Subject digest:
8eab6be0fdf012b24b901343f19482a840c84d23ff6dd8f6906bcd686c6300b5 - Sigstore transparency entry: 2693869176
- Sigstore integration time:
-
Permalink:
bitbrew-dev/libfmp@1dbc2758372674d9b6e7b463b81de2577dfe84f4 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/bitbrew-dev
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
semantic-release.yml@1dbc2758372674d9b6e7b463b81de2577dfe84f4 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file fmp_py_sdk-0.4.0-cp39-abi3-win_amd64.whl.
File metadata
- Download URL: fmp_py_sdk-0.4.0-cp39-abi3-win_amd64.whl
- Upload date:
- Size: 2.2 MB
- Tags: CPython 3.9+, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
889f49cee06584a0bf5bd6f72ac57d53ab3bdc9b394ca76ca06216213e8e1c60
|
|
| MD5 |
91d5d777ec18651057af76e3558f39b1
|
|
| BLAKE2b-256 |
efa27b8d8c7291bf909a6e88b45a87d9127524e21cbf541f31c7b8f122e3aae5
|
Provenance
The following attestation bundles were made for fmp_py_sdk-0.4.0-cp39-abi3-win_amd64.whl:
Publisher:
semantic-release.yml on bitbrew-dev/libfmp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fmp_py_sdk-0.4.0-cp39-abi3-win_amd64.whl -
Subject digest:
889f49cee06584a0bf5bd6f72ac57d53ab3bdc9b394ca76ca06216213e8e1c60 - Sigstore transparency entry: 2693869277
- Sigstore integration time:
-
Permalink:
bitbrew-dev/libfmp@1dbc2758372674d9b6e7b463b81de2577dfe84f4 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/bitbrew-dev
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
semantic-release.yml@1dbc2758372674d9b6e7b463b81de2577dfe84f4 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file fmp_py_sdk-0.4.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: fmp_py_sdk-0.4.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 2.8 MB
- Tags: CPython 3.9+, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bbf0909d30c8c31e08c24290005715d7b114653b325c527479a902fb534b3723
|
|
| MD5 |
6c693a8f6be297cdaa1852b25b83f050
|
|
| BLAKE2b-256 |
944caa57c5bede07a9be5349c3ede48e26d58b94b4d71424895bb6f6ec7a709f
|
Provenance
The following attestation bundles were made for fmp_py_sdk-0.4.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:
Publisher:
semantic-release.yml on bitbrew-dev/libfmp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fmp_py_sdk-0.4.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl -
Subject digest:
bbf0909d30c8c31e08c24290005715d7b114653b325c527479a902fb534b3723 - Sigstore transparency entry: 2693869417
- Sigstore integration time:
-
Permalink:
bitbrew-dev/libfmp@1dbc2758372674d9b6e7b463b81de2577dfe84f4 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/bitbrew-dev
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
semantic-release.yml@1dbc2758372674d9b6e7b463b81de2577dfe84f4 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file fmp_py_sdk-0.4.0-cp39-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: fmp_py_sdk-0.4.0-cp39-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 2.6 MB
- Tags: CPython 3.9+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
950f1d20beed8d402be963dc2f6c0cb8b490cbc75969aa14619e1e5dc80c00a1
|
|
| MD5 |
0b162037d4e5fd5eca23f87f48cc8ebd
|
|
| BLAKE2b-256 |
1a8566ebecf277e4eb32a751a52276bc8de4b1e1f295b95ba5bf42f5b4b95261
|
Provenance
The following attestation bundles were made for fmp_py_sdk-0.4.0-cp39-abi3-macosx_11_0_arm64.whl:
Publisher:
semantic-release.yml on bitbrew-dev/libfmp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fmp_py_sdk-0.4.0-cp39-abi3-macosx_11_0_arm64.whl -
Subject digest:
950f1d20beed8d402be963dc2f6c0cb8b490cbc75969aa14619e1e5dc80c00a1 - Sigstore transparency entry: 2693869348
- Sigstore integration time:
-
Permalink:
bitbrew-dev/libfmp@1dbc2758372674d9b6e7b463b81de2577dfe84f4 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/bitbrew-dev
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
semantic-release.yml@1dbc2758372674d9b6e7b463b81de2577dfe84f4 -
Trigger Event:
workflow_dispatch
-
Statement type: