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 python -m pytest
Development conventions
- Use Google's python coding guidance: http://google.github.io/styleguide/pyguide.html.
- Use
arus package release VERSION --release
to bump and tag versions.VERSION
can 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 --release
to 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
File details
Details for the file arus-1.1.22.tar.gz
.
File metadata
- Download URL: arus-1.1.22.tar.gz
- Upload date:
- Size: 6.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5e80c1c565c51f43ef0251edc47a43bc07ec4b6f4c02dd7100b8c6bcbcfe83a |
|
MD5 | 6c88f5b96386818367544c769d350958 |
|
BLAKE2b-256 | 8b72922f3b1a6275fd6908b328b65918f99f16b21c6d091716eeb77714be4965 |
File details
Details for the file arus-1.1.22-py3-none-any.whl
.
File metadata
- Download URL: arus-1.1.22-py3-none-any.whl
- Upload date:
- Size: 6.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 185e280f34456ee414cbc674d082e00e9127a9cbf56d429ea507643ac3825afd |
|
MD5 | 1112a231bd06935a4ffb00d639f6e348 |
|
BLAKE2b-256 | 508c687aa04b319645311a84eaf51e73632a90eb58020a1d52d1cd8faaa930c8 |