jepler-circuitpython-udecimal


Namejepler-circuitpython-udecimal JSON
Version 1.0.8 PyPI version JSON
download
home_pagehttps://github.com/jepler/Jepler_CircuitPython_udecimal
SummaryReduced version of the decimal library for CircuitPython
upload_time2023-06-14 21:21:11
maintainer
docs_urlNone
authorJeff Epler
requires_python
licenseMIT
keywords adafruit blinka circuitpython micropython udecimal numeric helper arbitraryprecision math
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Introduction
============

.. image:: https://readthedocs.org/projects/jepler-udecimal/badge/?version=latest
    :target: https://jepler-udecimal.readthedocs.io/en/latest/
    :alt: Documentation Status

.. image:: https://img.shields.io/discord/327254708534116352.svg
    :target: https://adafru.it/discord
    :alt: Discord

.. image:: https://github.com/jepler/Jepler_CircuitPython_udecimal/workflows/Build%20CI/badge.svg
    :target: https://github.com/jepler/Jepler_CircuitPython_udecimal/actions
    :alt: Build Status

.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
    :target: https://github.com/psf/black
    :alt: Code Style: Black

.. image:: https://results.pre-commit.ci/badge/github/jepler/Jepler_CircuitPython_udecimal/main.svg
   :target: https://results.pre-commit.ci/latest/github/jepler/Jepler_CircuitPython_udecimal/main
   :alt: pre-commit.ci status

Reduced version of the decimal library for CircuitPython


Dependencies
=============
This library depends on:

* `Adafruit CircuitPython <https://github.com/adafruit/circuitpython>`_

The library also runs on desktop Python3, and should give numerically identical
results across all platorms.

Installing from PyPI
=====================

To install for current user:

.. code-block:: shell

    python3 -mpip install --user jepler-circuitpython-udecimal

To install system-wide (this may be required in some cases):

.. code-block:: shell

    sudo python3 -mpip install jepler-circuitpython-udecimal

To install in a virtual environment in your current project:

.. code-block:: shell

    mkdir project-name && cd project-name
    python3 -m venv .env
    source .env/bin/activate
    pip3 install jepler-circuitpython-udecimal

Usage Example
=============

.. code-block:: python

    >>> from jepler_udecimal import Decimal
    >>> Decimal(2)/3
    Decimal('0.6666666666666666666666666667')
    >>> Decimal('.1') + Decimal('.2') == Decimal('.3')
    True


Contributing
============

Contributions are welcome! Please read our `Code of Conduct
<https://github.com/jepler/Jepler_CircuitPython_udecimal/blob/master/CODE_OF_CONDUCT.md>`_
before contributing to help this project stay welcoming.

Documentation
=============

