Skip to main content

Python library for parsing OKOK scale BLE advertisements.

Python GitHub Release Licence Maintainer
GitHub Sponsors PayPal BuyMeCoffee Patreon

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 PayPal BuyMeCoffee Patreon

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)

Source distribution for okokscale 0.0.2
File Size Uploaded
okokscale-0.0.2.tar.gz 12.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for okokscale 0.0.2
File Interpreter ABI Platform
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 log

Release 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

Release history Release notifications | RSS feed

0.0.4

2 release files

0.0.3

2 release files

This release

0.0.2 This release

2 release files

0.0.1

2 release files

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