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
24Fractional Difference for Time Series
35
46## Installation
57The ` numpy-fracdiff ` [ git repo] ( http://github.com/ulf1/numpy-fracdiff ) is available as [ PyPi package] ( https://pypi.org/project/numpy-fracdiff )
68
7- ```
9+ ``` sh
810pip install numpy-fracdiff
911pip install git+ssh://git@github.com/ulf1/numpy-fracdiff.git
1012```
@@ -13,10 +15,11 @@ pip install git+ssh://git@github.com/ulf1/numpy-fracdiff.git
1315Check the [ examples] ( https://github.com/ulf1/fracdiff/tree/master/examples ) folder for notebooks.
1416
1517
16- ## Commands
17- Install a virtual environment
18+ ## Appendix
1819
19- ```
20+ ### Install a virtual environment
21+
22+ ``` sh
2023python3.6 -m venv .venv
2124source .venv/bin/activate
2225pip install --upgrade pip
@@ -25,16 +28,16 @@ pip install -r requirements.txt
2528
2629(If your git repo is stored in a folder with whitespaces, then don't use the subfolder ` .venv ` . Use an absolute path without whitespaces.)
2730
28- Python commands
31+ ### Python commands
2932
3033* Jupyter for the examples: ` jupyter lab `
3134* Check syntax: ` flake8 --ignore=F401 --exclude=$(grep -v '^#' .gitignore | xargs | sed -e 's/ /,/g') `
3235* Run Unit Tests: ` pytest `
3336* Upload to PyPi with twine: ` python setup.py sdist && twine upload -r pypi dist/* `
3437
35- Clean up
38+ ### Clean up
3639
37- ```
40+ ``` sh
3841find . -type f -name " *.pyc" | xargs rm
3942find . -type d -name " __pycache__" | xargs rm -r
4043rm -r .pytest_cache
You can’t perform that action at this time.
0 commit comments