%global _empty_manifest_terminate_build 0 Name: python-miditapyr Version: 0.1.1 Release: 1 Summary: Tabulate midi data in DataFrames and write back to midi files License: MIT URL: https://github.com/urswilke/miditapyr/ Source0: https://mirrors.aliyun.com/pypi/web/packages/41/ff/1c77193da7257e617c83dea388f29d522aca5a9885ce3e146aa7d01b4291/miditapyr-0.1.1.tar.gz BuildArch: noarch Requires: python3-mido Requires: python3-pandas Requires: python3-pytest %description # Miditapyr > MIDI TAbulation in PYthon (and for R) [![PyPI version](https://badge.fury.io/py/miditapyr.svg)](https://pypi.org/project/miditapyr/) [![codecov](https://img.shields.io/codecov/c/github/urswilke/miditapyr/master.svg?style=flat-square&label=Codecov+Coverage)](https://codecov.io/gh/urswilke/miditapyr) [![Documentation Status](https://readthedocs.org/projects/miditapyr/badge/?version=latest)](https://miditapyr.readthedocs.io/en/latest/?badge=latest) ![gh actions tests](https://github.com/urswilke/miditapyr/actions/workflows/ci.yml/badge.svg) [![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html#experimental) **Work in progress!** This python package can be used to read in midi files (via [mido](https://github.com/mido/mido)) in dataframes. These dataframes can then also be read in in R via the package [pyramidi](https://github.com/urswilke/pyramidi). The dataframes then can be easily modified and visualized. Finally they can be written back to midi files via mido. ![](header.png) ## Installation ```sh pip install miditapyr ``` If you are an R user check out the related R package [pyramidi](https://github.com/urswilke/pyramidi). ## Documentation Documentation can be found [here](https://miditapyr.readthedocs.io/) ## Usage miditapyr provides a `MidiFrames` class. A [jupyter notebook how to use this class](https://miditapyr.readthedocs.io/en/latest/notebooks/midi_frame_usage.html) is shown in the documentation. The low-level functions which this class uses are demonstrated in a notebook for [functions usage](https://miditapyr.readthedocs.io/en/latest/notebooks/functions_usage.html). These notebooks can also be downloaded [from the repo](https://github.com/urswilke/miditapyr/blob/master/docs/source/notebooks/). ## Release History Please find the changelog here: [CHANGELOG.md](https://github.com/urswilke/miditapyr/blob/master/CHANGELOG.md) ## License Distributed under the MIT license. See [``LICENSE``](https://github.com/urswilke/miditapyr/blob/master/LICENSE) for more information. ## Contributing 1. Fork it () 2. Create your feature branch (`git checkout -b feature/fooBar`) 3. Commit your changes (`git commit -am 'commit message text for fooBar'`) 4. Push to the branch (`git push origin feature/fooBar`) 5. Create a new Pull Request %package -n python3-miditapyr Summary: Tabulate midi data in DataFrames and write back to midi files Provides: python-miditapyr BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-miditapyr # Miditapyr > MIDI TAbulation in PYthon (and for R) [![PyPI version](https://badge.fury.io/py/miditapyr.svg)](https://pypi.org/project/miditapyr/) [![codecov](https://img.shields.io/codecov/c/github/urswilke/miditapyr/master.svg?style=flat-square&label=Codecov+Coverage)](https://codecov.io/gh/urswilke/miditapyr) [![Documentation Status](https://readthedocs.org/projects/miditapyr/badge/?version=latest)](https://miditapyr.readthedocs.io/en/latest/?badge=latest) ![gh actions tests](https://github.com/urswilke/miditapyr/actions/workflows/ci.yml/badge.svg) [![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html#experimental) **Work in progress!** This python package can be used to read in midi files (via [mido](https://github.com/mido/mido)) in dataframes. These dataframes can then also be read in in R via the package [pyramidi](https://github.com/urswilke/pyramidi). The dataframes then can be easily modified and visualized. Finally they can be written back to midi files via mido. ![](header.png) ## Installation ```sh pip install miditapyr ``` If you are an R user check out the related R package [pyramidi](https://github.com/urswilke/pyramidi). ## Documentation Documentation can be found [here](https://miditapyr.readthedocs.io/) ## Usage miditapyr provides a `MidiFrames` class. A [jupyter notebook how to use this class](https://miditapyr.readthedocs.io/en/latest/notebooks/midi_frame_usage.html) is shown in the documentation. The low-level functions which this class uses are demonstrated in a notebook for [functions usage](https://miditapyr.readthedocs.io/en/latest/notebooks/functions_usage.html). These notebooks can also be downloaded [from the repo](https://github.com/urswilke/miditapyr/blob/master/docs/source/notebooks/). ## Release History Please find the changelog here: [CHANGELOG.md](https://github.com/urswilke/miditapyr/blob/master/CHANGELOG.md) ## License Distributed under the MIT license. See [``LICENSE``](https://github.com/urswilke/miditapyr/blob/master/LICENSE) for more information. ## Contributing 1. Fork it () 2. Create your feature branch (`git checkout -b feature/fooBar`) 3. Commit your changes (`git commit -am 'commit message text for fooBar'`) 4. Push to the branch (`git push origin feature/fooBar`) 5. Create a new Pull Request %package help Summary: Development documents and examples for miditapyr Provides: python3-miditapyr-doc %description help # Miditapyr > MIDI TAbulation in PYthon (and for R) [![PyPI version](https://badge.fury.io/py/miditapyr.svg)](https://pypi.org/project/miditapyr/) [![codecov](https://img.shields.io/codecov/c/github/urswilke/miditapyr/master.svg?style=flat-square&label=Codecov+Coverage)](https://codecov.io/gh/urswilke/miditapyr) [![Documentation Status](https://readthedocs.org/projects/miditapyr/badge/?version=latest)](https://miditapyr.readthedocs.io/en/latest/?badge=latest) ![gh actions tests](https://github.com/urswilke/miditapyr/actions/workflows/ci.yml/badge.svg) [![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html#experimental) **Work in progress!** This python package can be used to read in midi files (via [mido](https://github.com/mido/mido)) in dataframes. These dataframes can then also be read in in R via the package [pyramidi](https://github.com/urswilke/pyramidi). The dataframes then can be easily modified and visualized. Finally they can be written back to midi files via mido. ![](header.png) ## Installation ```sh pip install miditapyr ``` If you are an R user check out the related R package [pyramidi](https://github.com/urswilke/pyramidi). ## Documentation Documentation can be found [here](https://miditapyr.readthedocs.io/) ## Usage miditapyr provides a `MidiFrames` class. A [jupyter notebook how to use this class](https://miditapyr.readthedocs.io/en/latest/notebooks/midi_frame_usage.html) is shown in the documentation. The low-level functions which this class uses are demonstrated in a notebook for [functions usage](https://miditapyr.readthedocs.io/en/latest/notebooks/functions_usage.html). These notebooks can also be downloaded [from the repo](https://github.com/urswilke/miditapyr/blob/master/docs/source/notebooks/). ## Release History Please find the changelog here: [CHANGELOG.md](https://github.com/urswilke/miditapyr/blob/master/CHANGELOG.md) ## License Distributed under the MIT license. See [``LICENSE``](https://github.com/urswilke/miditapyr/blob/master/LICENSE) for more information. ## Contributing 1. Fork it () 2. Create your feature branch (`git checkout -b feature/fooBar`) 3. Commit your changes (`git commit -am 'commit message text for fooBar'`) 4. Push to the branch (`git push origin feature/fooBar`) 5. Create a new Pull Request %prep %autosetup -n miditapyr-0.1.1 %build %py3_build %install %py3_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/lib64 ]; then find usr/lib64 -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/bin ]; then find usr/bin -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/sbin ]; then find usr/sbin -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %files -n python3-miditapyr -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Fri Jun 09 2023 Python_Bot - 0.1.1-1 - Package Spec generated