Metadata-Version: 2.1
Name: camonline
Version: 0.1.2
Summary: camonline
Project-URL: Source, https://github.com/wh1isper/camonline
Author-email: wh1isper <9573586@qq.com>
License: BSD 3-Clause License
License-File: LICENSE
Keywords: camonline
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Python: >=3.8
Requires-Dist: click
Requires-Dist: loguru
Requires-Dist: opencv-python-headless
Requires-Dist: tomli
Requires-Dist: tomli-w
Provides-Extra: test
Requires-Dist: pytest; extra == 'test'
Requires-Dist: pytest-cov; extra == 'test'
Description-Content-Type: text/markdown

![](https://img.shields.io/github/license/wh1isper/camonline)
![](https://img.shields.io/github/v/release/wh1isper/camonline)
![](https://img.shields.io/pypi/dm/camonline)
![](https://img.shields.io/github/last-commit/wh1isper/camonline)
![](https://img.shields.io/pypi/pyversions/camonline)

# camonline

Make your computer camera a monitor

## Install

`pip install camonline`

## Usage

```bash
docker run -d --restart always \
--name camonline \
--device=/dev/video0:/dev/video0 \
-v ~/.camonline:/root/.camonline \
wh1isper/camonline
```

## Develop

Install pre-commit before commit

```
pip install pre-commit
pre-commit install
```

Install package locally

```
pip install -e .[test]
```

Run unit-test before PR, **ensure that new features are covered by unit tests**

```
pytest -v
```
