Python library for parsing OKOK scale BLE advertisements.
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:
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.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| okokscale-0.0.2.tar.gz | 12.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| okokscale-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.8 kB
Release files / okokscale-0.0.2.tar.gz
| Download URL | okokscale-0.0.2.tar.gz |
|---|---|
| Size | 12.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
467b06300b2459a523872f7fb26a7ef1e9680ddd892c62248986dcaff2e7b4de
|
|
BLAKE2b-256 checksum How to use checksums |
438dce078776e4f986756b2bab1fd26d321ff8f37aea351124cc2193220523e0
|
| 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 14, 2026.
Transparency logRelease files / okokscale-0.0.2-py3-none-any.whl
| Download URL | okokscale-0.0.2-py3-none-any.whl |
|---|---|
| Size | 11.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8288af2d73bf5bcfe4fa2ec182fbb85b88733e35779ab71262fa139a0cea92c5
|
|
BLAKE2b-256 checksum How to use checksums |
071f08a32ab5309cd8340c3efa34bc37f9631331a3c3501b56b1be1f6be9c694
|
| 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 14, 2026.
Transparency log