Metadata-Version: 2.4
Name: derivative-utils
Version: 0.2.2
Summary: Tools for computing and working with derivatives of functions.
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Dynamic: license-file

# derivative-utils
[![PyPI - Version](https://img.shields.io/pypi/v/derivative-utils)](https://pypi.org/project/derivative-utils/)
[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
[![GitHub stars](https://img.shields.io/github/stars/Pigly3/derivative-utils)](https://github.com/Pigly3/derivative-utils)

A simple package for working with derivatives.
This is in alpha, and may not work as intended.


### Get exact expressions for derivatives
```python
from derivative-utils import differentiate
from derivative-utils.expressions import *

y = X()*ln(X())
dydx = differentiate(y)
print(dydx)
```
The code will print `(ln(x)+(x)^(-1)*x)`.

Expressions support addition, subtraction, multiplication, division, and exponentiation.
Expressions will be automatically simplified, although current simplifcation is not perfect.
