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

Uploaded CPython 3.10+Windows x86-64

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

Uploaded CPython 3.10+Windows x86

foxglove_sdk-0.25.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.25.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.25.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.25.0-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.0-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.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.25.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.25.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.25.0-cp310-abi3-macosx_11_0_arm64.whl (16.5 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

foxglove_sdk-0.25.0-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.0.tar.gz.

File metadata

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

File hashes

Hashes for foxglove_sdk-0.25.0.tar.gz
Algorithm Hash digest
SHA256 9a97d08e324aa89090249ecbce3800421922487ea6b335809942fae843f9b556
MD5 e4d910dfe0dd962ef0d6f079fe8e2269
BLAKE2b-256 7491c9c15a9288696e8a4b9e24f750127a20cd863302d0885885dbfb5dce89bf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for foxglove_sdk-0.25.0-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 472bf96814fd6e03917d2af5c4df8d710e6195c51fa2672df5569e4dffa296f1
MD5 4089081f9f0db6e4c97b4140109f1da6
BLAKE2b-256 8e154bff5573913e410e7acc2786dbb10cb93898feb5c59cf7266b6ffabeeb73

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for foxglove_sdk-0.25.0-cp310-abi3-win32.whl
Algorithm Hash digest
SHA256 58029364617ce4688e20df88e441e7b7fb827030455a87d42cbe9d590df0c2ea
MD5 d075d99bcd18b398413432bbb4c99e3c
BLAKE2b-256 92e510fa890f3356cfd7f57de724d3d2275a52cf779f6595ea5405cd181763fd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for foxglove_sdk-0.25.0-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 0bfbfd0f41df1405b777dc2ab0d215f05e6fef5a94979b5d49277dee6a67b559
MD5 cba395edc555098fdbccef44e231dd20
BLAKE2b-256 69899be8cbebaa0005d812011c16958ede3c7877de822bf89215a8d511174799

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for foxglove_sdk-0.25.0-cp310-abi3-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 84233a3e0b3cd9bfd1844bef4c7ef79894bb80189c16c34b42368979642240fe
MD5 9168a470b188a31830a32ce06a577316
BLAKE2b-256 3937acbec1aa4f9b55d34f7878bdca546dd99a2f3eda19562cb4322757154283

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for foxglove_sdk-0.25.0-cp310-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 7ed450d22ef1ec6275828ec14726a6c401dc8f26bfa842ab8cc7ac7cf0b42d72
MD5 effa2cc09121b1d3c0b15ce2bb3c9530
BLAKE2b-256 03dfb4f91ab8dbfb51e2e69d00e9a2452b87bf4c0a3c4b3aa5454c7a2ea937bf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for foxglove_sdk-0.25.0-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e5c6acfbcd5ec8f95b86664a1e28a3b081b6fbf51f79f115aed5321de0f7bdc9
MD5 41689bbc4e5770da402dbbb89280b285
BLAKE2b-256 885686875891e032f8a97b88877808dfa28943e78f490b3c8f07c6d7eb4ce993

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for foxglove_sdk-0.25.0-cp310-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 2352a5a3d6a384fc5683a51a6ae1de45334e4de7060cce767b0562157fd2735e
MD5 6502b5a0cfc0ae0271ac725c9389f10c
BLAKE2b-256 cb867d86afdba58b874fb867011b974cff22ff0aca78644f31fe0d87cd2a8dcc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for foxglove_sdk-0.25.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 12209270ac0a7b1971b295da3c8205f1a4de6e13a69e2ac884b9b65be8865994
MD5 adb698b108520d155d54e6c56abb7130
BLAKE2b-256 d2ca1fd68f7791f7ba52692f4334d7a190b06c5dc5ad44de087100bc6e0505ca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for foxglove_sdk-0.25.0-cp310-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 e61dc35f481fe1d55a7192e5be2b6861114f0d205668409f29e93f4c3f0c4d4a
MD5 3f7e304afdd28dbe0c761db079b4a7d7
BLAKE2b-256 0555d9a66622e547686a9e02d2da491adb16a8bc154b2a1853b60ce0ffb7799f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for foxglove_sdk-0.25.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 0704366747dd610032c05fb2eb5ff3dc51d7ca2ea75a3942b3f6840a110b24c6
MD5 232f75da08d6f55bd9d20650fe8fa690
BLAKE2b-256 803d94e4b0b580bbdb3e75749b0213c42203d3b0e7e82e55bb228cdf7c1116a9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for foxglove_sdk-0.25.0-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a91024dbee7197cd20ae0be5d9ebbbb14fba9e914aa19ac59dc581bd38b0695f
MD5 214a7d0103cb38747e93cf7cc8989471
BLAKE2b-256 7bc093b92609529b3cf8ec168798932e77ed5d8d9ddd81495976a1aaeb05e62b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for foxglove_sdk-0.25.0-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 5eb187095f9085b00424356fc4e6b0baff7f5a6908542000dc3f133cd49e5ece
MD5 9f3a86a7522347b1b165fa24ad8d1346
BLAKE2b-256 152ad996e19efdd219d1b3a446e6916d31b9b28948597f46fc2a86fbf0ad0938

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