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.2.tar.gz (546.9 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.2-cp310-abi3-win_amd64.whl (16.5 MB view details)

Uploaded CPython 3.10+Windows x86-64

foxglove_sdk-0.25.2-cp310-abi3-win32.whl (1.5 MB view details)

Uploaded CPython 3.10+Windows x86

foxglove_sdk-0.25.2-cp310-abi3-musllinux_1_2_x86_64.whl (2.5 MB view details)

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

foxglove_sdk-0.25.2-cp310-abi3-musllinux_1_2_armv7l.whl (2.5 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.2+ ARMv7l

foxglove_sdk-0.25.2-cp310-abi3-musllinux_1_2_aarch64.whl (2.4 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.2+ ARM64

foxglove_sdk-0.25.2-cp310-abi3-manylinux_2_28_x86_64.whl (19.2 MB view details)

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

foxglove_sdk-0.25.2-cp310-abi3-manylinux_2_28_aarch64.whl (18.6 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ ARM64

foxglove_sdk-0.25.2-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.2 MB view details)

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

foxglove_sdk-0.25.2-cp310-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (2.2 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ ARMv7l

foxglove_sdk-0.25.2-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.3 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ ARM64

foxglove_sdk-0.25.2-cp310-abi3-macosx_11_0_arm64.whl (16.4 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

foxglove_sdk-0.25.2-cp310-abi3-macosx_10_12_x86_64.whl (17.8 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

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

File hashes

Hashes for foxglove_sdk-0.25.2.tar.gz
Algorithm Hash digest
SHA256 a727f5f8560c961fa0b51d3730d2cc7177152433f31330b3a750a43cc24a527c
MD5 1f6566fd765ba68e389e18de7b410908
BLAKE2b-256 cfb2b588631fd1e26fd7893e0de15b2ee5a2dcf9eb1235f9d067610c288af1d1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for foxglove_sdk-0.25.2-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 e35df4fef1aa93d4ba4533a130786602b8a5abfaa21ab5b01c35360a58f8331d
MD5 25d2fecccfd5cd7e5593e68c2b3b9a7b
BLAKE2b-256 f9eb9b54ae906549b73b72a43542a03d8baa0ccadbd29afd8d51b1d519e5e30d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for foxglove_sdk-0.25.2-cp310-abi3-win32.whl
Algorithm Hash digest
SHA256 390f37e8305a2bf040cb969bb9f8e226b5e9430810092802c09adeabf72a16a5
MD5 194c9e10e281efb59a09456840549fe6
BLAKE2b-256 7d50714b7d1dc873ce0a267ecc0e7ca22fe498166538e9f1097c4c965ac45e28

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for foxglove_sdk-0.25.2-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 4cbf89fb372417fbe22f4c336c059258c1f9db5ab934d06b30875be4e29d01e7
MD5 ff56e75042a85148971d1cb5db1b3cf3
BLAKE2b-256 61a4ffeb43d0a4f41fbb0c750ffd3d5d6a0464a9f3da017e46c98b2a99bfa9c6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for foxglove_sdk-0.25.2-cp310-abi3-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 9601fac2e40bb2f97963d1300471912f37dedfe1ae3d3d91226fa9d4aa36ae35
MD5 a648915a41b2cd515c2b7d665578cfc6
BLAKE2b-256 4d604ca7da1bf607fdafa5f9a3ce003fc9e16cf82010c10a5085e8be8b961eb6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for foxglove_sdk-0.25.2-cp310-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 189211252e588968c93a0a7dc886b5bd9c22833c7b070977d62368b40df90c0a
MD5 e00917882358e5fc5258b485e25a00c7
BLAKE2b-256 0f80873c9b19ef7b8e4c2952cb26fd77187e770ecfd326cc1ba5772ddac25f1e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for foxglove_sdk-0.25.2-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9acb42f236c7b3941caae3643f06c5051a2483502e332af7dcf100466c9875ba
MD5 7fe69b17b1fba82d6c6511abe4582806
BLAKE2b-256 06a298b6314a779aab355abb2042590e12402c6b4baccf06f332982da741b47f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for foxglove_sdk-0.25.2-cp310-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 2e9ad2b55e3c3cf087c6af20308f1e056a920bbc566689ddf02faa243bc4700f
MD5 9ca1bb583d3f77aff1fe0d4120a83ac7
BLAKE2b-256 23b00dae17be83d1c1d9b710a582b2f3c929e0b49d714f64a81c802a85b795d0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for foxglove_sdk-0.25.2-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 42969097dd8e86a7573d9a253741eaaa4c79c19eb3d422ef1165040806654216
MD5 d0bb8974049a056ec803bb64aa1cce64
BLAKE2b-256 1ef205aac23304d596df535ca10f9761091c23bc257b9e3c1fb6866cce8c358d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for foxglove_sdk-0.25.2-cp310-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 61f87f7ffce6353b9fd862267a4417027a5f45289f8f6a3125d560fbac97c14f
MD5 90a51f8e834646631350655403c990e5
BLAKE2b-256 a71279ef6a1849eae9bea0938d48b198853747253038d3a8c28f62a00fa70de3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for foxglove_sdk-0.25.2-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 df5a9075f01c85841ad555a9fa97ad966a62d25fc9482142724d328dde42aedf
MD5 d89890e2991eb61a80ed80abd86047b0
BLAKE2b-256 d570d010935552184c0f2bd387b0b75f3363bfe731b0b7bae23e525740cdd633

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for foxglove_sdk-0.25.2-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e3453422c04b9cd738ad225fdedecc528e33d51f5f87779b7d48a2608dbab576
MD5 68ebd914c42d4c61250eb9ce243008d5
BLAKE2b-256 84676e67d672d3ef1470710d32c3801fca26487ecfd6da4f84492e36c3cf3fd1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for foxglove_sdk-0.25.2-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 b717bec3b0179726d98c9ed1b8ef04d78fbf6a67b9c8a128dc6727cf45eb6142
MD5 4b942d4d6cb42f35fe4494b90174539b
BLAKE2b-256 ed36b820005a865402de1b7e3c07ff37339ccacb24dbeceda3f17711644c94d9

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