semvec/pypi-packages huggingface dataset:
pycolorpy 0.1.2
Adds typographical emphasis and text / background color for strings in python.

# pycolorpy

Adds typographical emphasis and text / background color for strings in python.

## Installation

```bash
pip install pycolorpy
```

## Usage

```python
from pycolorpy import black, red, green, yellow, blue, magenta, cyan, white

example_string = yellow('Hello ', options=['blink'], background='red') + magenta('World', options=['underline', 'italic'], background='green') + cyan('!')
print(example_string)
```

## Available options

* bright
* dark
* italic
* underline
* blink
* selected

## Available background colors

* black
* red
* green
* yellow
* blue
* magenta
* cyan
* white
aggdirect-ocr 0.1.1
A package to classify tickets and extract their numbers
Requires Python: ==3.8

### API to predict ticket class (dump/no-dump) and get ticket number

#### Setup to run API
* `git clone https://github.com/bulldog-dev/ocr.git`
* `cd ocr`
* Download `models` folder from [here](https://drive.google.com/drive/u/0/folders/1W4WykLCOqPtnrbMsFz_fkSuPNgBpFPAS) inside `/dao` folder
* Folder structure
    ```
    - dao
        -models
            -tessdata
                -digits_v1.traineddata ...
            -YOLO
                -1
            -classify
                -1
    ```
* Current model config found in `config/current_model.yaml`. To update any model to a different version, change this file. For example, if YOLO model is updated, store it in `dao/models/YOLO/` folder under a new folder with folder name equal to the version number. Update YOLO's `model_path` in `current_model.yaml` including the new version number.

#### Steps to run docker container
* `cp sample.env .env` update sample.env for additional keys when needed
* Start docker container, `docker-compose up --build`

#### Steps to run MySQL database
* `docker exec -it ocr-mysql mysql -uroot -p` in terminal
* Enter password
* `use ocr` to change DB 

#### Steps to test on a image
* Postman setting, URI : `localhost:9001/REST/ocr`
* JSON Body:
```
{
    "image" : "https://d1axh22s2n3uwn.cloudfront.net/e3cf5d1d-1a6c-4a8b-a458-755889a7f6c9/1c727654-0fd7-4815-b35c-b03a31b33fd0",
    "task_ticket_images_id": "abc6"
}
```
* Expected output:
```
{
    "exec_time": "3.547717571258545",
    "message": "Success",
    "pred_class": "dump",
    "pred_ticket_number": "330042",
    "task_id": "abc6"
}
```
wagtail-rest-pack-bydzovsky 0.0.1
A small example package
Requires Python: >=3.6

# wagtail-rest-pack

# wagtail-rest-pack

=====
Rest Page Children
=====

Wagtail app creating an views that expose children of pages

Quick start
-----------

1. Add "polls" to your INSTALLED_APPS setting like this::

   INSTALLED_APPS = [
   ...
   'wagtail_rest_pack',
   ]

2. Include the polls URLconf in your project urls.py like this::

   url(r'^polls/', include('polls.urls')),

3. Run `python manage.py migrate` to create the polls models.

4. Start the development server and visit http://127.0.0.1:8000/admin/
   to create a poll (you'll need the Admin app enabled).

5. Visit http://127.0.0.1:8000/polls/ to participate in the poll.