Metadata-Version: 2.1
Name: variable-base-factoradic
Version: 1.1
Summary: Python implementation of Randall Munroe'xs variable base factoradic number system: https://xkcd.com/2835/
Home-page: https://soerface.github.io/variable_base_factoradic/
License: MIT
Author: Soeren Wegener
Author-email: wegener92@gmail.com
Requires-Python: >=3.10,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Project-URL: Repository, https://github.com/soerface/variable_base_factoradic_py
Description-Content-Type: text/markdown

# Variable-base Factoradic numbers

Implementation of https://xkcd.com/2835/

## Installation

https://pypi.org/project/variable-base-factoradic/

```bash
pip install variable-base-factoradic
```

## Usage

```python
from variable_base_factoradic import convert

# Convert from decimal to factoradic
convert(5038)
# Out: "654320"

# Convert from factoradic to decimal
convert("654320")
# Out: 5038
```
