semvec/pypi-packages huggingface dataset:
wave-viewer 0.2.2
A simple GUI for viewing waveforms.
License: MIT
Requires Python: >=3.7,<3.12

# Wave Viewer

A simple GUI for viewing waveforms. It plots the waveform with vispy in a
separate process. The GUI is built with PySide6.

The `WaveViewer` class is the main interface for the wave_viewer package. It
provides methods for adding and removing lines from the plot, clearing the plot,
and closing the GUI.

## Installation

```bash
pip install wave-viewer
```

## Usage

Below is a simple example of how to use the `WaveViewer` class. Avoid calling
`clear` if you only want to update the plot. It is more efficient to update the
plot with `add_line`.

```python
from wave_viewer import WaveViewer
import numpy as np


# This if statement is required for multiprocessing on Windows
if __name__ == "__main__":
    # Create the viewer
    viewer = WaveViewer()

    # Add a line to the plot
    x = np.arange(100000) / 2e9
    y = np.exp(1j * 2 * np.pi * 1e6 * x)
    ys = [y.real, y.imag]
    viewer.add_line("line1", x, ys, offset=0)

    # Add another line to the plot
    viewer.add_line("line2", x, ys, offset=2)

    # Auto scale the plot
    viewer.autoscale()

    # Remove the first line
    viewer.remove_line("line1")

    # Replace the second line
    y = np.exp(1j * 2 * np.pi * 2e6 * x)
    ys = [y.real, y.imag]
    viewer.add_line("line2", x, ys, offset=2)

    # Clear the plot
    viewer.clear()

    # Close the GUI
    viewer.close()
```
arylibrary 0.6.0
Sample library for demo
License: MIT

# Sample Library (arylibrary)
A small demo library 

### Installation
```
pip install arylibrary
```

### Get started
How to multiply one number by another with this lib:

```Python
from arylibrary import Multiplication

# Instantiate a Multiplication object
multiplication = Multiplication(2)

# Call the multiply method
result = multiplication.multiply(5)


# Call the addition method
adder = Addition(10)

result = adder.add(10)

```
images-compare 0.6.0
This Python package allows for image comparison between two provided images using a specified threshold
License: MIT
Requires Python: >=3.11


# Images Compare 🖼️

This Python package allows for image comparison between two provided images using a specified threshold.




## Installation

Install images-compare with pip

```bash
pip install images-compare
```
    
## Demo

Copy the below code snippet for a quick start

```python
from images_compare import verify_images

res = verify_images("img_1.png", "img_2.png", 0.0001)
print(res)
```

## Usage

The function `verify_images` is designed to take three parameters: the first two parameters are the images to be compared, and the third parameter represents the threshold difference. The default value for the threshold is set to 0.0001.

## Authors

[Denzil Rodrigues](https://denzilrdz.github.io/denzilrodrigues/)


## License

[MIT](https://choosealicense.com/licenses/mit/)
pyxboxcontroller 0.7.3
Allows simple access to the current state of connected Xbox controllers on Windows.
License: MIT
Keywords: xbox controller,XInput,xbox,controller,python,xbox-controller,xboxcontroller


    Utilises the XInput library(https://learn.microsoft.com/en-gb/windows/win32/xinput/getting-started-with-xinput).
    See github for more details: (https://github.com/SimpleHydrogen/pyxboxcontroller)