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

Uploaded CPython 3.9+Windows x86-64

fmp_py_sdk-0.3.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.3.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.3.0.tar.gz.

File metadata

  • Download URL: fmp_py_sdk-0.3.0.tar.gz
  • Upload date:
  • Size: 276.1 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.3.0.tar.gz
Algorithm Hash digest
SHA256 6bc37dda5afa07855710d163f2679965cf9f73d79d5f1a235e27eaebe66bac87
MD5 5780422cbfd14e788f89d94050e470df
BLAKE2b-256 f0f0339e7ce0a7c23c6808fea55183624a7131732954e583a8932227ef4831de

See more details on using hashes here.

Provenance

The following attestation bundles were made for fmp_py_sdk-0.3.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.3.0-cp39-abi3-win_amd64.whl.

File metadata

  • Download URL: fmp_py_sdk-0.3.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.3.0-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 1000fb2557aece6a3f2ba8f0e7bc95b100fd61ddf98ed2f89ea3a8fb74058dfb
MD5 d24c2c0b46060f176ae0ddd3510dca23
BLAKE2b-256 4c8b394f5053ceb9a46e1bf68c7d006084d4f85d9cd76ce79896f08a0addd048

See more details on using hashes here.

Provenance

The following attestation bundles were made for fmp_py_sdk-0.3.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.3.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fmp_py_sdk-0.3.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 63f14b041bd352b0d23562e49a78065cf78612f747210dd1953bcc8dd3244c4e
MD5 ba04197d3f78508510c29ee734606369
BLAKE2b-256 6d11b5f3c975d534a0573f11a76df1f66f1d58d1774a76a08d2a328ea521aa26

See more details on using hashes here.

Provenance

The following attestation bundles were made for fmp_py_sdk-0.3.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.3.0-cp39-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for fmp_py_sdk-0.3.0-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1d0bcee156b3aa10b8bdabb05c1d76d83b0771055fed9b343ae4b44cfa3a6eff
MD5 6caf6658e2cb765788859736f9f961b9
BLAKE2b-256 2b10a3076b0b03b32a8c998d68e5d53b626afee7c128450d9c599539226b3b5f

See more details on using hashes here.

Provenance

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

This release

0.3.0 This release

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