variable-base-factoradic


Namevariable-base-factoradic JSON
Version 1.2 PyPI version JSON
download
home_pagehttps://soerface.github.io/variable_base_factoradic/
SummaryPython implementation of Randall Munroe'xs variable base factoradic number system: https://xkcd.com/2835/
upload_time2023-10-08 23:47:09
maintainer
docs_urlNone
authorSoeren Wegener
requires_python>=3.10,<4.0
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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 from_factoradic, to_factoradic

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

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

Raw data

            {
    "_id": null,
    "home_page": "https://soerface.github.io/variable_base_factoradic/",
    "name": "variable-base-factoradic",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.10,<4.0",
    "maintainer_email": "",
    "keywords": "",
    "author": "Soeren Wegener",
    "author_email": "wegener92@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/de/eb/a4fe79f48e8d3982f0483fe8737dc49f4c09841595626a803b2261402249/variable_base_factoradic-1.2.tar.gz",
    "platform": null,
    "description": "# Variable-base Factoradic numbers\n\nImplementation of https://xkcd.com/2835/\n\n## Installation\n\nhttps://pypi.org/project/variable-base-factoradic/\n\n```bash\npip install variable-base-factoradic\n```\n\n## Usage\n\n```python\nfrom variable_base_factoradic import from_factoradic, to_factoradic\n\n# Convert from decimal to factoradic\nto_factoradic(5038)\n# Out: \"654320\"\n\n# Convert from factoradic to decimal\nfrom_factoradic(\"654320\")\n# Out: 5038\n```",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Python implementation of Randall Munroe'xs variable base factoradic number system: https://xkcd.com/2835/",
    "version": "1.2",
    "project_urls": {
        "Homepage": "https://soerface.github.io/variable_base_factoradic/",
        "Repository": "https://github.com/soerface/variable_base_factoradic_py"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "02383b9e0ac4dd61022c6702601641c079c3e87e4747a849f6f57513140bdfaa",
                "md5": "4564b4acc386682568cfa450a886898e",
                "sha256": "c355efdd529e640c7e10112edcf7d9d0c8d6ae14b4c9c095cd46736997102733"
            },
            "downloads": -1,
            "filename": "variable_base_factoradic-1.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "4564b4acc386682568cfa450a886898e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10,<4.0",
            "size": 3411,
            "upload_time": "2023-10-08T23:47:08",
            "upload_time_iso_8601": "2023-10-08T23:47:08.394027Z",
            "url": "https://files.pythonhosted.org/packages/02/38/3b9e0ac4dd61022c6702601641c079c3e87e4747a849f6f57513140bdfaa/variable_base_factoradic-1.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "deeba4fe79f48e8d3982f0483fe8737dc49f4c09841595626a803b2261402249",
                "md5": "3772aefd09d08063f6400a0c1faaafc1",
                "sha256": "4ebbd60a80c4539486abd10dedbd219a9ff79a40ffd94626d03a5a6664ef790a"
            },
            "downloads": -1,
            "filename": "variable_base_factoradic-1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "3772aefd09d08063f6400a0c1faaafc1",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10,<4.0",
            "size": 2492,
            "upload_time": "2023-10-08T23:47:09",
            "upload_time_iso_8601": "2023-10-08T23:47:09.500292Z",
            "url": "https://files.pythonhosted.org/packages/de/eb/a4fe79f48e8d3982f0483fe8737dc49f4c09841595626a803b2261402249/variable_base_factoradic-1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-08 23:47:09",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "soerface",
    "github_project": "variable_base_factoradic_py",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "variable-base-factoradic"
}
        
Elapsed time: 2.78649s