Metadata-Version: 2.4
Name: dvr-tools
Version: 1.1.2
Summary: A command-line interface for managing DVR tools.
Author-email: Ilya Krivoshein <htctomsk634@gmail.com>
License: MIT
Keywords: DVR,tools,command-line,video,recorder
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
Requires-Dist: click
Requires-Dist: requests
Requires-Dist: pytest

# DVR_Tools

> :warning: Currently supports only Inspector DVRs

- Getting drive root by its letter
- Deleting all files inside EVENT folder
- Downloading and unpacking most recent DB update

## Python package
```pip install dvr-tools```

## Logging

There are some informational messages by default. To increase logging verbosity, add `--debug` argument.
Example: `python3 dvr.py --debug`

## Testing

`pytest` tests are supported. 
Use `python -m pytest tests`, for example.
One can also see test coverage by installing `pytest-cov` module and running `python -m pytest tests --doctest-modules --junitxml=test-results.xml --cov=tests --cov-report=xml --cov-report=html` which will output test and coverage results as HTML and XML files.

## Help

```text
Usage: dvr.py [OPTIONS] COMMAND [ARGS]...

  Command-line interface of DVR Tools

Options:
  --debug
  --help   Show this message and exit.

Commands:
  delete  Delete event files
  update  Download and extract DB
```
