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.
Metadata
Release files for foxglove-sdk 0.27.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| foxglove_sdk-0.27.0.tar.gz | 614.6 kB | Details |
Built distributions (wheels)
Total release size: 102.4 MB
Release files / foxglove_sdk-0.27.0.tar.gz
| Download URL | foxglove_sdk-0.27.0.tar.gz |
|---|---|
| Size | 614.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
91abbb18963d19f468937a9a1a4f4e6968cdbc2111231a33dbb881f96c9aef37
|
|
BLAKE2b-256 checksum How to use checksums |
77ca2885e43683ccaf9a75b21e4e4728584bf9af9301b52bae41a33ba306412f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / foxglove_sdk-0.27.0-cp310-abi3-win_amd64.whl
| Download URL | foxglove_sdk-0.27.0-cp310-abi3-win_amd64.whl |
|---|---|
| Size | 16.1 MB |
| Tags | CPython 3.10 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
1eb0aca6f804894bd85d5875945fc391d911e54ac107715f2111bd7083e2fb57
|
|
BLAKE2b-256 checksum How to use checksums |
15492c3aa45b924b03b5c31fc99d0c631aacab470a3a4c3cc4587d03f30a827a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / foxglove_sdk-0.27.0-cp310-abi3-win32.whl
| Download URL | foxglove_sdk-0.27.0-cp310-abi3-win32.whl |
|---|---|
| Size | 1.6 MB |
| Tags | CPython 3.10 Windows x86-32 abi3 |
|
SHA-256 checksum How to use checksums |
f70c0bca323bb7d7ee83dfe89295cf19bc164b7f3822df00cb9f3845334ac2c7
|
|
BLAKE2b-256 checksum How to use checksums |
a63bb41b461db1be0a4547c120a0db755472478eb70e9b5b84067b44d4061185
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / foxglove_sdk-0.27.0-cp310-abi3-musllinux_1_2_x86_64.whl
| Download URL | foxglove_sdk-0.27.0-cp310-abi3-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 2.5 MB |
| Tags | CPython 3.10 Linux musl 1.2+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
c894752cd86e6502f68eca0f3482f0d7c7ae8655d19a18312d6e0e86627850c8
|
|
BLAKE2b-256 checksum How to use checksums |
3d9414484f271cf2f30efd70ac63d40b9876cd1ad9330d01e618ff9ac2cf8971
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / foxglove_sdk-0.27.0-cp310-abi3-musllinux_1_2_armv7l.whl
| Download URL | foxglove_sdk-0.27.0-cp310-abi3-musllinux_1_2_armv7l.whl |
|---|---|
| Size | 2.5 MB |
| Tags | CPython 3.10 Linux musl 1.2+ ARMv7l abi3 |
|
SHA-256 checksum How to use checksums |
51f2cdd17167e857fbe93ee6815a0b8c8be0591322a6bfdc1914e9f56e2b4ffb
|
|
BLAKE2b-256 checksum How to use checksums |
cf73a1264e6469bd21a109dc861c2fbee03a8f1fcc4c7071d63b720dd46b89b5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / foxglove_sdk-0.27.0-cp310-abi3-musllinux_1_2_aarch64.whl
| Download URL | foxglove_sdk-0.27.0-cp310-abi3-musllinux_1_2_aarch64.whl |
|---|---|
| Size | 2.5 MB |
| Tags | CPython 3.10 Linux musl 1.2+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
cd5d3eb08ba71d2be64ac8f96fe3b5a6363da49af24bfca1b5151bc0bd8a4c5c
|
|
BLAKE2b-256 checksum How to use checksums |
c6d03930ae1e6eecd5118deaa863a9df6f5bd501ea7a75f66ed2ef806239b9bd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / foxglove_sdk-0.27.0-cp310-abi3-manylinux_2_28_x86_64.whl
| Download URL | foxglove_sdk-0.27.0-cp310-abi3-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 18.6 MB |
| Tags | CPython 3.10 Linux glibc 2.28+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
008ce5bb7e3f6de96bebaefa53e2b372527966487dc2819587a138d658e52b13
|
|
BLAKE2b-256 checksum How to use checksums |
80005d7c99abb5675d999990e380cbb5a86227a79e64293c1236f5fa338c9a34
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / foxglove_sdk-0.27.0-cp310-abi3-manylinux_2_28_aarch64.whl
| Download URL | foxglove_sdk-0.27.0-cp310-abi3-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 18.3 MB |
| Tags | CPython 3.10 Linux glibc 2.28+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
0e29671c69679551e21be1c46a528d53e2dd33bc3acb6045d70690bf6430e4f6
|
|
BLAKE2b-256 checksum How to use checksums |
e2c7ced2b2ed427e6702a709fa0cb696c4233a5868609ec6b670e257408fb157
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / foxglove_sdk-0.27.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | foxglove_sdk-0.27.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 2.2 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
9bbd5e1d2121c2efc95187b6483cc461a2fdee42fc9a57d97820cfb59e5ef1b6
|
|
BLAKE2b-256 checksum How to use checksums |
fb9cd3300241616bb61a0301186777112e2ab3b5025e975a15eaea4124852fb7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / foxglove_sdk-0.27.0-cp310-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
| Download URL | foxglove_sdk-0.27.0-cp310-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl |
|---|---|
| Size | 2.2 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ ARMv7l abi3 |
|
SHA-256 checksum How to use checksums |
d1098d180a2c0df62bd206b4449ad835667e4d4d73fb7d0b55c97669abb82c71
|
|
BLAKE2b-256 checksum How to use checksums |
2aa45a6d233be3f422c774a12eb6fc447dd872bf75153babeafce9043c433ffa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / foxglove_sdk-0.27.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | foxglove_sdk-0.27.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 2.3 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
9c223218afae71c7ea04d02453ad6bbd2d36928faef4d1d9d65a777ffa2f36e8
|
|
BLAKE2b-256 checksum How to use checksums |
a68f13ec4f3f0a1811a9a19f203eac087c988d897b5955045f084a4b927a6706
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / foxglove_sdk-0.27.0-cp310-abi3-macosx_11_0_arm64.whl
| Download URL | foxglove_sdk-0.27.0-cp310-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 15.7 MB |
| Tags | CPython 3.10 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
594dbd17f1bc66e525a85bd5e62755cbe7aced4f70deb67ae103568255212c6a
|
|
BLAKE2b-256 checksum How to use checksums |
1a87c1cb618be62e95439d82a37d7549f9fe89124b392648dd0240baed2c9488
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / foxglove_sdk-0.27.0-cp310-abi3-macosx_10_12_x86_64.whl
| Download URL | foxglove_sdk-0.27.0-cp310-abi3-macosx_10_12_x86_64.whl |
|---|---|
| Size | 17.2 MB |
| Tags | CPython 3.10 abi3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
0585c4b4eef36d6c1da8776ec5accc9e0a85e41eae26031b4cf57a8509086428
|
|
BLAKE2b-256 checksum How to use checksums |
1ac491e08153266ca7decdc845309008196da092e0041e755ee3c96410225d66
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|