Skip to main content

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.

PyPI version
Downloads
deployment build
unittest and build test
codecov

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

  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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

arus-1.1.21.tar.gz (6.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

arus-1.1.21-py3-none-any.whl (6.1 MB view details)

Uploaded Python 3

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

Hashes for arus-1.1.21.tar.gz
Algorithm Hash digest
SHA256 7064f0605bca5b8edc08962a94d59cf068c12000c56dbd7ffc603b913476a70f
MD5 2137bd4aba149f6e69e607dd88a76136
BLAKE2b-256 9decf836799d6fa6817702007af156d7ec8d64b56d6fc39130971daa423c4dea

See more details on using hashes here.

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

Hashes for arus-1.1.21-py3-none-any.whl
Algorithm Hash digest
SHA256 d20290bfdcaacb9ede933d74abf199cc8865bad79c4c2754c13aa79c8b389244
MD5 3a84c8c920153673f9a5bbe437da1b4b
BLAKE2b-256 b20d497b3cb3ea4e68aa92c8c6f6ba79d7b13e53bce4d1952e977442ff4d012e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page