Skip to main content
GitHub last commit GitHub license<space><space> PyPI PyPI - Python Version

Overview.

pyround is a one function PYPI package made only with one goal to round float numbers in python to asked number of signifacant digits

import pyround

pyround.pyround(0.23234, 2)  # 0.23
pyround.pyround(0.235, 2)  # 0.24
pyround.pyround(105.3, 1)  # 100
pyround.pyround(125.3, 2)  # 130

Installation via pip:

pip install pyround

Contacts

License

This project is licensed under the MIT License.

Metadata

Release files for pyround 0.1.0

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

Source distribution (sdist)

Source distribution for pyround 0.1.0
File Size Uploaded Provenance
pyround-0.1.0.tar.gz 2.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pyround 0.1.0
File Interpreter ABI Platform
pyround-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 5.9 kB

Release files / pyround-0.1.0.tar.gz

Download URL pyround-0.1.0.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
4188e081e94661cf1a9b4d5496666a91a88b51318ab9c31cf7862af66d2a9aca
BLAKE2b-256 checksum
How to use checksums
8c190c4e24b6758a8a6d1c4071774da02e460374b4ccad5ca7f10f71f91df073
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.9.7 Windows/10

Release files / pyround-0.1.0-py3-none-any.whl

Download URL pyround-0.1.0-py3-none-any.whl
Size 3.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
45e6bda1216ac611c40306645e1c34dc16993928998a5bf0e25027fdb3c1cb1c
BLAKE2b-256 checksum
How to use checksums
2ac9b5e54e066955ce5a110e90013ba5d8495e94e25926d201590d48176b871e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.9.7 Windows/10

Security for pyround 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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