summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-miditapyr.spec264
-rw-r--r--sources1
3 files changed, 266 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..91f6137 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/miditapyr-0.1.1.tar.gz
diff --git a/python-miditapyr.spec b/python-miditapyr.spec
new file mode 100644
index 0000000..f50c952
--- /dev/null
+++ b/python-miditapyr.spec
@@ -0,0 +1,264 @@
+%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.nju.edu.cn/pypi/web/packages/41/ff/1c77193da7257e617c83dea388f29d522aca5a9885ce3e146aa7d01b4291/miditapyr-0.1.1.tar.gz
+BuildArch: noarch
+
+Requires: python3-mido
+Requires: python3-pandas
+Requires: python3-pytest
+
+%description
+<!-- template from here: https://dbader.org/blog/write-a-great-readme-for-your-github-project -->
+
+# Miditapyr <a href='https://miditapyr.readthedocs.io/'><img src='https://github.com/urswilke/miditapyr/raw/master/docs/source/hex-miditapyr.png' align="right" height="160" /></a>
+> 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 (<https://github.com/UrsWilke/miditapyr/fork>)
+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
+<!-- template from here: https://dbader.org/blog/write-a-great-readme-for-your-github-project -->
+
+# Miditapyr <a href='https://miditapyr.readthedocs.io/'><img src='https://github.com/urswilke/miditapyr/raw/master/docs/source/hex-miditapyr.png' align="right" height="160" /></a>
+> 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 (<https://github.com/UrsWilke/miditapyr/fork>)
+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
+<!-- template from here: https://dbader.org/blog/write-a-great-readme-for-your-github-project -->
+
+# Miditapyr <a href='https://miditapyr.readthedocs.io/'><img src='https://github.com/urswilke/miditapyr/raw/master/docs/source/hex-miditapyr.png' align="right" height="160" /></a>
+> 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 (<https://github.com/UrsWilke/miditapyr/fork>)
+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
+* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.1-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..39d83a9
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+d1b5bab2f1482fe261e42a5a11c702c2 miditapyr-0.1.1.tar.gz