Skip to main content

TrakBridge Plugin SDK

Base classes and runtime contracts for building TrakBridge plugins.

from trakbridge_sdk import BaseGPSPlugin

class MyTracker(BaseGPSPlugin):
    @property
    def plugin_name(self) -> str:
        return "my_tracker"

    async def fetch_locations(self, session):
        ...

What's in the box

  • BaseGPSPlugin — poll an external source, emit locations
  • BaseOutputPlugin — receive CoT events, deliver them somewhere
  • BaseInboundPlugin — accept pushed data (HTTP push / active connect)
  • PluginConfigField / PluginConfigMixin — declarative config with UI generation and sensitive-field encryption
  • trakbridge_sdk.configure(...) — runtime provider registry the host application uses to inject its services (encryption, plugin metadata, circuit breaker, CoT service)

See docs/plugin_contract.md for the full plugin contract and examples/ for working plugins of all three types.

Development

pip install -e ".[dev]"
pytest

Publishing checklist (deferred follow-ups)

  • Move repository from git.emfour.net to GitHub (public release)
  • Configure PyPI Trusted Publishing (OIDC from GitHub Actions), enable 2FA, no long-lived tokens
  • Publish 1.0.0 to PyPI via a GitHub release (.github/workflows/publish.yml)
  • Switch TrakBridge core dependency from the internal git URL to trakbridge-plugin-sdk==1.0.0 with --hash pinning

License

Apache-2.0

Metadata

Release files for trakbridge-plugin-sdk 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for trakbridge-plugin-sdk 1.1.0
File Size Uploaded Provenance Actions
trakbridge_plugin_sdk-1.1.0.tar.gz 22.8 kB Without provenance Details for trakbridge_plugin_sdk-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for trakbridge-plugin-sdk 1.1.0
File Interpreter ABI Platform Actions
trakbridge_plugin_sdk-1.1.0-py3-none-any.whl Python 3 none any Details for trakbridge_plugin_sdk-1.1.0-py3-none-any.whl

Total release size: 44.9 kB

Release files / trakbridge_plugin_sdk-1.1.0.tar.gz

Download URL trakbridge_plugin_sdk-1.1.0.tar.gz
Size 22.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c285e2a1a6e8cbeef24524b56daef7510b303df90f500812f7d5fc34c18e607a
BLAKE2b-256 checksum
How to use checksums
d4158f770d4fa91e9bcf61d4390abdcd4961f72f7a14dc0ae2c1d55ff87b3f95
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release files / trakbridge_plugin_sdk-1.1.0-py3-none-any.whl

Download URL trakbridge_plugin_sdk-1.1.0-py3-none-any.whl
Size 22.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
492a0c3032da88dd1d40b6ddb8a214e157a0d7d48aacd9ea877570f17d24f779
BLAKE2b-256 checksum
How to use checksums
66f0c0dddd29a203de8407f7eee18aa34865bc8bb957336e5f518539a9403528
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Security for trakbridge-plugin-sdk 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page