Skip to main content

pyscorpiontrack

CI

pyscorpiontrack is a small async Python client for ScorpionTrack shared-location links.

This package exists to support a clean Home Assistant Core integration for the public ScorpionTrack share-link flow. It intentionally focuses on the read-only location-share endpoint rather than the private authenticated portal path.

Scope

  • accepts either a raw ScorpionTrack share token or a full shared-location URL
  • fetches the active share payload from the same endpoint the ScorpionTrack share page uses
  • normalizes shares, vehicles, and position data into typed dataclasses
  • raises explicit exceptions for connectivity problems, invalid tokens, and expired or unavailable shares

Example

from aiohttp import ClientSession
from pyscorpiontrack import ScorpionTrackClient


async def main() -> None:
    async with ClientSession() as session:
        client = ScorpionTrackClient(session=session, token="YOUR_SHARE_TOKEN")
        share = await client.async_get_share()
        print(share.title)
        for vehicle in share.vehicles:
            print(vehicle.display_name, vehicle.status)

Why this repo exists

Home Assistant Core expects service communication to live in an external Python library. This package is the extraction of the ScorpionTrack share-link logic into a reusable dependency so the Home Assistant integration can stay focused on config flows, entities, diagnostics, and platform behavior.

Metadata

Release files for pyscorpiontrack 0.1.2

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

Source distribution (sdist)

Source distribution for pyscorpiontrack 0.1.2
File Size Uploaded Provenance
pyscorpiontrack-0.1.2.tar.gz 9.7 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pyscorpiontrack 0.1.2
File Interpreter ABI Platform
pyscorpiontrack-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 16.8 kB

Release files / pyscorpiontrack-0.1.2.tar.gz

Download URL pyscorpiontrack-0.1.2.tar.gz
Size 9.7 kB
Tags Source
SHA-256 checksum
How to use checksums
80b5e5943bbe450a57a45517dddba486a66b52b6f080d0b4347a19810ed49d7d
BLAKE2b-256 checksum
How to use checksums
d8b68911ca95a999731ec07129e24bbffca580a746b019280879b76bb7fb7423
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 12, 2026.

Transparency log

Release files / pyscorpiontrack-0.1.2-py3-none-any.whl

Download URL pyscorpiontrack-0.1.2-py3-none-any.whl
Size 7.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
83353e9c42dcef47313524c2e96638e93cac07770a1cd217b0d6efaa193daefd
BLAKE2b-256 checksum
How to use checksums
9f275c91113cf027dc7f4720f36afafe64f154d6ced14e8185968c6f90e0de9f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 12, 2026.

Transparency log

Security for pyscorpiontrack 0.1.2

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pyscorpiontrack-0.1.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 12, 2026.

Transparency log

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.

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