Skip to main content

Foxglove Python SDK

Project description

Foxglove Python SDK

The official Foxglove SDK for Python.

This package provides support for integrating with the Foxglove platform. It can be used to log events to local MCAP files or a local visualization server that communicates with the Foxglove app.

Get Started

See https://foxglove-sdk-api-docs.pages.dev/python/

Requirements

  • Python 3.10+

Remote Access

The SDK includes optional support for remote access, which enables live visualization and teleop through the Foxglove platform via a gateway connection.

Remote access is available on the following platforms:

Platform Architecture Remote Access
Linux (glibc) x86_64 Yes (manylinux_2_28, glibc >= 2.28)
Linux (glibc) aarch64 Yes (manylinux_2_28, glibc >= 2.28)
Linux (glibc) armv7 No
Linux (musl) x86_64, aarch64, armv7 No
macOS aarch64 Yes
macOS x86_64 Yes
Windows x86_64 Yes
Windows x86 No

On supported platforms, pre-built wheels include remote access. On unsupported platforms the SDK works normally but foxglove.start_gateway will not be available.

When building from source, remote access must be enabled explicitly:

MATURIN_PEP517_ARGS="--features remote-access" pip install .

This requires system dependencies including libva-dev (Linux) and a C++ toolchain.

Examples

We're using uv as a Python package manager in the foxglove-sdk-examples.

To test that all examples run (as the CI does) you can use yarn run-python-sdk-examples in the repo root.

To run a specific example (e.g. write-mcap-file) with local changes:

cd python/foxglove-sdk-examples/write-mcap-file
uv run --with ../../foxglove-sdk main.py [args]

Keep in mind that uv does two layers of caching. There's the .venv in your project directory, plus a global cache at ~/.cache/uv.

uv tries to be smart about not rebuilding things it has already built, which means that if you make changes and you want them to show up, you also need to run uv cache clean.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

foxglove_sdk-0.24.0.tar.gz (536.2 kB view details)

Uploaded Source

Built Distributions

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

foxglove_sdk-0.24.0-cp310-abi3-win_amd64.whl (16.5 MB view details)

Uploaded CPython 3.10+Windows x86-64

foxglove_sdk-0.24.0-cp310-abi3-win32.whl (1.6 MB view details)

Uploaded CPython 3.10+Windows x86

foxglove_sdk-0.24.0-cp310-abi3-musllinux_1_2_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.2+ x86-64