For information on building library documentation, please check out `this guide <https://learn.adafruit.com/creating-and-sharing-a-circuitpython-library/sharing-our-docs-on-readthedocs#sphinx-5-1>`_.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/jepler/Jepler_CircuitPython_udecimal",
    "name": "jepler-circuitpython-udecimal",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "adafruit blinka circuitpython micropython udecimal numeric helper arbitraryprecision math",
    "author": "Jeff Epler",
    "author_email": "jepler@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/13/03/b31b010c2641dbd51c3c8bc9baf266f379e45a2b55829ffa5f0429906d52/jepler-circuitpython-udecimal-1.0.8.tar.gz",
    "platform": null,
    "description": "Introduction\n============\n\n.. image:: https://readthedocs.org/projects/jepler-udecimal/badge/?version=latest\n    :target: https://jepler-udecimal.readthedocs.io/en/latest/\n    :alt: Documentation Status\n\n.. image:: https://img.shields.io/discord/327254708534116352.svg\n    :target: https://adafru.it/discord\n    :alt: Discord\n\n.. image:: https://github.com/jepler/Jepler_CircuitPython_udecimal/workflows/Build%20CI/badge.svg\n    :target: https://github.com/jepler/Jepler_CircuitPython_udecimal/actions\n    :alt: Build Status\n\n.. image:: https://img.shields.io/badge/code%20style-black-000000.svg\n    :target: https://github.com/psf/black\n    :alt: Code Style: Black\n\n.. image:: https://results.pre-commit.ci/badge/github/jepler/Jepler_CircuitPython_udecimal/main.svg\n   :target: https://results.pre-commit.ci/latest/github/jepler/Jepler_CircuitPython_udecimal/main\n   :alt: pre-commit.ci status\n\nReduced version of the decimal library for CircuitPython\n\n\nDependencies\n=============\nThis library depends on:\n\n* `Adafruit CircuitPython <https://github.com/adafruit/circuitpython>`_\n\nThe library also runs on desktop Python3, and should give numerically identical\nresults across all platorms.\n\nInstalling from PyPI\n=====================\n\nTo install for current user:\n\n.. code-block:: shell\n\n    python3 -mpip install --user jepler-circuitpython-udecimal\n\nTo install system-wide (this may be required in some cases):\n\n.. code-block:: shell\n\n    sudo python3 -mpip install jepler-circuitpython-udecimal\n\nTo install in a virtual environment in your current project:\n\n.. code-block:: shell\n\n    mkdir project-name && cd project-name\n    python3 -m venv .env\n    source .env/bin/activate\n    pip3 install jepler-circuitpython-udecimal\n\nUsage Example\n=============\n\n.. code-block:: python\n\n    >>> from jepler_udecimal import Decimal\n    >>> Decimal(2)/3\n    Decimal('0.6666666666666666666666666667')\n    >>> Decimal('.1') + Decimal('.2') == Decimal('.3')\n    True\n\n\nContributing\n============\n\nContributions are welcome! Please read our `Code of Conduct\n<https://github.com/jepler/Jepler_CircuitPython_udecimal/blob/master/CODE_OF_CONDUCT.md>`_\nbefore contributing to help this project stay welcoming.\n\nDocumentation\n=============\n\nFor information on building library documentation, please check out `this guide <https://learn.adafruit.com/creating-and-sharing-a-circuitpython-library/sharing-our-docs-on-readthedocs#sphinx-5-1>`_.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Reduced version of the decimal library for CircuitPython",
    "version": "1.0.8",
    "project_urls": {
        "Documentation": "https://jepler-udecimal.readthedocs.io/en/latest/api/jepler_udecimal/index.html",
        "Homepage": "https://github.com/jepler/Jepler_CircuitPython_udecimal",
        "Pull Requests": "https://github.com/jepler/Jepler_CircuitPython_udecimal/pulls",
        "Source": "https://github.com/jepler/Jepler_CircuitPython_udecimal",
        "Tracker": "https://github.com/jepler/Jepler_CircuitPython_udecimal/issues"
    },
    "split_keywords": [
        "adafruit",
        "blinka",
        "circuitpython",
        "micropython",
        "udecimal",
        "numeric",
        "helper",
        "arbitraryprecision",
        "math"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6a32181a37d7033ccfa101e17aed1a56f0761ed4fe8e3b0c6dcc42028ea84488",
                "md5": "fcade727dfdd5cddd065f000fe37d06c",
                "sha256": "a7313d5d48d755a4e30877006028d3efce49a8c9142a9c182401b5392c08ab58"
            },
            "downloads": -1,
            "filename": "jepler_circuitpython_udecimal-1.0.8-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "fcade727dfdd5cddd065f000fe37d06c",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 47241,
            "upload_time": "2023-06-14T21:21:10",
            "upload_time_iso_8601": "2023-06-14T21:21:10.451761Z",
            "url": "https://files.pythonhosted.org/packages/6a/32/181a37d7033ccfa101e17aed1a56f0761ed4fe8e3b0c6dcc42028ea84488/jepler_circuitpython_udecimal-1.0.8-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1303b31b010c2641dbd51c3c8bc9baf266f379e45a2b55829ffa5f0429906d52",
                "md5": "987390ab9a2a9025d87d8d1c757952e8",
                "sha256": "f754091f976e8d09f25906b57e61f002933c060ecc60f42e79a247f2d8cfed9f"
            },
            "downloads": -1,
            "filename": "jepler-circuitpython-udecimal-1.0.8.tar.gz",
            "has_sig": false,
            "md5_digest": "987390ab9a2a9025d87d8d1c757952e8",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 77913,
            "upload_time": "2023-06-14T21:21:11",
            "upload_time_iso_8601": "2023-06-14T21:21:11.846440Z",
            "url": "https://files.pythonhosted.org/packages/13/03/b31b010c2641dbd51c3c8bc9baf266f379e45a2b55829ffa5f0429906d52/jepler-circuitpython-udecimal-1.0.8.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-14 21:21:11",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "jepler",
    "github_project": "Jepler_CircuitPython_udecimal",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "jepler-circuitpython-udecimal"
}
        
Elapsed time: 0.10754s