Skip to main content

BiHex

Simple base convert

How to install

pip install bihex-domedi

How to use

from BiHex import *

To create an instance, use:

foo = Bihex("b10110100"), where the letter behind the number is the base (2 = b, 8 = o, 10 = d, 16 = x)

To display the number in:

  • decimal: foo.returnnum("d"), gives "180"
  • binary: foo.returnnum("b"), gives "0b10110100"
  • hexadecimal: foo.returnnum("x"), gives "0xB4"
  • octal: foo.returnnum("o"). gives "0o264"

To display the number's original base, use foo.returnbase()

Metadata

Release files for bihex-domedi 0.0.6

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

Source distribution (sdist)

Source distribution for bihex-domedi 0.0.6
File Size Uploaded Provenance Actions
bihex-domedi-0.0.6.tar.gz 1.6 kB Without provenance Details for bihex-domedi-0.0.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bihex-domedi 0.0.6
File Interpreter ABI Platform Actions
bihex_domedi-0.0.6-py3-none-any.whl Python 3 none any Details for bihex_domedi-0.0.6-py3-none-any.whl

Total release size: 4.4 kB

Release files / bihex-domedi-0.0.6.tar.gz

Download URL bihex-domedi-0.0.6.tar.gz
Size 1.6 kB
Tags Source
SHA-256 checksum
How to use checksums
64e4f2ea2cb465e115f038ac64dce4fc95bf13912143fefe84d9afe54c76df91
BLAKE2b-256 checksum
How to use checksums
722fb08529c10546875f7cce6e01fcd154355d17b508a0a7957311b165a9fe58
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

Release files / bihex_domedi-0.0.6-py3-none-any.whl

Download URL bihex_domedi-0.0.6-py3-none-any.whl
Size 2.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5bbe6b2940b2fc9bb554ac13cdab6e65a3e631e8ad7bcf601ed36fea7081f80d
BLAKE2b-256 checksum
How to use checksums
cbd2654a25d6544030adfafa8f5caedd8d567cd959a88ca8d151992fc4e3fbf8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

Security for bihex-domedi 0.0.6

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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