Skip to main content

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

fmp_py_sdk-0.2.0.tar.gz (194.8 kB view details)

Uploaded Source

Built Distributions

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

fmp_py_sdk-0.2.0-cp39-abi3-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.9+Windows x86-64

fmp_py_sdk-0.2.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.8 MB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ x86-64

fmp_py_sdk-0.2.0-cp39-abi3-macosx_11_0_arm64.whl (2.6 MB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

File details

Details for the file fmp_py_sdk-0.2.0.tar.gz.

File metadata

  • Download URL: fmp_py_sdk-0.2.0.tar.gz
  • Upload date:
  • Size: 194.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for fmp_py_sdk-0.2.0.tar.gz
Algorithm Hash digest
SHA256 31dcd791ca4846ea1c8122f0bee6e1989df963d63e4728c1fa4d1b7070e89186
MD5 2b6ab9072ce9bbd5d8fabc462ef271bb
BLAKE2b-256 b4a182309cfe48f35597163090ac441336cc810addcd9983c86f880c8cd8cb56

See more details on using hashes here.

Provenance

The following attestation bundles were made for fmp_py_sdk-0.2.0.tar.gz:

Publisher: semantic-release.yml on bitbrew-dev/libfmp

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

File details

Details for the file fmp_py_sdk-0.2.0-cp39-abi3-win_amd64.whl.

File metadata

  • Download URL: fmp_py_sdk-0.2.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

Hashes for fmp_py_sdk-0.2.0-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 d5bb6dccbf2fe965cf3429c7fdfee58ee9e56083be7f4fb77f2a11e98502005a
MD5 2bf1995842ab89da6b1ce77cc2f97db7
BLAKE2b-256 7a07229e10759157a013aae78f7cac1503c1721d381550ad329dd539c9d0cac7

See more details on using hashes here.

Provenance

The following attestation bundles were made for fmp_py_sdk-0.2.0-cp39-abi3-win_amd64.whl:

Publisher: semantic-release.yml on bitbrew-dev/libfmp

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

File details

Details for the file fmp_py_sdk-0.2.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fmp_py_sdk-0.2.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4d095c770837cfc42b7a12ce1d85e8954b16b6fc539dc63ab3f3c3a48e3d2f66
MD5 6f87c9228a85b30ade5d9dbbaba63374
BLAKE2b-256 e010c1fe7fa2b9a75320ab60e703bd9598beb14a41377ab3d95ce928573ecf0d

See more details on using hashes here.

Provenance

The following attestation bundles were made for fmp_py_sdk-0.2.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: semantic-release.yml on bitbrew-dev/libfmp

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

File details

Details for the file fmp_py_sdk-0.2.0-cp39-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for fmp_py_sdk-0.2.0-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0f68a4de7d8b1dadfd51a9af7eddbde8aec060bdf73f492e989e04fd3ae9217d
MD5 ba165652e7322d681b084b77546886b5
BLAKE2b-256 0c612b2c7b4ac6684937103a4ba61bcd89a07f81307999f387b82ed82e1672f3

See more details on using hashes here.

Provenance

The following attestation bundles were made for fmp_py_sdk-0.2.0-cp39-abi3-macosx_11_0_arm64.whl:

Publisher: semantic-release.yml on bitbrew-dev/libfmp

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

Release history Release notifications | RSS feed

0.5.0

4 files

0.4.0

4 files

0.3.0

4 files

This release

0.2.0 This release

4 files

0.1.1

4 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page