pybreathe 0.0.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Thibaut Coustillet
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,8 @@
1
+ include README.md
2
+ include LICENSE
3
+ include pyproject.toml
4
+
5
+ prune tests
6
+ prune *.egg-info
7
+ global-exclude __pycache__
8
+ global-exclude .*
@@ -0,0 +1,68 @@
1
+ Metadata-Version: 2.4
2
+ Name: pybreathe
3
+ Version: 0.0.0
4
+ Summary: A python package for respiratory air flow rates analysis
5
+ Author-email: Thibaut Coustillet <thib.coustillet@gmail.com>
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://github.com/tcoustillet/pybreathe
8
+ Project-URL: Source, https://github.com/tcoustillet/pybreathe
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: Programming Language :: Python :: 3.10
11
+ Classifier: Intended Audience :: Science/Research
12
+ Classifier: Operating System :: OS Independent
13
+ Requires-Python: >=3.10
14
+ Description-Content-Type: text/markdown
15
+ License-File: LICENSE
16
+ Requires-Dist: matplotlib>=3.10.1
17
+ Requires-Dist: numpy>=2.2.4
18
+ Requires-Dist: openpyxl>=3.1.5
19
+ Requires-Dist: pandas>=2.2.3
20
+ Requires-Dist: scipy>=1.15.2
21
+ Requires-Dist: seaborn>=0.13.2
22
+ Provides-Extra: dev
23
+ Requires-Dist: ipykernel>=6.29.5; extra == "dev"
24
+ Requires-Dist: jupyterlab>=4.4.1; extra == "dev"
25
+ Requires-Dist: pytest>=8.4.0; extra == "dev"
26
+ Requires-Dist: pylint>=3.3.5; extra == "dev"
27
+ Requires-Dist: pycodestyle>=2.13.0; extra == "dev"
28
+ Requires-Dist: pydocstyle>=6.3.0; extra == "dev"
29
+ Requires-Dist: black>=25.1.0; extra == "dev"
30
+ Dynamic: license-file
31
+
32
+ # pybreathe: a python package for respiratory air flow rates analysis
33
+
34
+ ## Get started
35
+
36
+ First of all, we highly recommend that you install [miniconda](https://www.anaconda.com/docs/getting-started/miniconda/install) on your machine.
37
+
38
+ To set up the virtual environment required for respiratory flow analysis, open **Anaconda prompt**, copy the full package path and move to it with `$ cd package_path`. Then, please run (only the first time):
39
+
40
+ ```bash
41
+ $ conda env create -f environment.yml
42
+ $ conda activate venv_pybreathe
43
+ $ python -m ipykernel install --user --name=venv_pybreathe
44
+ ```
45
+
46
+ Then, every time you want to analyze data, activate the virtual environment with:
47
+
48
+ ```bash
49
+ $ conda activate venv_pybreathe
50
+ ```
51
+
52
+ and run the example script (or any other) with:
53
+
54
+ ```bash
55
+ $ jupyter lab example.ipynb
56
+ ```
57
+
58
+ > /!\ You must either be in the same directory as your .ipynb file, or specify the absolute path.
59
+
60
+ Finally, to quit the analysis, please follow these steps:
61
+
62
+ - Right clic on your .ipynb file in the tree, then "Shut Down Kernel"
63
+ - Clic on "File", the "Shut Down"
64
+ - When you regain control in your terminal, run:
65
+
66
+ ```bash
67
+ $ conda deactivate
68
+ ```
@@ -0,0 +1,37 @@
1
+ # pybreathe: a python package for respiratory air flow rates analysis
2
+
3
+ ## Get started
4
+
5
+ First of all, we highly recommend that you install [miniconda](https://www.anaconda.com/docs/getting-started/miniconda/install) on your machine.
6
+
7
+ To set up the virtual environment required for respiratory flow analysis, open **Anaconda prompt**, copy the full package path and move to it with `$ cd package_path`. Then, please run (only the first time):
8
+
9
+ ```bash
10
+ $ conda env create -f environment.yml
11
+ $ conda activate venv_pybreathe
12
+ $ python -m ipykernel install --user --name=venv_pybreathe
13
+ ```
14
+
15
+ Then, every time you want to analyze data, activate the virtual environment with:
16
+
17
+ ```bash
18
+ $ conda activate venv_pybreathe
19
+ ```
20
+
21
+ and run the example script (or any other) with:
22
+
23
+ ```bash
24
+ $ jupyter lab example.ipynb
25
+ ```
26
+
27
+ > /!\ You must either be in the same directory as your .ipynb file, or specify the absolute path.
28
+
29
+ Finally, to quit the analysis, please follow these steps:
30
+
31
+ - Right clic on your .ipynb file in the tree, then "Shut Down Kernel"
32
+ - Clic on "File", the "Shut Down"
33
+ - When you regain control in your terminal, run:
34
+
35
+ ```bash
36
+ $ conda deactivate
37
+ ```
@@ -0,0 +1 @@
1
+ from .base import BreathingFlow, flow_merger
@@ -0,0 +1,2 @@
1
+ from .breathingflow import BreathingFlow
2
+ from .utils import flow_merger