semvec/pypi-packages huggingface dataset:
pascalvoc-ap 1.0.4
PascalVOC AP with Python
License: MIT
Requires Python: >=3.6
Keywords: pascalvoc,object_detection,metric,evaluation,ap,python

# Pascal VOC AP with Python

> Pascal VOC: <http://host.robots.ox.ac.uk/pascal/VOC/>

<br><br>

## Install

```bash
$ pip install pascalvoc-ap
```

<br><br>

## How to Use

```python
from pascalvoc_ap.ap import get_ap


# (some codes)...
ap_results = get_ap(preds_all=preds_all, gts_all=gts_all, classes=classes, iou_thr=0.5)
```

- `preds_all`: (list): list of `[class_name, confidence, left, top, right, bottom, image_id]`
- `gts_all`: (list): list of `[class_name, left, top, right, bottom, image_id]`
- `classes`: (list or str): Class name list you want to get APs. It can be str if you want get one class.
- `iou_thr`: (float): IoU Threshold (Default: 0.5)

<br>

### About return value

Return data type is dict.  
Key is class name, Value is AP.  
You can get AP like below.  

```python
car_AP = ap_results.get('car')
mAP = ap_results.get('mAP')
```
flask-sketch 0.3.29
A CLI for autogenerate folder structure and boilerplate for Flask applications
License: MIT
Requires Python: >=3.7,<4.0
Keywords: flask-sketch,flask_sketch,flask boilerplate

# flask-sketch

A Python CLI for auto-generate folders structure and boilerplate code for Flask Applications.

## Installation

Flask Sketch is available on PyPi. Simply use pip to install Flask Sketch:

```
pip install flask-sketch
```

## Usage

Flask-Sketch have a single command to create a new project

```
python -m flask_sketch myprojectname
```

This will start a CLI which ask some questions about what you want in your new application like database choice, login framework, REST framework and some other features you might want. The name of your project will be `myprojectname` (note: the name of project can only contains letters, numbers and underscore but have to start with a letter)

Some questions depends on past answers you gave (example: if you choose a SQL database you will be asked if you want flask-migrate to help with migrations)

## Demo

A simple demo using Flask Sketch

![Alt Text](docs/assets/sketch-demo.gif)

## Future

For now Flask-Sketch is basic a study project for myself but I want to add support for:

- Authlib (to deal with OAuth2)
- More options to deal with migrations
- Environs lib (another alternative for settings)
- Others features extensions to flask:
    - Flask-Talisman
    - Pytest-Flask
    - Flask-Babel
    - Flask-File-Upload
    - Flask-HTMLmin (to minifier HTML)
    - Flask-Static-Digest
    - Something to help with text search.
    - Something to help with GraphQL