semvec/pypi-packages huggingface dataset:
cpp-enum-class-string-idl 0.0.4
cpp enum class string idl.
License: MIT

# cpp-enum-class-string-idl

```shell
python3 -m cpp_enum_class_string_idl MyEnums.yaml
```

MyEnums.yaml
```yaml
interfaces:
  - MyEnum.yaml
  - MyOtherEnum.yaml
```

MyEnum.yaml
```yaml
name: MyEnum
type: int
values:
  - Value0
  - Value1
```

MyEnum.h
```cpp
#pragma once

/*
 * generated code from cpp-enum-class-string-idl
 */

enum class MyEnum : int {
    Value0,
    Value1,
    Count
};

const char* enum_to_string(const MyEnum value);
```

MyEnum.cpp
```cpp
#include "MyEnum.h"

/*
 * generated code from cpp-enum-class-string-idl
 */

const char* _MyEnum[] = {
    "Value0",
    "Value1"
};

const char* enum_to_string(const MyEnum value) {
    if (MyEnum::Count == value) {
        return "";
    }

    return _MyEnum[static_cast<int>(value)];
}
```
stochastis 1.0.2
Convert Python code into music to hear algorithms
License: MIT

# Stochastis

> ***Convert Python code into music to hear algorithms***

### About

Pronounced "stoÊŠ-kÃ¦st-Éªs" ("stow" + "cast" + "is" like "miss"), Stochastis was a
small experiment in figuring out if it would be possible to hear what a given
algorithm sounds like. However, the goal was accomplished in a much more general
fashion. Instead of only algorithms, Stochastis converts each function
in a Python module to its corresponding bytecode which it then converts to MIDI
notes along a predefined scale. It then generates a MIDI file from them or plays
them upon generation.

### Installation

```python
$ pip install stochastis
$ pip install git+https://github.com/Pebaz/stochastis
```

### Usage

```python
$ stochastis foo.mid                     # Play from file
$ stochastis some_file.py                # Generate and play from file
$ stochastis some_file.py --out foo.mid  # Generate only
```

### Conclusion

What was accomplished in this experiment is just a small inkling of the amount
of potential this has for pleasing music being generated from a given codebase.

Some ideas for extensions include:

* Identifying patterns in bytecode to produce familiar stanzas
* Performing analysis on the bytecode of functions to identify patterns so that
pre-built sequences of notes can be grafted into the output
* Clearer rules for what is generated based on what is actually written in
Python code
* Integration with better sounding synthesizers
* Layered tracks with multiple intstruments playing at once (drums, etc.)
* Converting program control flow into sections of a given song
PIL-Tools 1.1.0
An extension module for Pillow to add functions that help simplify some processes.
License: MIT
Requires Python: >=3.6

PIL-Tools
=========
##### Created by Steven Shrewsbury (stshrewsburyDev)

[![downloads](https://pepy.tech/badge/PIL-Tools)](https://pepy.tech/project/PIL-Tools)
[![python version](https://img.shields.io/pypi/pyversions/PIL-Tools.svg)](https://pypi.python.org/pypi/PIL-Tools)
[![version](https://img.shields.io/pypi/v/PIL-Tools.svg)](https://pypi.python.org/pypi/PIL-Tools)
[![license](https://img.shields.io/pypi/l/PIL-Tools.svg)](https://pypi.python.org/pypi/PIL-Tools)
[![documentation status](https://readthedocs.org/projects/pil-tools/badge/?version=latest)](https://pil-tools.readthedocs.io/en/latest/?badge=latest)

An extension module for [Pillow](https://github.com/python-pillow/Pillow "Pillow GitHub repo") to add functions that help simplify some processes.

Change logs:
------------
[Latest changelogs](https://pil-tools.readthedocs.io/en/latest/releasenotes/1.1.0.html)

Notices:
-------
* This module is still a work in progress, I plan to more features in the future but please don't expect quick updates as I have college work, personal life and other projects I work on at the same time as this one.
* This module was designed to be used with Pillow (the fork of PIL) and not the original PIL module, chances are this module will not work with it.
* This module was designed for Pillow 8.2.0 but may work with older/newer versions, use at your own risk however.

Installation:
-------------

###### Install with pip:
```
pip install PIL-Tools
```

###### Update with pip:
```
pip install PIL-Tools --upgrade
```

###### Install from source:
```
python setup.py install
```

###### Install async support:

Refer to the aiohttp install docs found [Here](https://docs.aiohttp.org/en/stable/#library-installation)

Links:
------
* [GitHub repo](https://github.com/stshrewsburyDev/PIL-Tools/)
* [PyPi project page](https://pypi.org/project/PIL-Tools/)
* [Documentation](https://pil-tools.readthedocs.io/en/latest/)
* [My website](https://stshrewsburydev.github.io/)