Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

Introduction

Documentation Status Discord Build Status Code Style: Black pre-commit.ci status

Reduced version of the decimal library for CircuitPython

Important Note

From version 1.0.9 through 1.0.12, this package was incorrectly published on pypi under the name circuitpython-jepler-udecimal. The correct package name is jepler-circuitpython-udecimal.

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.

Metadata

Release files for circuitpython-jepler-udecimal 1.0.12

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for circuitpython-jepler-udecimal 1.0.12
File Size Uploaded
circuitpython_jepler_udecimal-1.0.12.tar.gz 76.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for circuitpython-jepler-udecimal 1.0.12
File Interpreter ABI Platform
circuitpython_jepler_udecimal-1.0.12-py3-none-any.whl Python 3 none any Details

Total release size: 123.9 kB

Release files / circuitpython_jepler_udecimal-1.0.12.tar.gz

Download URL circuitpython_jepler_udecimal-1.0.12.tar.gz
Size 76.5 kB
Tags Source
SHA-256 checksum
How to use checksums
2b73978db492950b47c329d257632645ae00be591bd262c9fb268c09cb2c2360
BLAKE2b-256 checksum
How to use checksums
03af30b13b362930324a4224aade03ddfd11c91ac8f83cde7726f15e89a3a736
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.13

Release files / circuitpython_jepler_udecimal-1.0.12-py3-none-any.whl

Download URL circuitpython_jepler_udecimal-1.0.12-py3-none-any.whl
Size 47.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a4402a83657d82393576390ad45393f5d6e255cf530843fb265af28b4de36db9
BLAKE2b-256 checksum
How to use checksums
32d29d343dfd92448f183f2a3a45666e403fc9553058ab62b23853bdbb5324e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.13
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page