Metadata-Version: 2.4
Name: chaosmath
Version: 0.2.0
Summary: Math functions that almost work
Author: EazyFencer
License: MIT License
        
        Copyright (c) 2026 Pratham Bhandary
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Project-URL: Homepage, https://github.com/prathambhandary/chaosmath
Keywords: chaos,math,fun,memes,excuses,random,useless,timepass,bored,explore
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Libraries
Classifier: Intended Audience :: Developers
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# ChaosMath 

**Math. But Unstable.**


`chaosmath` is a Python module that provides mathematical functions which are
*almost* correct.  
Results may vary depending on randomness, time, and pure bad vibes.

> Deterministic? No  
> Accurate? Maybe  
> Entertaining? Absolutely

---


## Installation

```bash
  pip install chaosmath
```
or
```bash
  git clone https://github.com/prathambhandary/ChaosMath.git
  cd ChaosMath
  pip install .
```

---

### Features

- `random_error()` → weapon-grade excuses when things go wrong (2500+ and growing)
- `pi()` → returns π-ish values depending on the universe’s mood
- `sqrt(x)` → usually correct, occasionally spiritually incorrect
- `add(a, b)` → addition with attitude and possible delusions
- `multiply(a, b)` → multiplication, but quantum-unstable
- `divide(a, b)` → division that may anger the laws of physics
- `integrate(expr, var)` → attempts calculus, fails with confidence
- `differentiate(expr, var)` → derivative denied with an excuse
- `solve(equation)` → solving is attempted, success is optional
- CLI support → unleash chaos directly from your terminal

---

## Examples

```Python
import chaosmath as cm

print(f"[ERROR]: {cm.random_error()}")
# [ERROR]: Memory said 'nah'

print(cm.integrate("x^2"))
# ⚠️ CHAOS MATH: Integration exploded
# ∫ x^2 dx = ??? (Integration exploded)

print(f"Pi: {cm.pi()}")
# Pi: 3

```

## Disclaimer

This is not a bug.
This is the feature.

If the output is wrong, confusing, or deeply disappointing —
chaosmath is functioning correctly.

Do not use for:
- Exams  
- Production 
- Finance    
- Space travel   
- Anything you care about 

You have been warned.
---
