semvec/pypi-packages huggingface dataset:
image2sound 0.5
A Python utility that converts images to audio.
Requires Python: >=3.7

# image2sound

**image2sound** is a utility that accepts an image file, converts the RGB values of each pixel to a frequency, and saves the result to three separate WAV files.

*NOTE: Large image files no longer automatically result in large audio files as the user can specify a target track length and sane defaults are applied when this is not specified.*

## Requirements
- PIL
- numpy
- wavio
- argparse
- math

## To run
Simply running ```python3 main.py``` will generate audio using the test image and default settings.

### Arguments

The following optional arguments may be set, however:

- ```-p``` for a path to an image
- ```-key``` for musical key (defaults to C )
- ```-t``` for tempo (defaults to 60 bpm)
- ```-min``` for the desired number of minutes (defaults to 1 so must be set to zero if shorter tracks are wanted)
- ```-sec``` for the desired number of seconds (defaults to zero)

### "Split" mode

Note that the default behavior of the utility is to create a single stereo audio file. 
Adding ```--split``` will split the resulting audio into three separate files (red, green, blue).

### "Reveal" mode

Adding ```--reveal``` will override the key, tempo, and minutes/seconds with data derived from the image itself, "revealing" the music within the image as it were,

Example 1:
```
python3 main.py -p image.png -key Dminor -t 80 -min 11 -sec 38
```

Example 2:
```
python3 main.py -p image.png -key Dminor -t 80 -min 11 -sec 38 --split
```

Example 3:
```
python3 main.py -p image.png --reveal
```
random-quotes-generator 0.1.0
A Python package to generate random famous quotes for inspiration.
Requires Python: >=3.10,<4.0

# random-quotes-generator

A Python package to generate random quotes.

## Introduction

The `random-quotes-generator` package is designed to provide users with a simple and easy way to generate famous random quotes. By using this package, you can easily integrate random quotes into your Python projects.

## Installation

To install the package, use the following command:

```bash
pip install random-quotes-generator
```

## Usage

Import the `random_quotes_generator` module and call the `get_random_quotes()` function:

```python
import random_quotes_generator

quote = random_quotes_generator.get_random_quotes()
print(quote)
```

## Example

Here's an example of how to use the `random_quotes_generator` package:

```python
import random_quotes_generator


quote = random_quotes_generator.get_random_quotes()
print("Random Quote:")
print(quote)
```

## Contributing

We welcome contributions from the community. If you have any suggestions, bug reports, or feature requests, please create an issue or submit a pull request.

## Acknowledgment

Special thanks to [Seun Fashina](https://github.com/SeunFashina002) for developing this package.

## License

The MIT License (MIT)

Copyright (c) 2023 Seun Fashina

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
mkdocs-labeled-user-defined-values 1.0.5
An enhanced version of mkdocs-user-defined-values. Keywords can now be categorized.
Requires Python: >=3, <4
Keywords: mkdocs plugin multiple user defined value

# mkdocs-labeled-user-defined-values

This is a plugin for a MkDocs which allows pages to have user defined input values.

The difference with the original mkdocs-user-defined-values is the capability to categorize keywords.

## Setup

Install the plugin using pip:

`pip install mkdocs-labeled-user-defined-values`

Activate the plugin in `mkdocs.yml`:

```yaml
plugins:
  - search
  - user-defined-values:
      input-placeholder: "{{{user-defined-values}}}"
      keywords:
        cat1:
          YOUR_AWS_REGION:
            placeholder: e.g. ap-southeast-2
          YOUR_AWS_ACCOUNT_ID:
            placeholder: e.g. 12355224536
        cat2:
          ANOTHER_KEYWORD:
            label: any label that I want to display
            placeholder: e.g. any placeholder that I want to display
```

> **Note:** If you have no `plugins` entry in your config file yet, you'll likely also want to add the `search` plugin. MkDocs enables it by default if there is no `plugins` entry set, but now you have to enable it explicitly.

More information about plugins in the [MkDocs documentation][mkdocs-plugins].

## Config

- `keywords` - This is a list of keywords which you want to allow a user to modify.
- `input-placeholder` - This is a placeholder where you want the plugin to generate the form for user to provide dynamic values for each keyword. Default value is `{{{user-defined-values}}}`.
Please note that appart from `keywords` and *category names* (`cat1` and `cat2` in the above example), most of the parameters are optional.

## Usage

- Provide a list of `keywords` you want a user to provide dynamically.
- Place `{{{user-defined-values}}}` in your page or template where you want to generate the form for user to provide dynamic values.
- You can replace *category names* by any name you desire.

## See Also

More information about templates [here][mkdocs-template].

More information about blocks [here][mkdocs-block].

[mkdocs-plugins]: http://www.mkdocs.org/user-guide/plugins/
[mkdocs-template]: https://www.mkdocs.org/user-guide/custom-themes/#template-variables
[mkdocs-block]: https://www.mkdocs.org/user-guide/styling-your-docs/#overriding-template-blocks