File tree Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Original file line number Diff line number Diff line change 1
- # fracdiff
1
+ [ ![ PyPI version] ( https://badge.fury.io/py/numpy-fracdiff.svg )] ( https://badge.fury.io/py/numpy-fracdiff )
2
+
3
+ # numpy-fracdiff
2
4
Fractional Difference for Time Series
3
5
4
6
## Installation
5
7
The ` numpy-fracdiff ` [ git repo] ( http://github.com/ulf1/numpy-fracdiff ) is available as [ PyPi package] ( https://pypi.org/project/numpy-fracdiff )
6
8
7
- ```
9
+ ``` sh
8
10
pip install numpy-fracdiff
9
11
pip install git+ssh://
[email protected] /ulf1/numpy-fracdiff.git
10
12
```
13
15
Check the [ examples] ( https://github.com/ulf1/fracdiff/tree/master/examples ) folder for notebooks.
14
16
15
17
16
- ## Commands
17
- Install a virtual environment
18
+ ## Appendix
18
19
19
- ```
20
+ ### Install a virtual environment
21
+
22
+ ``` sh
20
23
python3.6 -m venv .venv
21
24
source .venv/bin/activate
22
25
pip install --upgrade pip
@@ -25,16 +28,16 @@ pip install -r requirements.txt
25
28
26
29
(If your git repo is stored in a folder with whitespaces, then don't use the subfolder ` .venv ` . Use an absolute path without whitespaces.)
27
30
28
- Python commands
31
+ ### Python commands
29
32
30
33
* Jupyter for the examples: ` jupyter lab `
31
34
* Check syntax: ` flake8 --ignore=F401 --exclude=$(grep -v '^#' .gitignore | xargs | sed -e 's/ /,/g') `
32
35
* Run Unit Tests: ` pytest `
33
36
* Upload to PyPi with twine: ` python setup.py sdist && twine upload -r pypi dist/* `
34
37
35
- Clean up
38
+ ### Clean up
36
39
37
- ```
40
+ ``` sh
38
41
find . -type f -name " *.pyc" | xargs rm
39
42
find . -type d -name " __pycache__" | xargs rm -r
40
43
rm -r .pytest_cache
You can’t perform that action at this time.
0 commit comments