Skip to main content

A python library for extracting weights from byte data

Project description

Samudra Scale

This Library helps you extract weight from byte data encoded in a specific way, by mapping byte sequences to numeric digits

Example usage:

from samudra_scale import decode_bytes

data = b'S\xd4\xacGS\xac+\xa000\xb8950\xeb\xe7\x8d\n'
weight = decode_bytes(data)
print(weight) # 8950

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

samudra_scale-0.1.2.tar.gz (2.6 kB view hashes)

Uploaded Source

Built Distribution

samudra_scale-0.1.2-py3-none-any.whl (2.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page