General Array Kalculator (GAK)
GAK allows for easy and customizable conversion of numbers to different bases. Here’s a crash course in usage:
from gak import base # prints "F" print(base(15, 16))
base() takes two arguments: the number being converted, and what base to convert the number to. An optional third argument is a custom lookup table for the base conversion that looks as follows:
#prints "bab"
print(base(5, 2, {0: "a", 1: "b"}))
It is a dictionary where the key is the number to be converted and the value is what string the number should become. By default GAK provides a lookup table up to base16.
Metadata
Release files for gak 1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gak-1.0.tar.gz | 1.3 kB | Without provenance | Details for gak-1.0.tar.gz |
Release files / gak-1.0.tar.gz
| Download URL | gak-1.0.tar.gz |
|---|---|
| Size | 1.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c47a062fda416577b5751ea62ddd95283a5917ffc2c30ad2ae1dbbed1328004f
|
|
BLAKE2b-256 checksum How to use checksums |
cae47e1f64661e17a21b441a62bc475b3bbc9877479913ea8c7eb6664ea754cc
|
| 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/39.0.1 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.1
|
Security for gak 1.0
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.