Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

atlas-ble-client

Python BLE client for the Vakaros Atlas sailing instrument.

Handles device discovery, session listing, and chunk-by-chunk streaming download with CRC verification. Downloaded chunks can be assembled into VKX files for analysis.

Requirements

  • Python 3.9+
  • bleak 0.21+

Installation

pip install atlas-ble-client

Usage

import asyncio
from atlas_ble_client import AtlasClient

async def main():
    # Scan for all Atlas devices in range (or pass target_sn="XXXXXXXXXXXX")
    devices = await AtlasClient.find_devices()

    for device in devices:
        print(f"Found: {device.serial_number} ({device.address})")
        async with AtlasClient(device) as client:
            sessions = await client.list_sessions()
            for sess in sessions:
                if sess.duration_sec == 0:
                    continue
                print(f"  Session {sess.index}: {sess.total_chunks} chunks, {sess.duration_sec}s")
                async for chunk_id, data in client.stream_chunks(sess):
                    # save data to disk, assemble into VKX, etc.
                    pass

asyncio.run(main())

Assemble chunks into a VKX file

from atlas_ble_client import AtlasClient

records = []
async for chunk_id, data in client.stream_chunks(sess):
    records.append(AtlasClient._assemble_chunk(chunk_id, data))

with open("session.vkx", "wb") as f:
    f.write(b"".join(records))

Protocol

The Atlas instrument communicates over BLE using a proprietary binary protocol. See the module docstring in src/atlas_ble_client/client.py for the full packet format and VKX file structure.

Disclaimer

This software is provided as-is, without any warranty. Use at your own risk. The authors are not responsible for any damage to devices or data loss.

License

MIT — see LICENSE

Metadata

Release files for atlas-ble-client 0.1.0b1

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

Source distribution (sdist)

Source distribution for atlas-ble-client 0.1.0b1
File Size Uploaded Provenance
atlas_ble_client-0.1.0b1.tar.gz 6.7 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for atlas-ble-client 0.1.0b1
File Interpreter ABI Platform
atlas_ble_client-0.1.0b1-py3-none-any.whl Python 3 none any Details

Total release size: 14.3 kB

Release files / atlas_ble_client-0.1.0b1.tar.gz

Download URL atlas_ble_client-0.1.0b1.tar.gz
Size 6.7 kB
Tags Source
SHA-256 checksum
How to use checksums
4eb3d29cf907b0aad03276f900ea51a4d6d4b3c2d97d9146ac295a882b519cba
BLAKE2b-256 checksum
How to use checksums
47e028f9187a05bf445aa814aba2d46670a2dbf1be02763394536593d30e592b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Apr 5, 2026.

Transparency log

Release files / atlas_ble_client-0.1.0b1-py3-none-any.whl

Download URL atlas_ble_client-0.1.0b1-py3-none-any.whl
Size 7.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4ab1ed14bd8e2b6045ca43a30cff4c48806c109f33186fe4f9ad33b9370d4c17
BLAKE2b-256 checksum
How to use checksums
322154f6635950a6cba1e643fd7a5f1ebdfdfdd654a7969c2428a0ccc1c9c30e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Apr 5, 2026.

Transparency log

Security for atlas-ble-client 0.1.0b1

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 atlas_ble_client-0.1.0b1.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 Apr 5, 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.

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

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