Metadata-Version: 2.4
Name: polpack
Version: 0.1.2
Summary: Special Functions and Recursively-Defined Polynomial Families for Python
Keywords: special functions,polynomials,combinatorics
Author-Email: John Burkardt <jvb25@pitt.edu>
Maintainer-Email: Saud Zahir <m.saud.zahir@gmail.com>, M Laraib Ali <laraibg786@outlook.com>
License-Expression: LGPL-2.1
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Science/Research
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Fortran
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: Software Development
Classifier: Topic :: Scientific/Engineering
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX
Classifier: Operating System :: Unix
Classifier: Operating System :: MacOS
Project-URL: homepage, https://eggzec.github.io/polpack
Project-URL: documentation, https://eggzec.github.io/polpack/api/
Project-URL: source, https://github.com/eggzec/polpack
Project-URL: releasenotes, https://github.com/eggzec/polpack/releases/latest
Project-URL: issues, https://github.com/eggzec/polpack/issues
Requires-Python: >=3.10
Requires-Dist: numpy
Description-Content-Type: text/markdown

# polpack

**Special Functions and Recursively-Defined Polynomial Families for Python**

[![Tests](https://github.com/eggzec/polpack/actions/workflows/test.yml/badge.svg)](https://github.com/eggzec/polpack/actions/workflows/test.yml)
[![Documentation](https://github.com/eggzec/polpack/actions/workflows/docs.yml/badge.svg)](https://github.com/eggzec/polpack/actions/workflows/docs.yml)
[![codecov](https://codecov.io/github/eggzec/polpack/graph/badge.svg)](https://codecov.io/github/eggzec/polpack)

[![License: LGPL-2.1](https://img.shields.io/badge/License-LGPL%202.1-blue.svg)](LICENSE)
[![PyPI Downloads](https://img.shields.io/pypi/dm/polpack.svg?label=PyPI%20downloads)](https://pypi.org/project/polpack/)
[![Python versions](https://img.shields.io/pypi/pyversions/polpack.svg)](https://pypi.org/project/polpack/)

`polpack` is a high-performance Python library for evaluating special functions and recursively-defined polynomial families. The numerical core is written in Fortran and compiled via `f2py`, providing efficient routines for mathematical and combinatorial computations.

It includes routines to evaluate classic families such as **Bernoulli**, **Chebyshev**, **Gegenbauer**, **Hermite**, **Laguerre**, and **Legendre** polynomials, among others.

## Quick example

```python
import numpy as np
import polpack

# Example: Compute Bell numbers
bell = np.zeros(11, dtype=np.int32)
polpack.bell(10, bell)
print(f"Bell numbers: {bell}")
```

## Installation

```bash
pip install polpack
```

Requires Python 3.10+ and NumPy. See the [full installation guide](https://eggzec.github.io/polpack/installation/) for conda, poetry, and source builds.

## Documentation

- [Theory](https://eggzec.github.io/polpack/theory/) — mathematical background, polynomial families, and special functions
- [Quickstart](https://eggzec.github.io/polpack/quickstart/) — runnable examples
- [API Reference](https://eggzec.github.io/polpack/api/) — function signatures and parameters
- [References](https://eggzec.github.io/polpack/references/) — literature citations

## License

LGPL-2.1 — see [LICENSE](LICENSE).
