Metadata-Version: 2.4
Name: abdullah_graph_eq
Version: 0.1.0
Summary: A Python package for graphing mathematical equations from string input
Home-page: https://github.com/abdullahmashhadi/abdullah_graph_eq
Author: abdullahmashhadi
Author-email: Abdullah <your.email@example.com>
License: MIT
Project-URL: Homepage, https://github.com/yourusername/abdullah_graph_eq
Project-URL: Bug Reports, https://github.com/yourusername/abdullah_graph_eq/issues
Project-URL: Source, https://github.com/yourusername/abdullah_graph_eq
Keywords: mathematics,plotting,graphing,equations,visualization
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Education
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Topic :: Scientific/Engineering :: Mathematics
Classifier: Topic :: Scientific/Engineering :: Visualization
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: matplotlib>=3.5.0
Requires-Dist: numpy>=1.20.0
Requires-Dist: sympy>=1.9.0
Dynamic: author
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-python

# Abdullah Graph Equation

A Python package for graphing mathematical equations from string input.

## Installation

```bash
pip install abdullah_graph_eq
```

## Usage

```python
from abdullah_graph_eq import graph_equation

# Graph a simple quadratic equation
graph_equation("x**2 + 2*x + 1")

# Graph a trigonometric function
graph_equation("sin(x)")

# Graph with custom range
graph_equation("x**3 - 2*x**2 + x - 1", x_range=(-5, 5))

# Save the plot
graph_equation("cos(x) + sin(2*x)", save_path="my_graph.png")
```

## Features

- Parse mathematical equations from strings
- Support for common mathematical functions (sin, cos, tan, log, exp, etc.)
- Customizable plotting range
- Save plots to files
- Support for multiple equation formats

## Supported Functions

- Basic arithmetic: `+`, `-`, `*`, `/`, `**` (power)
- Trigonometric: `sin`, `cos`, `tan`, `asin`, `acos`, `atan`
- Exponential/Logarithmic: `exp`, `log`, `ln`, `log10`
- Other: `sqrt`, `abs`

## Examples

### Linear Function

```python
graph_equation("2*x + 3")
```

### Quadratic Function

```python
graph_equation("x**2 - 4*x + 3")
```

### Trigonometric Function

```python
graph_equation("sin(x) + cos(2*x)")
```

### Complex Function

```python
graph_equation("exp(-x**2) * sin(5*x)")
```

## Requirements

- Python 3.7+
- matplotlib
- numpy
- sympy

## License

MIT License
