Base conversion command line utility.
Project description
convbase
Base conversion command line utility.
Installation
You can install convbase using uv or pip:
uv pip install convbase
# or
pip install convbase
Usage
convbase provides four command-line tools for quick base conversions:
bin - Convert to Binary
Converts a decimal, octal (prefix 0o), or hexadecimal (prefix 0x) value to binary.
$ bin 10
0b1010
$ bin 0xFF
0b11111111
oct - Convert to Octal
Converts a value to octal.
$ oct 10
0o12
$ oct 0b1010
0o12
dec - Convert to Decimal
Converts a value to decimal.
$ dec 0b1010
10
$ dec 0xFF
255
hex - Convert to Hexadecimal
Converts a value to hexadecimal.
$ hex 10
0xa
$ hex 0b1111
0xf
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file convbase-0.2.0.tar.gz.
File metadata
- Download URL: convbase-0.2.0.tar.gz
- Upload date:
- Size: 1.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d6c17274dec5946b51f3cf668a3ddc0fcf6824663ac338f82050fabf29b86363
|
|
| MD5 |
7d53f4a4fb50f36a926eff60aedc052d
|
|
| BLAKE2b-256 |
b1906cfd70ff0fcaccbb4128ff47379dfeedc84e643a5e59f41393415ddce6e7
|
Provenance
The following attestation bundles were made for convbase-0.2.0.tar.gz:
Publisher:
cd.yml on jkomalley/convbase
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
convbase-0.2.0.tar.gz -
Subject digest:
d6c17274dec5946b51f3cf668a3ddc0fcf6824663ac338f82050fabf29b86363 - Sigstore transparency entry: 833475571
- Sigstore integration time:
-
Permalink:
jkomalley/convbase@ae95d06ade54dfab9bc9d1e34bae902e2304f054 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/jkomalley
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
cd.yml@ae95d06ade54dfab9bc9d1e34bae902e2304f054 -
Trigger Event:
release
-
Statement type:
File details
Details for the file convbase-0.2.0-py3-none-any.whl.
File metadata
- Download URL: convbase-0.2.0-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
42f2de591bac7a376ddb3f83c1b5be032aeb1bba719d4e73f2c5fd636d4d692e
|
|
| MD5 |
07929319f3eb7a5a383a87093f834a90
|
|
| BLAKE2b-256 |
2cd6db4a61d046f2f2718afc55fbf3c8d35e382cec65ef1c45c2df7cc4c08872
|
Provenance
The following attestation bundles were made for convbase-0.2.0-py3-none-any.whl:
Publisher:
cd.yml on jkomalley/convbase
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
convbase-0.2.0-py3-none-any.whl -
Subject digest:
42f2de591bac7a376ddb3f83c1b5be032aeb1bba719d4e73f2c5fd636d4d692e - Sigstore transparency entry: 833475572
- Sigstore integration time:
-
Permalink:
jkomalley/convbase@ae95d06ade54dfab9bc9d1e34bae902e2304f054 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/jkomalley
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
cd.yml@ae95d06ade54dfab9bc9d1e34bae902e2304f054 -
Trigger Event:
release
-
Statement type: