Variable-base Factoradic numbers
Implementation of https://xkcd.com/2835/
Installation
https://pypi.org/project/variable-base-factoradic/
pip install variable-base-factoradic
Usage
from variable_base_factoradic import from_factoradic, to_factoradic
# Convert from decimal to factoradic
to_factoradic(5038)
# Out: "654320"
# Convert from factoradic to decimal
from_factoradic("654320")
# Out: 5038
Metadata
Release files for variable-base-factoradic 1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| variable_base_factoradic-1.2.tar.gz | 2.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| variable_base_factoradic-1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.9 kB
Release files / variable_base_factoradic-1.2.tar.gz
| Download URL | variable_base_factoradic-1.2.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4ebbd60a80c4539486abd10dedbd219a9ff79a40ffd94626d03a5a6664ef790a
|
|
BLAKE2b-256 checksum How to use checksums |
deeba4fe79f48e8d3982f0483fe8737dc49f4c09841595626a803b2261402249
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.10.13 Linux/6.2.0-1012-azure
|
Release files / variable_base_factoradic-1.2-py3-none-any.whl
| Download URL | variable_base_factoradic-1.2-py3-none-any.whl |
|---|---|
| Size | 3.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c355efdd529e640c7e10112edcf7d9d0c8d6ae14b4c9c095cd46736997102733
|
|
BLAKE2b-256 checksum How to use checksums |
02383b9e0ac4dd61022c6702601641c079c3e87e4747a849f6f57513140bdfaa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.10.13 Linux/6.2.0-1012-azure
|