A humanized math 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.1.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.1.tar.gz.
File metadata
- Download URL: realmath-1.1.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 |
5a7efbcbf175c0666788128f5ad58c49abc6e6d7a7b3e79d07db6b353a2cff6a
|
|
| MD5 |
0bf23c94fe0e0732c199367c6fa11d84
|
|
| BLAKE2b-256 |
466d9f8ddba2832f4f32d60d7dbe3683e84ee46e59afb5d8966bb85b81c0dbf5
|
File details
Details for the file realmath-1.1-py3-none-any.whl.
File metadata
- Download URL: realmath-1.1-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 |
6a2c1339cbf32eaa90907df1d6a9cc0a6363912e37aa3493ad95eae22749fe31
|
|
| MD5 |
2842789128ba903821250da337ec0896
|
|
| BLAKE2b-256 |
2977d5c35dd45557b158af77668c479b9e2cc0bd1f486437aa1739bd8d47702c
|