semvec/pypi-packages huggingface dataset:
cvzoomwindow 0.0.3
CvNameWindow class that adds zoom and pan functions to OpenCV's namedWindow
License: MIT
Keywords: OpenCV namedWindow zoom pan

# CvZoomWindow
CvNameWindow class that adds zoom and pan functions to OpenCV's namedWindow

![CvZoomWindow](https://github.com/ImagingSolution/CvZoomWindow/assets/29155364/b8ef1e5e-31ad-4735-9576-1efe370c01f0)

## Install

```
pip install cvzoomwindow
```



## Sample

```python
import cv2
import cvzoomwindow

# Image loading
img = cv2.imread("image.bmp")

# Instance of CvZoomWindow class
zw = cvzoomwindow.CvZoomWindow(
    "Zoom Window" # Name of the window 
    )

# Displays an image
zw.imshow(img)

# Waits for a pressed key.
cv2.waitKey()
```



## How to operate

| mouse operation              | operation                    |
| ---------------------------- | ---------------------------- |
| Double click of left button  | Display the entire image     |
| Double click of right button | Equal-size display of images |
| Left button drag             | Moving Images                |
| Mouse wheel up               | Zoom up                      |
| Mouse wheel down             | Zoom down                    |



## More information

Blog) CvZoomWindow class

https://imagingsolution.net/program/python/opencv-python/cvzoomwindow_class/
bspcpy 1.0.3.3
bspc wrapper for python
License: MIT
Requires Python: >=3.10
Keywords: python bspwm bspc

# bspcpy

> It's a wrapper for the bspwm command line utility `bspc`.

bspwm is an awesome tiling window manager with a bunch of features, but when I need to develop some script that is a bit more advanced, there are not many options other than using a bash script ~~(which I hate)~~. So, to address this problem, I wrote this simple API.

## Usage

Since everything has the same names as the original bspc, It should be very easy to use.

For now, I have only implemented the query commands

```python
nodes(selector: str) -> Node_set()
desktops(selector: str) -> set[Desktop]
monitors(selector: str) -> set[Monitor]
```

and the classes that represent nodes, desktops, and monitors.

All query methods return Python sets, so it is possible to filter the nodes using set notation.

```python
from bspc import query

floating_nodes = query.nodes('.floating')

for node in floating_nodes:
    if 'firefox' in node.name: 
        node.layout = 'tiled'
```

> This snippet finds all floating Firefox windows and puts them in tiled layout.

I wrote an implementation of a scratchpad using bspcpy in the `examples` folder.

## Requirements

- [xwininfo](https://archlinux.org/packages/extra/x86_64/xorg-xwininfo/)

## Installation

### Via pip

```bash
python -m pip install bspcpy
```

### Upgrade 

```bash
python -m pip install --upgrade bspcpy
```
slowPaste 0.6
A Python package to simulate human-like typing with adjustable speed.
License: MIT

# slowPaste

Simulate human-like typing using Python with the added feature of adjustable speed.

## Features:
- Simulates slow typing to mimic human input.
- Adjustable typing speed in Words Per Minute (WPM).
- Cancel typing mid-way with the `esc` key.
- PyAutoGUI fail-safe: Move your cursor to the top-left corner to halt the script immediately.
- Types out content from your clipboard.

## Installation:

You can install slowPaste directly from GitHub using pip:

```bash
pip install slowPaste
```

## Usage:

1. **Install the Package**: Install the slowPaste package using pip.
2. **Copy Text**: Copy the text you want to be typed out to the clipboard.
3. **Run the Script with Desired Speed**: Run the script using a Python interpreter and specify the desired typing speed in WPM.
   ```python
   from slowPaste import slow_paste
   slow_paste.main(100)  # Replace 100 with your desired speed in WPM
   ```
4. **Focus on Input Field**: After running the script, focus on the input field (e.g., text editor, browser) where you want the text to be typed.
5. **Start Typing**: The script will begin typing out the content from the clipboard after a delay of 2 seconds.

## Adjusting Speed & Text Input:

- The main function accepts a speed parameter representing the typing speed in Words Per Minute (WPM). The default value is 100 WPM. It also accepts an optional text parameter for manual input, with the default being the content currently copied to the clipboard.
- You can adjust it by passing the desired speed value and text string when calling the main function.
  ```python
  slow_paste.main(150, text="Hello, world!")  # Types the provided text at 150 WPM. If text is not provided, it types the clipboard content.
  ```

## Script Breakdown:
- `slow_paste()`: The main function that slowly types out the text. It accepts a speed parameter to adjust the typing speed.
- `main()`: Reads the clipboard content and initiates the typing, it also accepts a speed parameter.

## Safety:
- Move the cursor to the top-left corner of the screen to trigger PyAutoGUI's fail-safe and halt the script.

## Contributing:
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

## License:
[MIT](https://choosealicense.com/licenses/mit/)