Coverage for chebpy/__init__.py: 100%

5 statements  

« prev     ^ index     » next       coverage.py v7.10.2, created at 2025-08-07 10:30 +0000

1"""ChebPy: A Python implementation of Chebfun. 

2 

3ChebPy is a Python package for computing with functions using Chebyshev series 

4approximations. It provides tools for function approximation, differentiation, 

5integration, rootfinding, and more. 

6 

7The package is inspired by the MATLAB Chebfun package and aims to provide similar 

8functionality in Python. 

9 

10Main components: 

11- chebfun: Function for creating Chebfun objects 

12- pwc: Function for creating piecewise-constant Chebfun objects 

13- UserPreferences: Class for configuring package preferences 

14""" 

15 

16import importlib.metadata 

17 

18from .api import chebfun, pwc 

19from .core.settings import ChebPreferences as UserPreferences 

20 

21__all__ = ["chebfun", "pwc", "UserPreferences"] 

22__version__ = importlib.metadata.version("chebfun")