Metadata-Version: 2.4
Name: pyratapprox
Version: 0.1.0
Summary: Python interface for rational function approximation via Julia
Project-URL: Homepage, https://complexvariables.github.io/pyratapprox
Project-URL: Documentation, https://complexvariables.github.io/pyratapprox
Project-URL: Repository, https://github.com/complexvariables/pyratapprox
Project-URL: Issues, https://github.com/complexvariables/pyratapprox/issues
Author-email: Toby Driscoll <driscoll@udel.edu>
License: MIT
License-File: LICENSE
Keywords: AAA,interpolation,numerical analysis,rational approximation
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Scientific/Engineering :: Mathematics
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.11
Requires-Dist: cxregions<0.2,>=0.1.4
Requires-Dist: hatch<2,>=1.16.3
Requires-Dist: juliacall<0.10,>=0.9.31
Description-Content-Type: text/markdown

# pyratapprox: Python Rational Function Approximation

pyratapprox provides a Python interface to Julia's RationalFunctionApproximation library, enabling efficient computation of rational function approximations and interpolations.

## Installation

```bash
pip install pyratapprox
```

**Note**: Requires Julia to be installed. The required Julia packages will be installed automatically on first use.

## Quick Start

```python
import numpy as np
from pyratapprox import approximate, unitinterval, AAA

# Approximate a function on the unit interval [-1, 1]
f = approximate(np.sin, unitinterval, method=AAA)

# Evaluate the approximation
y = f(0.5)

# Get poles and residues
poles = f.poles()
poles, residues = f.residues()
```

## Documentation

Full documentation is available at: https://complexvariables.github.io/pyratapprox

## License

MIT License

## Author

Toby Driscoll (driscoll@udel.edu)