foxglove_sdk-0.24.0-cp310-abi3-musllinux_1_2_armv7l.whl (2.6 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.2+ ARMv7l

foxglove_sdk-0.24.0-cp310-abi3-musllinux_1_2_aarch64.whl (2.5 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.2+ ARM64

foxglove_sdk-0.24.0-cp310-abi3-manylinux_2_28_x86_64.whl (19.1 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ x86-64

foxglove_sdk-0.24.0-cp310-abi3-manylinux_2_28_aarch64.whl (22.5 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ ARM64

foxglove_sdk-0.24.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.3 MB view details)

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

foxglove_sdk-0.24.0-cp310-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (2.3 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ ARMv7l

foxglove_sdk-0.24.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.4 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ ARM64

foxglove_sdk-0.24.0-cp310-abi3-macosx_11_0_arm64.whl (15.9 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

foxglove_sdk-0.24.0-cp310-abi3-macosx_10_12_x86_64.whl (17.3 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

Details for the file foxglove_sdk-0.24.0.tar.gz.

File metadata

  • Download URL: foxglove_sdk-0.24.0.tar.gz
  • Upload date:
  • Size: 536.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: maturin/1.13.3

File hashes

Hashes for foxglove_sdk-0.24.0.tar.gz
Algorithm Hash digest
SHA256 fdd34948baa72d39afe6626dade239ecf31e2d904f369d59fe183790c8f982b3
MD5 7a1bab4961b99cf5fbde42eee75d6791
BLAKE2b-256 df60a5e8442187b394417b9b896b39be15a846d753d14dde55e7d6fea35bfcfa

See more details on using hashes here.

File details

Details for the file foxglove_sdk-0.24.0-cp310-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for foxglove_sdk-0.24.0-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 6b7e92b62491b0c2c7e58e70aefd46c9044642788115519a98422fb5cd223582
MD5 ab875a04aa91890d06a561b326362811
BLAKE2b-256 a4c09e787b54adf8fa747e7fe20bf36c1d5511899afb459b9a103e39707225f7

See more details on using hashes here.

File details

Details for the file foxglove_sdk-0.24.0-cp310-abi3-win32.whl.

File metadata

File hashes

Hashes for foxglove_sdk-0.24.0-cp310-abi3-win32.whl
Algorithm Hash digest
SHA256 5b944d5fbe5b31380a18152846e03192dcb8e158fb86b4bf891d50526b555f44
MD5 12d0f0d95b3d27efc2e9c056f55ad3b6
BLAKE2b-256 8927c5633061eb983628a7a6bdbd53c8cd4baadd89c5b8e98d5e2e61c9d74249

See more details on using hashes here.

File details

Details for the file foxglove_sdk-0.24.0-cp310-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for foxglove_sdk-0.24.0-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 389bc630a7042b25abb4623d2c6fe3948823c6488f4b09293d02486d74a8520b
MD5 99175d5607d5db7c5331000c52f357ac
BLAKE2b-256 0b16315694aa8394b94050323b0cbe3065b3fa239bdc499c327549e4d5967873

See more details on using hashes here.

File details

Details for the file foxglove_sdk-0.24.0-cp310-abi3-musllinux_1_2_armv7l.whl.

File metadata

File hashes

Hashes for foxglove_sdk-0.24.0-cp310-abi3-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 09c4ee2667557e252565fce5a9234c902058fe61f534a1f76e4161fef1c051a9
MD5 bfb7a875499bf97698ff19d7674ed8d4
BLAKE2b-256 4a5494e0fc3acd20350efb0c18184f2907dd1b17982e6a0257aee7d4427f9f7b

See more details on using hashes here.

File details

Details for the file foxglove_sdk-0.24.0-cp310-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for foxglove_sdk-0.24.0-cp310-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 c9f3eb51ddeaf31c471b9aac4c07a955b8e7602b32c2bf26692bdd64d29b019c
MD5 e746f17176b17351408ae66bd6493936
BLAKE2b-256 437c5b938e0d3f650331c762d3be2ef61afd58e6b7584b03b6f7c8c53e4fa92b

See more details on using hashes here.

File details

Details for the file foxglove_sdk-0.24.0-cp310-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for foxglove_sdk-0.24.0-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3c5ebb3751051dfbd30afd8505df816bbfc521ca1514ffbfe621cbbd27743603
MD5 c3774a397c9c27ec56877f8fd3a0976f
BLAKE2b-256 c99477e184be831446832a0096bced9db2528d41f1df3aa697a60cd648f141d8

See more details on using hashes here.

File details

Details for the file foxglove_sdk-0.24.0-cp310-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for foxglove_sdk-0.24.0-cp310-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 c48870e1641921262f87edb3705a9d50070e2a655e03d4ddfc52795ef273ee10
MD5 dadf3a7c011952004654c9d9550edbfd
BLAKE2b-256 4fa3f994cdb51ed81cc1bb466834bbf2903ad60931e486c6c4867e52eb1f9721

See more details on using hashes here.

File details

Details for the file foxglove_sdk-0.24.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for foxglove_sdk-0.24.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e61f3b4c2bfcc3d48664aaafb32c31f53e323ecab0cb7e7cc822d7158a138b40
MD5 725c95958b6ccded2cf50f7f49a26b1c
BLAKE2b-256 5fc6bcbcbffb6397180ed595d2f3212048223af94245425bdf579e6a0bd2b732

See more details on using hashes here.

File details

Details for the file foxglove_sdk-0.24.0-cp310-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for foxglove_sdk-0.24.0-cp310-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 444432923349c383c25a1ed20a61de9f152ee0561a76da87cf8c7c3274322ccd
MD5 c857477292abee6bc754b12fbe0180c7
BLAKE2b-256 2442e7f74bcd3e098b12e4dcce47d0466b920c0c75ebedebcdcb68aeb28bb889

See more details on using hashes here.

File details

Details for the file foxglove_sdk-0.24.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for foxglove_sdk-0.24.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 da4718f9754624664c13eb8058aa322efc2205f047b197d8b24b26a4cec34af6
MD5 8e95a1ff869c1415acd4d3f2dfe82edc
BLAKE2b-256 0a6aa4db19ffe2eb79acd067f47dde7d865c69b77d9328da54612bba4fddec38

See more details on using hashes here.

File details

Details for the file foxglove_sdk-0.24.0-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for foxglove_sdk-0.24.0-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 832c9b59d82223971e5c98f438338d627adb77ba26942b2f2c79e94ade84b2ec
MD5 3d9306848435c920b8287ef31212c331
BLAKE2b-256 6fda15da1a178cd27f7df582c6afac19b04c2cb1b6e35e2937160178088f77fe

See more details on using hashes here.

File details

Details for the file foxglove_sdk-0.24.0-cp310-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for foxglove_sdk-0.24.0-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 b0183e16bb81dc0d0bb54e2d68868ccd14a8ecb21926ceaa493bd8f208b642a3
MD5 a2f87a2dd76a27fc7e0a74aa9c4e23ac
BLAKE2b-256 979512f400fba812d71981d943a3611f6ccf53fee1113cf44799be25aa21d1db

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page