Activity Recognition with Ubiquitous Sensing
Project 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.
Prerequists
python >= 3.7.0
# 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
> 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
> 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 pytest
Development conventions
- Use Google's python coding guidance: http://google.github.io/styleguide/pyguide.html.
- Use
arus package release VERSION --releaseto bump and tag versions.VERSIONcan be manual version code following semantic versioning,path,minor, ormajor. - Changelogs are automatically generated when building the documentation website, do not create it manually.
- 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. - After commits, even not bumping and releasing the package, you may run
arus package docs --releaseto update the documentation website, where the developer version changelogs will be updated immediately.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file arus-1.1.21.tar.gz.
File metadata
- Download URL: arus-1.1.21.tar.gz
- Upload date:
- Size: 6.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.7.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7064f0605bca5b8edc08962a94d59cf068c12000c56dbd7ffc603b913476a70f
|
|
| MD5 |
2137bd4aba149f6e69e607dd88a76136
|
|
| BLAKE2b-256 |
9decf836799d6fa6817702007af156d7ec8d64b56d6fc39130971daa423c4dea
|
File details
Details for the file arus-1.1.21-py3-none-any.whl.
File metadata
- Download URL: arus-1.1.21-py3-none-any.whl
- Upload date:
- Size: 6.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.7.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d20290bfdcaacb9ede933d74abf199cc8865bad79c4c2754c13aa79c8b389244
|
|
| MD5 |
3a84c8c920153673f9a5bbe437da1b4b
|
|
| BLAKE2b-256 |
b20d497b3cb3ea4e68aa92c8c6f6ba79d7b13e53bce4d1952e977442ff4d012e
|