Metadata-Version: 2.1
Name: Cambridge-Mask-Stats
Version: 0.4.2
Summary: Program to output the wearing time and other statistics of a Cambridge N99 | FFP2 mask.
Home-page: https://github.com/w01fdev/cambridge-mask-stats
Author: w01f
Author-email: w01f@w01f.dev
License: GPL-3.0
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy
Requires-Dist: pandas
Requires-Dist: python-dateutil
Requires-Dist: pytz
Requires-Dist: six

# Cambridge Masks Stats
**Program to output the wearing time and other statistics of a Cambridge 
N99 | FFP2 mask.**

the program is in the alpha phase. this means that the api 
will probably change often. when running it in the terminal, care is taken to 
maintain the syntax if possible. this description also only deals with the terminal. the api will be described 
in the documentation of the code, if this is necessary. it is tried to write 
the code in a way that it is easy to understand.

## requirements
### python version
`Python >= 3.6`

### dependencies
```text
numpy==1.21.1
pandas==1.3.1
python-dateutil==2.8.2
pytz==2021.1
six==1.16.0
```

## pip installation (with dependencies)
```shell
pip install cambridge-mask-stats
```

## csv file
### the CSV file to import needs the following header:
`date,id,model,aqi_level,minutes_worn`

* date -> format yyyy-mm-dd
* id -> mask id. preferably consecutive numbering
* model -> mask model like 'The Churchill Pro'
* aqi_level -> from 1-5 according to the data in the manual (1 = aqi below 50, 2 = 50 - 100 ...)
* minutes_worn -> minutes worn on this date

## execute
```shell
mask-stats <FILEPATH>
```

#### example
```shell
masks-stats /home/w01fdev/Documents/masks.csv
```

output
```text
**********************[WORN]**********************

[HOURS WORN]
ID MASK                      HOURS
 1 The Admiral Pro           73
 2 The Churchill Pro         233

[WORN PERCENT]
ID MASK                      PERCENT
 1 The Admiral Pro           21.47
 2 The Churchill Pro         68.53
```

