semvec/pypi-packages huggingface dataset:
jrpytests 0.1.0
Check coding style in Rmd python chunks
Requires Python: >=3.5,<4.0

# jrpytests

## Overview

This package contains functions for CI testing of JR python packages and was created using the poetry python package, for more details see

[https://github.com/sdispater/poetry](https://github.com/sdispater/poetry).

jrpytests allows: 

* to run pytest,
* to check coding style (via flake8) in python files, 
* to extract python chunks from Rmd files and check their coding style,
* to check if a directory 'vignettes' exists in appropriate folder and,
* to count pdf files in 'vignettes' and compare to number of Rmd files.

The flake8 configuration file is stored in this package, see

jrpytests/flake8\_config.ini.

## Basic usage

Import the package using

`import jrpytests`.

Run pytest

`jrpytests.runpytests()`.

Run flake8 in python files

`jrpytests.runflake8pythonfiles()`.

Run flake8 in Rmd python chunks

`jrpytests.runflake8rmdpychunks()`.

Check 'vignettes' and number of pdf files in it

`jrpytests.checkvignettespdffiles()`.
asb 0.3
Python utility to capture android screen frames in real time and use with 3rd party libs like opencv.

## Android Screen Buffer

Python package for streaming Android device's screen frames. This utility can be used to capture android screen frames in real time and use with 3rd party libs like opencv. Might be usefull in case you'd like to make processing or use screen frames in your python code (e.g to create reinforcement learning setups for android games).

## How to install:

 - First install and run [minicap](https://github.com/openstf/minicap) (thats really easy).
 - Then `pip install asb`

## How to use:

    from asb import AndroidScreenBuffer

    buff = AndroidScreenBuffer()
    buff.run()

    img = buff.get_last_frame()

    if img is not None:
        # Use image as you would like
        # e.g cv2.imshow('capture', img)