A smart math rounding library
Project description
realmath
RealMath is a simple and smart Python math utility library by Benyamin Ghaem.
Features
- Smart rounding functions
- Safe math operations (log, exp, divide, sqrt)
- Clamp and rounding helpers
Installation
pip install realmath
from realmath import rond, rlog
print(rond(150)) # 200
print(rlog(10)) # 2.302585092994046
---
### فایل: `setup.py`
```python
from setuptools import setup, find_packages
setup(
name='realmath',
version='0.1.0',
description='Smart rounding and safe math utilities in Python',
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
author='Benyamin Ghaem',
url='https://github.com/benionclouds/realmath',
packages=find_packages(),
py_modules=['realmath'],
classifiers=[
'Programming Language :: Python :: 3',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
],
python_requires='>=3.6',
)
Project details
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
realmath-1.0.tar.gz
(3.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file realmath-1.0.tar.gz.
File metadata
- Download URL: realmath-1.0.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b32c6182fd860b7410d0f10647778cbb2586381325dd73fc82bca9579a70da39
|
|
| MD5 |
fbdddc05bd100f8ec89480fe14d3f695
|
|
| BLAKE2b-256 |
4d455ca193107ce66f53b69b3aa3bcf54053b225abb334c1ff8cf83b6c4a7d56
|
File details
Details for the file realmath-1.0-py3-none-any.whl.
File metadata
- Download URL: realmath-1.0-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e8c837a66f90f5d7da14d4c218332176a838520bb6b5342e131bb1e90737d6b
|
|
| MD5 |
94f0d6e48f9278f3c34216697fbc58e2
|
|
| BLAKE2b-256 |
20ce7c3d4202fa729c4a56e19382e7e344498fbf86cd661c28932f212e486aff
|