frash
Juggling with hex numbers.
With frash you can convert integers and floats to their hexadecimal equivalent.
Below you can find some examples.
Install
pip install frash
Usage
bash> frash 255
$ 0xff
bash> frash 255.
$ 0x1.fep7
bash> frash 98.2
$ 0x1.88ccccccccccdp6
bash> frash -r 0x1.88ccccccccccdp6
$ 98.2
bash> frash -r 0x2.p7
$ 256
bash> frash -r 1.8p0
$ 1.5
bash> frash -r 1.8
$ 1.5
bash> frash -r 0x1.8
$ 1.5
bash> frash -r 0x1.8p+1
$ 3
bash> frash -r 0x1.8p-2
$ 0.375
bash> frash -r .de
$ 0.867188
bash> frash -r abap1
$ 5492
bash> frash -r ABAP1
$ 5492
bash> frash 1e3
$ 0x1.f4p9
bash> frash 1e-4
$ 0x1.a36e2eb1c432dp-14
Octal Integers
There is a limited support for octal integer numbers.
bash> frash -o 8
$ 0o10
bash> frash -r -o 010
$ 8
bash> frash -r -o 0o10
$ 8
Metadata
Release files for frash 0.0.8
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 |
|---|---|---|---|---|
| frash-0.0.8.tar.gz | 3.1 kB | Without provenance | Details for frash-0.0.8.tar.gz |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| frash-0.0.8-py3.9.egg | Legacy Egg format | - | - | Details for frash-0.0.8-py3.9.egg |
| frash-0.0.8-py3-none-any.whl | Python 3 | none | any | Details for frash-0.0.8-py3-none-any.whl |
Total release size: 11.5 kB
Release files / frash-0.0.8.tar.gz
| Download URL | frash-0.0.8.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
889c72cd0fa0c1ce6b33c64925d7b8ed79d7b8a2b88a4a3db99fba353a8ca197
|
|
BLAKE2b-256 checksum How to use checksums |
8cb2c92445610cd17d15ec948ab457dcd485feebc9b9e552b9e8092e1a021744
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.21.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
|
Release files / frash-0.0.8-py3.9.egg
| Download URL | frash-0.0.8-py3.9.egg |
|---|---|
| Size | 4.6 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
c337e293a611dfd4145243600378d843414282e5d6eb98f80000e79af5cc610a
|
|
BLAKE2b-256 checksum How to use checksums |
b0b974f581495dfc5da1ac522956eb2a4a4a521deeb3aa0d6089bad1f4730c34
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.21.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
|
Release files / frash-0.0.8-py3-none-any.whl
| Download URL | frash-0.0.8-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0dfae0f4d9d5bdbd69832e2954a59febb3d29c7c999781e184c59250b6762a0b
|
|
BLAKE2b-256 checksum How to use checksums |
7021f348a223bd9b84706398fb37faa657e0319ae4b982ab272166b83fe73032
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.21.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
|
Security for frash 0.0.8
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.