semvec/pypi-packages huggingface dataset:
musicjson 0.0.2
Play with sound: compose notes in JSON and play it
License: MIT
Requires Python: >=3.6

# musicJSON

Author: David WANG

- This runs like a midi player: user writes notes in JSON file and listen it.
- Adjust the sound with your knowledge in synthesis

Although there is musicXML files, which are more professional, musicXML is too complicated for human to read.
## Installation:
```bash
pip install musicjson
```

## Usage:
(1) First, you need to create a JSON file with the following format, and save it in the same folder of your program. Assumed its name is 'music.json'

Or, you can go to get a ready JSON file in my homepage:

https://github.com/DavidWang2AI/musicjson/tree/main/data

* Remarks:

 a) tempo: relative speed

 b) band: how many parts, to be played simultaneously

 c) data: the notes: key name followed by length. To make it readable by human, please try to keep each division in a line.

In the following sample, there are 2 parts to be played at the same time.So the total length in time for each of them is equal.
The key names placed in the same square bracket are chord, ie to be played at the same time.
"O" is the rest.

```python
{
  "tempo": 2.1,
  "band": 2,
  "data": [
    [
      ["A4",0.333],["C5",0.333],["E5",0.334],["A5",0.333],["C6",0.333],["E6",0.334],["D6",0.333],["C6",0.333],["B5",0.334],
      ["A5",0.333],["C6",0.333],["E6",0.334],["A6",0.333],["C7",0.333],["E7",0.334],["D7",0.333],["C7",0.333],["B6",0.334],
      ["a6",0.333],["A6",0.333],["g6",0.334],["G6",0.333],["f6",0.333],["F6",0.334],["E6",0.333],["d6",0.333],["D6",0.334],
      ["c6",0.333],["C6",0.333],["B5",0.334],["a5",0.333],["A5",0.333],["g5",0.334],["G5",0.333],["f5",0.333],["F5",0.334],
      ["E5",0.5],["d5",0.5],["E5",0.5],["B4",0.5],["D5",0.5],["C5",0.5]
    ],
    [
      [["E4","C4","A3"],1],["O",1],[["E4","C4","A3"],1],
      [["E4","C4","A3"],1],["O",1],[["E4","C4","A3"],1],
      [["E4","C4","A3"],1],["O",2],
      ["O",2],["O",1],
      ["O",2],["O",1]
    ]
  ]
}
```

(2) Run the following script to play the notes you composed in JSON file ("music.json for this example"):

```python
from musicjson.band import *

b=Band()
b.play('music.json')
```

If you want to save the music into a wav file:
```python
from musicjson.band import *

b=Band()
b.play('music.json', save=True, savefile='music.wav')
```

## About the Author
I am currently in Grade 11 (as of 1st half of 2022). I have great interests in AI trading and real world simulation with C++, Java and Python.
napari-video-cvdask 0.2.1
A Video File Reader that uses OpenCV2 and Dask Arrays
License: MIT
Requires Python: >=3.7

# napari-video-cvdask

[![License](https://img.shields.io/pypi/l/napari-video-cvdask.svg?color=green)](https://github.com/nickdelgrosso/napari-video-cvdask/raw/main/LICENSE)
[![PyPI](https://img.shields.io/pypi/v/napari-video-cvdask.svg?color=green)](https://pypi.org/project/napari-video-cvdask)
[![Python Version](https://img.shields.io/pypi/pyversions/napari-video-cvdask.svg?color=green)](https://python.org)
[![tests](https://github.com/nickdelgrosso/napari-video-cvdask/workflows/tests/badge.svg)](https://github.com/nickdelgrosso/napari-video-cvdask/actions)
[![codecov](https://codecov.io/gh/nickdelgrosso/napari-video-cvdask/branch/main/graph/badge.svg)](https://codecov.io/gh/nickdelgrosso/napari-video-cvdask)
[![napari hub](https://img.shields.io/endpoint?url=https://api.napari-hub.org/shields/napari-video-cvdask)](https://napari-hub.org/plugins/napari-video-cvdask)

A Video File Reader that used to use OpenCV2 and Dask Arrays, and now uses dask-image, which does the same thing but better.  (Pro-tip, never name a package after its dependencies!)

----------------------------------

This [napari] plugin was generated with [Cookiecutter] using [@napari]'s [cookiecutter-napari-plugin] template.


## Installation

You can install `napari-video-cvdask` via [pip]:

    pip install napari-video-cvdask



To install latest development version :

    pip install git+https://github.com/nickdelgrosso/napari-video-cvdask.git


## Contributing

Contributions are very welcome. Tests can be run with [tox], please ensure
the coverage at least stays the same before you submit a pull request.

## License

Distributed under the terms of the [MIT] license,
"napari-video-cvdask" is free and open source software

## Issues

If you encounter any problems, please [file an issue] along with a detailed description.
excel-model-runner 0.1.0
Runs an Excel model (.xlsx) with parameters
License: MIT
Requires Python: >=3.8,<4.0

# excel-model-runner

This tool will take an Excel model (.xlsx), update any parameters as defined in the parameters file
and calculate all cells, resulting in an Excel spreadsheet resembling the original, but with all
formula cells replaced by the calculated values.

The parameter file can be either JSON file or a CSV file in the following format:

<br> 

## Config file

JSON:
```
{
   "Sheet name.Cell1": "Replacement value string",
   "Sheet name.Cell2": Replacement value float
}
```

Example: `params.json`
```
{
    "Variables.C2": "red",
    "Variables.C3": 0.8
}
```

<br> 
<br> 

CSV:
```
Sheet name.Cell1,Replacement value string
Sheet name.Cell2,Replacement value float
```

Example: `params.csv`
```
Variables.C2,red
Variables.C3,0.8
```
NOTE: Do NOT include a header row in the CSV

<br> 
<br> 

## Usage:

```
usage: run-excel-model [-h] [--output_dir OUTPUT_DIR] [--run_dir RUN_DIR] source_file parameter_file

positional arguments:
  source_file           Excel (xlsx) file that contains
  parameter_file        Path to json or csv parameter file

optional arguments:
  -h, --help            show this help message and exit
  --output_dir OUTPUT_DIR
                        Optional output location. (Default: output)
  --run_dir RUN_DIR     Optional directory to store intermediate files. (Default: runs)
```