-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from sepandhaghighi/dev
Version 0.2
- Loading branch information
Showing
23 changed files
with
282 additions
and
207 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions | ||
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | ||
|
||
name: CI | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, windows-latest, macOS-latest] | ||
python-version: [3.5, 3.6, 3.7, 3.8, 3.9] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install requirements | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -r requirements.txt | ||
- name: First test | ||
run: | | ||
python setup.py install | ||
python -m nafas test | ||
- name: Install dev-requirements | ||
run: | | ||
pip install --upgrade --upgrade-strategy=only-if-needed -r dev-requirements.txt | ||
- name: Version check | ||
run: | | ||
python otherfiles/version_check.py | ||
- name: Test with pytest | ||
run: | | ||
python -m pytest test --cov=nafas --cov-report=term | ||
- name: Other tests | ||
run: | | ||
python -m vulture nafas/ setup.py --min-confidence 65 --exclude=__init__.py --sort-by-size | ||
python -m bandit -r nafas -s B311 | ||
python -m pydocstyle --match-dir=nafas -v | ||
- name: Codecov | ||
run: | | ||
codecov |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,5 @@ include *.md | |
include *.spec | ||
include *.txt | ||
include *.yml | ||
include *.ini | ||
include *.ini | ||
include nafas/sounds/*.wav |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,6 +30,7 @@ Breathing gymnastics is a system of breathing exercises that focuses on the trea | |
Nafas is a collection of breathing gymnastics designed to reduce the exhaustion of long working hours. | ||
With multiple breathing patterns, Nafas helps you find your way to a detoxified energetic workday and also improves your concentration by increasing the oxygen level. | ||
No need to walk away to take a break, just sit comfortably, run Nafas and let the journey begin. | ||
**Nafas** means breath in Persian. | ||
|
||
<table> | ||
<tr> | ||
|
@@ -55,14 +56,9 @@ No need to walk away to take a break, just sit comfortably, run Nafas and let th | |
<td align="center">dev</td> | ||
</tr> | ||
<tr> | ||
<td align="center">Travis</td> | ||
<td align="center"><a href="https://travis-ci.org/sepandhaghighi/nafas"><img src="https://travis-ci.org/sepandhaghighi/nafas.svg?branch=master"></a></td> | ||
<td align="center"><a href="https://travis-ci.org/sepandhaghighi/nafas"><img src="https://travis-ci.org/sepandhaghighi/nafas.svg?branch=dev"></a></a></td> | ||
</tr> | ||
<tr> | ||
<td align="center">AppVeyor</td> | ||
<td align="center"><a href="https://ci.appveyor.com/project/sepandhaghighi/nafas"><img src="https://ci.appveyor.com/api/projects/status/3au823bgsaupgsup/branch/master?svg=true"></a></td> | ||
<td align="center"><a href="https://ci.appveyor.com/project/sepandhaghighi/nafas"><img src="https://ci.appveyor.com/api/projects/status/3au823bgsaupgsup/branch/dev?svg=true"></a></td> | ||
<td align="center">CI</td> | ||
<td align="center"><img src="https://github.com/sepandhaghighi/nafas/workflows/CI/badge.svg?branch=master"></td> | ||
<td align="center"><img src="https://github.com/sepandhaghighi/nafas/workflows/CI/badge.svg?branch=dev"></td> | ||
</tr> | ||
</table> | ||
|
||
|
@@ -80,19 +76,19 @@ No need to walk away to take a break, just sit comfortably, run Nafas and let th | |
## Installation | ||
|
||
### Source Code | ||
- Download [Version 0.1](https://github.com/sepandhaghighi/nafas/archive/v0.1.zip) or [Latest Source ](https://github.com/sepandhaghighi/nafas/archive/dev.zip) | ||
- Download [Version 0.2](https://github.com/sepandhaghighi/nafas/archive/v0.2.zip) or [Latest Source ](https://github.com/sepandhaghighi/nafas/archive/dev.zip) | ||
- `pip install -r requirements.txt` or `pip3 install -r requirements.txt` (Need root access) | ||
- `python3 setup.py install` or `python setup.py install` (Need root access) | ||
|
||
### PyPI | ||
|
||
- Check [Python Packaging User Guide](https://packaging.python.org/installing/) | ||
- `pip install nafas==0.1` or `pip3 install nafas==0.1` (Need root access) | ||
- `pip install nafas==0.2` or `pip3 install nafas==0.2` (Need root access) | ||
|
||
|
||
### Exe Version (Only Windows) | ||
- Download [Exe-Version 0.1](https://github.com/sepandhaghighi/nafas/releases/download/v0.1/NAFAS-0.1.exe) | ||
- Run `NAFAS-0.1.exe` | ||
- Download [Exe-Version 0.2](https://github.com/sepandhaghighi/nafas/releases/download/v0.2/NAFAS-0.2.exe) | ||
- Run `NAFAS-0.2.exe` | ||
|
||
|
||
## Usage | ||
|
@@ -141,7 +137,9 @@ or send an email to [[email protected]](mailto:[email protected] "[email protected]"). | |
|
||
<blockquote>7- Martarelli, Daniele, Mario Cocchioni, Stefania Scuri, and Pierluigi Pompei. "Diaphragmatic breathing reduces exercise-induced oxidative stress." Evidence-Based Complementary and Alternative Medicine 2011 (2011). </blockquote> | ||
|
||
|
||
<blockquote>8- <a href="https://ttsmp3.com/">Free Text-To-Speech and Text-to-MP3 for US English</a> </blockquote> | ||
|
||
|
||
## Donate to our project | ||
|
||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
art==4.9 | ||
art==5.1 | ||
playsound==1.2.2 | ||
codecov>=2.0.15 | ||
pytest>=4.3.1 | ||
pytest-cov>=2.6.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.