jepler-circuitpython-udecimal 1.0.1
pip install jepler-circuitpython-udecimal==1.0.1
Released:
Reduced version of the decimal library for CircuitPython
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License, Python Software Foundation License (MIT)
- Author: Jeff Epler
- Tags adafruit , blinka , circuitpython , micropython , udecimal , numeric , helper , arbitraryprecision , math
Classifiers
- Development Status
- Intended Audience
- License
- Programming Language
- Topic
Project description
Introduction
Reduced version of the decimal library for CircuitPython
Dependencies
This library depends on:
The library also runs on desktop Python3, and should give numerically identical results across all platorms.
Installing from PyPI
To install for current user:
python3 -mpip install --user jepler-circuitpython-udecimal
To install system-wide (this may be required in some cases):
sudo python3 -mpip install jepler-circuitpython-udecimal
To install in a virtual environment in your current project:
mkdir project-name && cd project-name
python3 -m venv .env
source .env/bin/activate
pip3 install jepler-circuitpython-udecimal
Usage Example
>>> 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 before contributing to help this project stay welcoming.
Documentation
For information on building library documentation, please check out this guide.
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License, Python Software Foundation License (MIT)
- Author: Jeff Epler
- Tags adafruit , blinka , circuitpython , micropython , udecimal , numeric , helper , arbitraryprecision , math
Classifiers
- Development Status
- Intended Audience
- License
- Programming Language
- Topic
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file jepler-circuitpython-udecimal-1.0.1.tar.gz
.
File metadata
- Download URL: jepler-circuitpython-udecimal-1.0.1.tar.gz
- Upload date:
- Size: 77.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.1 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
4c3c4e41ae4bc887fad93d0c8fbc348a53cb0607261ac29c6b16910064066136
|
|
MD5 |
af679b046fff6724b09ea4272726183d
|
|
BLAKE2b-256 |
c1ca180b0fce3e48c3ca475ce80a559f91568c38fbc957dddbe96a81406aff56
|