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.4.0.tar.gz (372.0 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.4.0-cp39-abi3-win_amd64.whl (2.2 MB view details)

Uploaded CPython 3.9+Windows x86-64

fmp_py_sdk-0.4.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.4.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.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

Hashes for fmp_py_sdk-0.4.0.tar.gz
Algorithm Hash digest
SHA256 8eab6be0fdf012b24b901343f19482a840c84d23ff6dd8f6906bcd686c6300b5
MD5 0deff04a3daa09ac7e01459fdf0ea91e
BLAKE2b-256 8a6a283a6bad5b26181d61ab9088e5906465e63e18fe7a8816afcd9c0b883d8a

See more details on using hashes here.

Provenance

The following attestation bundles were made for fmp_py_sdk-0.4.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.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

Hashes for fmp_py_sdk-0.4.0-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 889f49cee06584a0bf5bd6f72ac57d53ab3bdc9b394ca76ca06216213e8e1c60
MD5 91d5d777ec18651057af76e3558f39b1
BLAKE2b-256 efa27b8d8c7291bf909a6e88b45a87d9127524e21cbf541f31c7b8f122e3aae5

See more details on using hashes here.

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

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.4.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fmp_py_sdk-0.4.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bbf0909d30c8c31e08c24290005715d7b114653b325c527479a902fb534b3723
MD5 6c693a8f6be297cdaa1852b25b83f050
BLAKE2b-256 944caa57c5bede07a9be5349c3ede48e26d58b94b4d71424895bb6f6ec7a709f

See more details on using hashes here.

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

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.4.0-cp39-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for fmp_py_sdk-0.4.0-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 950f1d20beed8d402be963dc2f6c0cb8b490cbc75969aa14619e1e5dc80c00a1
MD5 0b162037d4e5fd5eca23f87f48cc8ebd
BLAKE2b-256 1a8566ebecf277e4eb32a751a52276bc8de4b1e1f295b95ba5bf42f5b4b95261

See more details on using hashes here.

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

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

This release

0.4.0 This release

4 files

0.3.0

4 files

0.2.0

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