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 bihexdomedi 0.0.21

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

Source distribution (sdist)

Source distribution for bihexdomedi 0.0.21
File Size Uploaded Provenance Actions
bihexdomedi-0.0.21.tar.gz 1.3 kB Without provenance Details for bihexdomedi-0.0.21.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bihexdomedi 0.0.21
File Interpreter ABI Platform Actions
bihexdomedi-0.0.21-py3-none-any.whl Python 3 none any Details for bihexdomedi-0.0.21-py3-none-any.whl

Total release size: 3.6 kB

Release files / bihexdomedi-0.0.21.tar.gz

Download URL bihexdomedi-0.0.21.tar.gz
Size 1.3 kB
Tags Source
SHA-256 checksum
How to use checksums
1eec118fe26824fa873e304b513d9dd9f2426a347540821636fec57162a4196d
BLAKE2b-256 checksum
How to use checksums
f16b0ae6cd89c628ef428fe0e14cd1d1a36296d19e096e2674ad854b6863c479
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 / bihexdomedi-0.0.21-py3-none-any.whl

Download URL bihexdomedi-0.0.21-py3-none-any.whl
Size 2.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1593fe88096c58ab80de2352c05077c11894877092d790312f9d4e13ceaf4625
BLAKE2b-256 checksum
How to use checksums
71f5bfd0c4b2065de1578f68f5f693278a2994c5bb84300f8b89c4d7e9bc6959
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 bihexdomedi 0.0.21

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.

Release history Release notifications | RSS feed

This release

0.0.21 This release

2 release files No provenance

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