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.25.1.tar.gz (547.8 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.25.1-cp310-abi3-win_amd64.whl (16.6 MB view details)

Uploaded CPython 3.10+Windows x86-64

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

Uploaded CPython 3.10+Windows x86

foxglove_sdk-0.25.1-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.25.1-cp310-abi3-musllinux_1_2_armv7l.whl (2.6 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.2+ ARMv7l

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

Uploaded CPython 3.10+musllinux: musl 1.2+ ARM64

foxglove_sdk-0.25.1-cp310-abi3-manylinux_2_28_x86_64.whl (19.3 MB view details)

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

foxglove_sdk-0.25.1-cp310-abi3-manylinux_2_28_aarch64.whl (22.7 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ ARM64

foxglove_sdk-0.25.1-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.25.1-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.25.1-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.25.1-cp310-abi3-macosx_11_0_arm64.whl (16.5 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

foxglove_sdk-0.25.1-cp310-abi3-macosx_10_12_x86_64.whl (17.9 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

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

File hashes

Hashes for foxglove_sdk-0.25.1.tar.gz
Algorithm Hash digest
SHA256 8230f3c32ea3ab715818687377491594ec9c7e58e6b0ed8ed91aadf937ce706b
MD5 cfa1c9b67786b23faccbba6252a7bd08
BLAKE2b-256 c1a786a252782ea0d9baf1357369ad1bbf1ed644768702b0266a3fa3a05361d0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for foxglove_sdk-0.25.1-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 6ed3ad0d3e72cd7875e7e293709c5ff90494fe14f1b48a336baffc313a7272cc
MD5 50d198baf9af7dc3e559448c6c69a3a2
BLAKE2b-256 5f4dbdb9e252a41a951eb53908ac9cb965b7480c3ba649174f5398d4fcf0ca1d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for foxglove_sdk-0.25.1-cp310-abi3-win32.whl
Algorithm Hash digest
SHA256 2a1121a5c74590ff6e61628c4a46dc57d392d290b4beeb29d6852933da56224a
MD5 79c7c9415d429af8cffa38b5fa4fd8b4
BLAKE2b-256 81831c4c6d04fbd4784fe44fb2da021db1adf1f03a371f1e5679a383c1173235

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for foxglove_sdk-0.25.1-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 69d5966213b5212b8841b4004fe582db924a74f1610d8452ad890f6931702926
MD5 920699e9ba7f05f38c4d7c4c0c8c8fb5
BLAKE2b-256 9078f74bb167186c965d475ff360fa6eb7441d5ac6c6239d60f542f63984f849

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for foxglove_sdk-0.25.1-cp310-abi3-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 7909fd9f94935935dd8813702d84ffdbfebeb3866673c618ce35e8cfedd03029
MD5 eaf42c19e47b3604bae0b4e9d117cc00
BLAKE2b-256 b5af57fa58525d3acb5c5480a6f0ef86450b1a0ccae2b21248edb1376073ce55

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for foxglove_sdk-0.25.1-cp310-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 0fcb36e628ab3d9043e193f12ad4dbbb955fe18616aac7ef5bca82c52910f108
MD5 75ab073930c04c7b2002e4c70267296a
BLAKE2b-256 fe9c3452d92959e05fc6b1c1e5f032605d55623aeb6704357d20408f8781bc84

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for foxglove_sdk-0.25.1-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 419dd8308e3f91e2ae487b727f1bf1804642990876163b2a353db4a1b1de1425
MD5 cf0098e48c8ab0fba1c6bd9c0a29bc9d
BLAKE2b-256 357c58324c99b80eef0b674c8d4f5c2e07c66fd1480a27a8f0d4d79371805111

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for foxglove_sdk-0.25.1-cp310-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 aed27c0f03a45fd6abdd566498bfee2672391602bcff32c827b8e3a6d8f67ab1
MD5 62946654b231a6ba68d7633e1dca0566
BLAKE2b-256 7ce42b22ef06ba4058494c7aa35974d138f8f1ae4cf5273f77d69c9dc3a99b45

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for foxglove_sdk-0.25.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7b6d3af517a00342bf7b08a4a65b043f3eafaa197138752b6fbd704fb91043fa
MD5 b1773a2e4faab134f9eb18361a8e3718
BLAKE2b-256 a3fa1254adb5e72eff507695473e9c82d0e90395b61463e5353762250db30d3d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for foxglove_sdk-0.25.1-cp310-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 3f75374fedafe259c40b19bc645589d9453708eab679a5b07c603035f936d29a
MD5 268cc0f1574944a91d2818c640eecc85
BLAKE2b-256 38daad22d8d6e3fedde9fc0c49aa8b20394e5e0bc44ab3fba564c77a64ddc7e2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for foxglove_sdk-0.25.1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 968e32c8668d172f6b546c8e7af658ed35a21ec165adc3bacf53a04dda159f12
MD5 22aa909d9201caa9ff678e9091cb3f57
BLAKE2b-256 d6c3f95874935a3436841487df1f0202de4d20eabc0adb6b79c94c531bbe7eb3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for foxglove_sdk-0.25.1-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3e908bd87d1926a05c785779d8252db6b87eef685f284ec1cf46ee501645d08e
MD5 b6a2746d43a03d4a5e2a948af3fb3004
BLAKE2b-256 27ed16d809fab24cbfdf97c15c9cdd80eabfeb447ca545ede426950d62bac848

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for foxglove_sdk-0.25.1-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 5af9f9a691eefbe6e0a47875ff2f7d0fc36607f0920e8690bbdc2dfd4fb22451
MD5 e51c5607c05b4e306434c4f47266755c
BLAKE2b-256 581559f02e8201b8da09ce05d8774820c29efc9149862b70ee6b3a27968e791a

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