1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
|
%global _empty_manifest_terminate_build 0
Name: python-arus
Version: 1.1.22
Release: 1
Summary: Activity Recognition with Ubiquitous Sensing
License: GNU
URL: https://github.com/qutang/arus
Source0: https://mirrors.nju.edu.cn/pypi/web/packages/8b/72/922f3b1a6275fd6908b328b65918f99f16b21c6d091716eeb77714be4965/arus-1.1.22.tar.gz
BuildArch: noarch
Requires: python3-dataclasses
Requires: python3-dephell_versioning
Requires: python3-docopt
Requires: python3-joblib
Requires: python3-loguru
Requires: python3-loky
Requires: python3-matplotlib
Requires: python3-numpy
Requires: python3-pandas
Requires: python3-pathos
Requires: python3-playsound
Requires: python3-pyarrow
Requires: python3-pymetawear
Requires: python3-pysimplegui
Requires: python3-scikit-learn
Requires: python3-scipy
Requires: python3-seaborn
Requires: python3-semver
Requires: python3-tensorboard
Requires: python3-torch
Requires: python3-tqdm
Requires: python3-tzlocal
Requires: python3-wget
%description
# Overview
__ARUS__ python package provides a computational and experimental framework to manage and process sensory data or wireless devices, to develop and run activity recognition algorithms on the data, and to create interactive programs using the algorithms and wireless devices.
This package is licensed under [GPL version 3](https://qutang.github.io/arus/LICENSE/).
[](https://badge.fury.io/py/arus)
[](https://pepy.tech/project/arus)
[](https://github.com/qutang/arus/actions?query=workflow%3Adeploy)
[](https://github.com/qutang/arus/actions?query=workflow%3A%22unittest+and+build+test%22)
[](https://codecov.io/gh/qutang/arus)
## Prerequists
```bash
python >= 3.7.0
```
```bash
# Need these SDKs to install arus[metawear] on Windows.
Visual Studio C++ SDK (v14.1)
Windows SDK (10.0.16299.0)
Windows SDK (10.0.17763.0)
# Need these packages to install arus[metawear] on Ubuntu or equivalent packages on other linux distributions.
libbluetooth-dev
libboost-all-dev
bluez
```
## Installation
```bash
> pip install arus
# Optionally, you may install plugins via pip extra syntax.
> pip install arus[metawear]
> pip install arus[demo]
> pip install arus[dev]
> pip install arus[nn]
```
## Optional components
`arus[metawear]`: This optional component installs dependency supports for streaming data from Bluetooth metawear sensors.
`arus[demo]`: This optional component installs dependency supports for running the demo app that demonstrates a real-time interactive activity recognition training and testing program.
`arus[dev]`: These optional component installs dependency supports for running some package and version management functions in the `arus.dev` module.
`arus[nn]`: The optional component installs dependency supports for PyTorch and Tensorboard, which are required by `arus.models.report` module. Note that for Windows, you should install the `torch` package manually using `pip` following the `pytorch.org` instruction.
## Get started for development
```bash
> git clone https://github.com/qutang/arus.git
> cd arus
> # Install poetry python package management tool https://python-poetry.org/docs/
> # On Linux
> curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
> # On windows powershell
> (Invoke-WebRequest -Uri https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py -UseBasicParsing).Content | python
> # Install package dependencies
> poetry install
> # Install optional component dependencies
> poetry install --extras "metawear demo dev nn"
> # Run unit tests
> poetry run python -m pytest
```
### Development conventions
1. Use Google's python coding guidance: http://google.github.io/styleguide/pyguide.html.
2. Use `arus package release VERSION --release` to bump and tag versions. `VERSION` can be manual version code following semantic versioning, `path`, `minor`, or `major`.
3. Changelogs are automatically generated when building the documentation website, do not create it manually.
4. Pypi release will be handled by github action `deploy.yml`, which will be triggered whenever a new tag is pushed. Therefore, developers should only tag release versions.
5. After commits, even not bumping and releasing the package, you may run `arus package docs --release` to update the documentation website, where the developer version changelogs will be updated immediately.
%package -n python3-arus
Summary: Activity Recognition with Ubiquitous Sensing
Provides: python-arus
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
%description -n python3-arus
# Overview
__ARUS__ python package provides a computational and experimental framework to manage and process sensory data or wireless devices, to develop and run activity recognition algorithms on the data, and to create interactive programs using the algorithms and wireless devices.
This package is licensed under [GPL version 3](https://qutang.github.io/arus/LICENSE/).
[](https://badge.fury.io/py/arus)
[](https://pepy.tech/project/arus)
[](https://github.com/qutang/arus/actions?query=workflow%3Adeploy)
[](https://github.com/qutang/arus/actions?query=workflow%3A%22unittest+and+build+test%22)
[](https://codecov.io/gh/qutang/arus)
## Prerequists
```bash
python >= 3.7.0
```
```bash
# Need these SDKs to install arus[metawear] on Windows.
Visual Studio C++ SDK (v14.1)
Windows SDK (10.0.16299.0)
Windows SDK (10.0.17763.0)
# Need these packages to install arus[metawear] on Ubuntu or equivalent packages on other linux distributions.
libbluetooth-dev
libboost-all-dev
bluez
```
## Installation
```bash
> pip install arus
# Optionally, you may install plugins via pip extra syntax.
> pip install arus[metawear]
> pip install arus[demo]
> pip install arus[dev]
> pip install arus[nn]
```
## Optional components
`arus[metawear]`: This optional component installs dependency supports for streaming data from Bluetooth metawear sensors.
`arus[demo]`: This optional component installs dependency supports for running the demo app that demonstrates a real-time interactive activity recognition training and testing program.
`arus[dev]`: These optional component installs dependency supports for running some package and version management functions in the `arus.dev` module.
`arus[nn]`: The optional component installs dependency supports for PyTorch and Tensorboard, which are required by `arus.models.report` module. Note that for Windows, you should install the `torch` package manually using `pip` following the `pytorch.org` instruction.
## Get started for development
```bash
> git clone https://github.com/qutang/arus.git
> cd arus
> # Install poetry python package management tool https://python-poetry.org/docs/
> # On Linux
> curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
> # On windows powershell
> (Invoke-WebRequest -Uri https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py -UseBasicParsing).Content | python
> # Install package dependencies
> poetry install
> # Install optional component dependencies
> poetry install --extras "metawear demo dev nn"
> # Run unit tests
> poetry run python -m pytest
```
### Development conventions
1. Use Google's python coding guidance: http://google.github.io/styleguide/pyguide.html.
2. Use `arus package release VERSION --release` to bump and tag versions. `VERSION` can be manual version code following semantic versioning, `path`, `minor`, or `major`.
3. Changelogs are automatically generated when building the documentation website, do not create it manually.
4. Pypi release will be handled by github action `deploy.yml`, which will be triggered whenever a new tag is pushed. Therefore, developers should only tag release versions.
5. After commits, even not bumping and releasing the package, you may run `arus package docs --release` to update the documentation website, where the developer version changelogs will be updated immediately.
%package help
Summary: Development documents and examples for arus
Provides: python3-arus-doc
%description help
# Overview
__ARUS__ python package provides a computational and experimental framework to manage and process sensory data or wireless devices, to develop and run activity recognition algorithms on the data, and to create interactive programs using the algorithms and wireless devices.
This package is licensed under [GPL version 3](https://qutang.github.io/arus/LICENSE/).
[](https://badge.fury.io/py/arus)
[](https://pepy.tech/project/arus)
[](https://github.com/qutang/arus/actions?query=workflow%3Adeploy)
[](https://github.com/qutang/arus/actions?query=workflow%3A%22unittest+and+build+test%22)
[](https://codecov.io/gh/qutang/arus)
## Prerequists
```bash
python >= 3.7.0
```
```bash
# Need these SDKs to install arus[metawear] on Windows.
Visual Studio C++ SDK (v14.1)
Windows SDK (10.0.16299.0)
Windows SDK (10.0.17763.0)
# Need these packages to install arus[metawear] on Ubuntu or equivalent packages on other linux distributions.
libbluetooth-dev
libboost-all-dev
bluez
```
## Installation
```bash
> pip install arus
# Optionally, you may install plugins via pip extra syntax.
> pip install arus[metawear]
> pip install arus[demo]
> pip install arus[dev]
> pip install arus[nn]
```
## Optional components
`arus[metawear]`: This optional component installs dependency supports for streaming data from Bluetooth metawear sensors.
`arus[demo]`: This optional component installs dependency supports for running the demo app that demonstrates a real-time interactive activity recognition training and testing program.
`arus[dev]`: These optional component installs dependency supports for running some package and version management functions in the `arus.dev` module.
`arus[nn]`: The optional component installs dependency supports for PyTorch and Tensorboard, which are required by `arus.models.report` module. Note that for Windows, you should install the `torch` package manually using `pip` following the `pytorch.org` instruction.
## Get started for development
```bash
> git clone https://github.com/qutang/arus.git
> cd arus
> # Install poetry python package management tool https://python-poetry.org/docs/
> # On Linux
> curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
> # On windows powershell
> (Invoke-WebRequest -Uri https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py -UseBasicParsing).Content | python
> # Install package dependencies
> poetry install
> # Install optional component dependencies
> poetry install --extras "metawear demo dev nn"
> # Run unit tests
> poetry run python -m pytest
```
### Development conventions
1. Use Google's python coding guidance: http://google.github.io/styleguide/pyguide.html.
2. Use `arus package release VERSION --release` to bump and tag versions. `VERSION` can be manual version code following semantic versioning, `path`, `minor`, or `major`.
3. Changelogs are automatically generated when building the documentation website, do not create it manually.
4. Pypi release will be handled by github action `deploy.yml`, which will be triggered whenever a new tag is pushed. Therefore, developers should only tag release versions.
5. After commits, even not bumping and releasing the package, you may run `arus package docs --release` to update the documentation website, where the developer version changelogs will be updated immediately.
%prep
%autosetup -n arus-1.1.22
%build
%py3_build
%install
%py3_install
install -d -m755 %{buildroot}/%{_pkgdocdir}
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
pushd %{buildroot}
if [ -d usr/lib ]; then
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/lib64 ]; then
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/bin ]; then
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/sbin ]; then
find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
fi
touch doclist.lst
if [ -d usr/share/man ]; then
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
fi
popd
mv %{buildroot}/filelist.lst .
mv %{buildroot}/doclist.lst .
%files -n python3-arus -f filelist.lst
%dir %{python3_sitelib}/*
%files help -f doclist.lst
%{_docdir}/*
%changelog
* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 1.1.22-1
- Package Spec generated
|