Skip to main content

fmp-py-sdk

fmp-py-sdk is the Python distribution for the Rust-backed fmp_py 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_py 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. FmpClient is synchronous; it releases the Python GIL while its async Rust transport waits.

Custom router or proxy

import os

from fmp_py 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. It includes .pyi stubs and a py.typed marker for type checkers.

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

Uploaded CPython 3.9+Windows x86-64

fmp_py_sdk-0.1.1-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.1.1-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.1.1.tar.gz.

File metadata

  • Download URL: fmp_py_sdk-0.1.1.tar.gz
  • Upload date:
  • Size: 51.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.1.1.tar.gz
Algorithm Hash digest
SHA256 73e8c062786ae28c2013b0b1de91e449970558663499b1d0fdebca9ebe562470
MD5 b765d9608835b3710f486e1709df99a3
BLAKE2b-256 5f6b87fdb6e47c1a4ca643c82f1125b3f89772093a0a65e84880513a71e20dfa

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: fmp_py_sdk-0.1.1-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.1.1-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 ebe79866d0316bff54ffbec8b04a02b3f2e26cd450c49955a879abd35b755a33
MD5 2fe0b53d8d93736e6f069b9da3217ccf
BLAKE2b-256 7702d50e9777fb13d47ad8518433add05e35a3eac8488bc39f38119cc0c77bdd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for fmp_py_sdk-0.1.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1f511d44c0ad300ce758ba21422999857a6be6749d67d76a406699223f2f4c19
MD5 43465d55b0f0547d7ac6409d2657560f
BLAKE2b-256 423d5ba94e4fd9d2d44bc5f48301ad09a57e805b148529df625b55944a6b39cb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for fmp_py_sdk-0.1.1-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 94d749dcaff24c11a7aeba3ddb9b9a89f2d9d4f54c72952934f1d4004010dedd
MD5 6e87b6b765cf910a0a16dcd0865bc0dd
BLAKE2b-256 bfdc9c669672ed1345acb82f3bf31c3b85c840a5c6460fad2bd3361c3bb26ee7

See more details on using hashes here.

Provenance

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

0.2.0

4 files

This release

0.1.1 This release

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