semvec/pypi-packages huggingface dataset:
poly-crop 0.4.0
Python library for cropping polygons in images
Requires Python: >=3.8
Keywords: image, processing, crop, polygon

# Poly_Crop
poly_crop is a Python library for cropping polygons in images.

## Installation
You can install poly_crop via pip:

```python
pip install poly_crop
```
## Usage
### Crop Function
The `crop` function is used to crop a polygonal region from an image.

```python
from poly_crop import crop as pc

# Example usage
image_path = "path/to/your/image.jpg"
image = cv2.imread(image_path)
vertices = [(100, 100), (175, 50), (300, 100), (175, 150), (170, 100)]

cropped_image = pc.crop(image, vertices, resize=False)
```
### Preview Function
The `preview` function is used to draw a preview of a polygonal region on an image.

```python
from poly_crop import preview as pc

# Example usage
image_path = "path/to/your/image.jpg"
image = cv2.imread(image_path)
vertices = [(100, 100), (175, 50), (300, 100), (175, 150), (170, 100)]

preview_image = pc.preview(image, vertices, colour=(255, 0, 0), width=2)
```

## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
keystone-status 0.1.0
Status mnitoring page for Keystone services.
Requires Python: <4.0,>=3.11

# Keystone Status Dashboard

A simple web dashboard for monitoring the status of Keystone applications and services.

## Resources

- [Keystone-API](https://github.com/pitt-crc/keystone-api): Backend REST API for managing HPC allocations and resources.
- [Keystone-Web](https://github.com/pitt-crc/keystone-web): Website frontend for HPC administration and self-service.
- [Keystone-Status](https://github.com/pitt-crc/keystone-status): Status dashboard for monitoring Keystone deployments.
- [Keystone-Docs](https://github.com/pitt-crc/keystone-docs): Documentation for the Keystone project and its components.
Scorpii 0.0.1
A package full of useful features
Requires Python: >=3.6

# **Scorpii**

## How To Use

1: Install Scorpii by running `pip install Scorpii`

2: Use `import Scorpii` in your code

3: Your all set and ready to use **Scorpii**


## Functions

### `Scorpii.file2`


`file2.read(name)`

Returns the contents of the file with directory 'name'(string)


`file2.write(name,text)`

Writes 'text'(string,int,float) to the file with directory 'name'(string)


`file2.append(name,text)`

Appends 'text'(string,int,float) to the file with directory 'name'(string)


`file2.table_read(name)`

Returns the contents of the file with directory 'name'(string) as a list

**IMPORTANT** Data must have been saved with `table_write()`


`file2.table_write(name,list)`

Writes 'list'(list) to the file with directory 'name'(string) using specific list file formatting


`file2.table_append(name,list)`

Appends 'list'(list) to the file with directory 'name'(string) using specific list file formatting


`file2.remove(file)`

Removes the file with directory 'file'(string)


### `Scorpii.number`


`number.root(num,root)`

Returns the 'root'(int, float) root of 'num'(int,float)

E.g: 

>print(root(8,3)):

> 2


`number.prime(num)`

Returns 'True' if 'num'(int) is a prime number and 'False' if it is not


`number.prime_list(start_num,end_num)`

Returns a list of prime numbers between 'start_num'(int) and 'end_num'(int) inclusive


`number.factorial(num)`

Returns the factorial of 'num'(int)


### `Scorpii.time2`


`time2.wait(num)`

Pauses the program for 'num'(int,float) amount of seconds


`time2.stopwatch_start(id)`

Starts a stopwatch with id = 'id'(int) -- If is unique to each running stopwatch


`time2.stopwatch_stop(id)`

Returns the time on the stopwatch with id = 'id'(int) -- Can be used multiple times


`time2.timer(time,func)`

Asynchronously waits for `time`(int,float) seconds before calling the 'func'(funciton) function