Skip to main content

No project description provided

Project description

byte_unit

Library to support the below

  • Byte unit string parsing
  • Conversion between specific unit
  • Readable conversion of bytes to the closest byte unit

Usage

pip install byte_unit

Dev setup

initial setup

pip install poetry
make setup

publish to testpypi

poetry config repositories.testpypi https://test.pypi.org/legacy/
poetry publish --build -r testpypi -p <password> -u <username:=__token__>

useful poetry commands

poetry add <dependencies>
poetry add --dev <dependencies> # dev dependencies
poetry update
poetry lock --no-update

Contribution

Contributions are very welcome. Tests can be run with make test, please ensure the coverage at least stays the same before you submit a pull request.

License

Distributed under the terms of the MIT license, "byte-unit" is free and open source software

Repository

Repo-url

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

byte_unit-1.0.0.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

byte_unit-1.0.0-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

Details for the file byte_unit-1.0.0.tar.gz.

File metadata

  • Download URL: byte_unit-1.0.0.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.9.19 Linux/6.5.0-1018-azure

File hashes

Hashes for byte_unit-1.0.0.tar.gz
Algorithm Hash digest
SHA256 4d6b478699b8e783764a484106e1900ec77ee0a7ee06c75df62fe6c21bcd33dc
MD5 a29a1589d6f2a6f8fdff1d0453eacfe6
BLAKE2b-256 e249d8a4bb4edeef5de26c1a414cd904b8dcf734a3e50fb8a078fd751bdcc609

See more details on using hashes here.

File details

Details for the file byte_unit-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: byte_unit-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 2.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.9.19 Linux/6.5.0-1018-azure

File hashes

Hashes for byte_unit-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b8a7ba037deaef4c76700f006f0a078b4dd2dd9555b2def16791e6cd643c7620
MD5 01b11fdb47f6a3f4e7b52948d34b14fb
BLAKE2b-256 e84ff14f2276ac7f253005bb57dc99ebfefedab0e11960687119063f7cf2e843

See more details on using hashes here.

Supported by

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