Skip to main content

Python library for parsing OKOK scale BLE advertisements.

Python GitHub Release Licence Maintainer
GitHub Sponsors BuyMeCoffee

Introduction

A Python library for parsing the BLE advertisements of OKOK scales which can be used with the OKOK international app and identify themselves on Bluetooth as Chipsea-BLE.

Supported scales

The following scale is known to work:

  • Tristar WG-2440

Please let me know if your scale works with this library so I can improve the overview of supported scales.

Installation

To install the Python OKOK scale library use the Package Installer for Python PIP:

pip3 install okokscale

Contribution and appreciation

Do you enjoy using this Python library? You can contribute or show your appreciation, in the following ways.

Contribute your scale brand and model

Is your scale supported by this Python library but not listed under Supported scales? Let me know your scale brand and model so I can improve the overview of supported scales.

Star this GitHub page

Help other OKOK scale users find this Python library by starring this GitHub page. Click ⭐ Star on the top right of the GitHub page.

Support my work

Please consider supporting my work through one of the following platforms. Your contribution is greatly appreciated and keeps me motivated:

GitHub Sponsors BuyMeCoffee

Hire me

If you're in need for a freelance Python developer for your project please contact me, you can find my email address on my GitHub profile.

Metadata

Release files for okokscale 0.0.5

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

Source distribution (sdist)

Source distribution for okokscale 0.0.5
File Size Uploaded Provenance Actions
okokscale-0.0.5.tar.gz 18.2 kB With provenance Details for okokscale-0.0.5.tar.gz

Built distribution (wheel)

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

Total release size: 29.6 kB

Release files / okokscale-0.0.5.tar.gz

Download URL okokscale-0.0.5.tar.gz
Size 18.2 kB
Tags Source
SHA-256 checksum
How to use checksums
03949bfdcf5cb8f940b98e14a91ef663af95dda181577394e9076b33de25cae0
BLAKE2b-256 checksum
How to use checksums
1619ef9017853c95ecc0cd94d9fd12d129ef809fde2a88a7964f350a2b3462a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 2, 2026.

Transparency log

Release files / okokscale-0.0.5-py3-none-any.whl

Download URL okokscale-0.0.5-py3-none-any.whl
Size 11.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
827165dad49b5525470eed176dddc03e9af1b544c892225c08936ab14061d9e6
BLAKE2b-256 checksum
How to use checksums
be2332c3eb56e8a7cba0abacef8b106068c9bd02807bdc34f1376dc70fa02a0d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 2, 2026.

Transparency log

Security for okokscale 0.0.5

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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for okokscale-0.0.5.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 Nov 2, 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