File tree Expand file tree Collapse file tree 3 files changed +22
-8
lines changed Expand file tree Collapse file tree 3 files changed +22
-8
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ or Poetry:
28
28
poetry add csaps
29
29
```
30
30
31
- The module depends only on NumPy and SciPy. Python 3.9 or above is supported.
31
+ The module depends only on NumPy and SciPy. Python 3.10 or above is supported.
32
32
33
33
## Simple Examples
34
34
@@ -97,28 +97,42 @@ plt.show()
97
97
98
98
More examples of usage and the full documentation can be found at https://csaps.readthedocs.io .
99
99
100
- ## Testing
100
+ # Development
101
101
102
- We use pytest for testing.
102
+ We use Poetry to manage the project:
103
103
104
104
```
105
105
git clone https://github.com/espdev/csaps.git
106
106
cd csaps
107
- poetry install
107
+ poetry install -E docs
108
+ ```
109
+
110
+ Also, install pre-commit hooks:
111
+
112
+ ```
113
+ poetry run pre-commit install
114
+ ```
115
+
116
+ ## Testing and Linting
117
+
118
+ We use pytest for testing and ruff/mypy for linting.
119
+ Use ` poethepoet ` to run tests and linters:
120
+
121
+ ```
108
122
poetry run poe test
123
+ poetry run poe check
109
124
```
110
125
111
126
## Algorithm and Implementation
112
127
113
128
** csaps** Python package is inspired by MATLAB [ CSAPS] ( https://www.mathworks.com/help/curvefit/csaps.html ) function that is an implementation of
114
129
Fortran routine SMOOTH from [ PGS] ( http://pages.cs.wisc.edu/~deboor/pgs/ ) (originally written by Carl de Boor).
115
130
116
- Also the algothithm implementation in other languages:
131
+ Also, the algothithm implementation in other languages:
117
132
118
133
* [ csaps-rs] ( https://github.com/espdev/csaps-rs ) Rust ndarray/sprs based implementation
119
134
* [ csaps-cpp] ( https://github.com/espdev/csaps-cpp ) C++11 Eigen based implementation (incomplete)
120
135
121
-
122
136
## References
123
137
124
138
C. de Boor, A Practical Guide to Splines, Springer-Verlag, 1978.
Original file line number Diff line number Diff line change 19
19
# -- Project information -----------------------------------------------------
20
20
21
21
project = 'csaps'
22
- copyright = '2017-2023 , Eugene Prilepin' # noqa
22
+ copyright = '2017-2025 , Eugene Prilepin' # noqa
23
23
author = 'Eugene Prilepin'
24
24
25
25
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ You can install and update csaps using pip:
40
40
41
41
The module depends only on NumPy and SciPy.
42
42
43
- Python 3.6 or above is supported.
43
+ Python 3.10 or above is supported.
44
44
45
45
Content
46
46
-------
You can’t perform that action at this time.
0 commit comments