fortepyan


Namefortepyan JSON
Version 0.2.8 PyPI version JSON
download
home_page
SummaryProcess MIDI piano with (almost) no pain
upload_time2024-01-16 17:48:04
maintainer
docs_urlNone
author
requires_python>=3.9
license
keywords midi music piano
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Fortepyan :musical_keyboard:
![GitHub CI](https://github.com/Nospoko/Fortepyan/actions/workflows/ci_tests.yaml/badge.svg?branch=master) [![Python 3.9](https://img.shields.io/badge/python-3.9+-blue.svg)](https://www.python.org/downloads) [![PyPI version](https://img.shields.io/pypi/v/fortepyan.svg)](https://pypi.org/project/fortepyan/) [![PyPI download month](https://img.shields.io/pypi/dm/fortepyan.svg)](https://pypi.org/project/fortepyan/)

### Usage

```python
import fortepyan as ff

piece = ff.MidiPiece.from_file("mymidi.mid")

ff.view.draw_pianoroll_with_velocities(piece)
ff.view.make_piano_roll_video(piece, "tmp.mp4")
```

### Development

Pre-commit hooks with forced python formatting ([black](https://github.com/psf/black), [flake8](https://flake8.pycqa.org/en/latest/), and [isort](https://pycqa.github.io/isort/)):

```sh
pip install pre-commit
pre-commit install
```

Whenever you execute `git commit` the files altered / added within the commit will be checked and corrected. `black` and `isort` can modify files locally - if that happens you have to `git add` them again.
You might also be prompted to introduce some fixes manually.

To run the hooks against all files without running `git commit`:

```sh
pre-commit run --all-files
```

Package release:
```sh
# from the root directory with clean working tree
# replace patch with one of: [major, minor, patch]
./scripts/release/start_release.sh patch
# Make any additional changes to the release commit
./scripts/release/finish_release.sh
```

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "fortepyan",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": "",
    "keywords": "midi,music,piano",
    "author": "",
    "author_email": "Piano For AI <roszcz+fortepyan@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/68/d9/ee9edf60f884676de1d5c290a8bc44bb4bc7d626df70024bb890ef450851/fortepyan-0.2.8.tar.gz",
    "platform": null,
    "description": "# Fortepyan :musical_keyboard:\n![GitHub CI](https://github.com/Nospoko/Fortepyan/actions/workflows/ci_tests.yaml/badge.svg?branch=master) [![Python 3.9](https://img.shields.io/badge/python-3.9+-blue.svg)](https://www.python.org/downloads) [![PyPI version](https://img.shields.io/pypi/v/fortepyan.svg)](https://pypi.org/project/fortepyan/) [![PyPI download month](https://img.shields.io/pypi/dm/fortepyan.svg)](https://pypi.org/project/fortepyan/)\n\n### Usage\n\n```python\nimport fortepyan as ff\n\npiece = ff.MidiPiece.from_file(\"mymidi.mid\")\n\nff.view.draw_pianoroll_with_velocities(piece)\nff.view.make_piano_roll_video(piece, \"tmp.mp4\")\n```\n\n### Development\n\nPre-commit hooks with forced python formatting ([black](https://github.com/psf/black), [flake8](https://flake8.pycqa.org/en/latest/), and [isort](https://pycqa.github.io/isort/)):\n\n```sh\npip install pre-commit\npre-commit install\n```\n\nWhenever you execute `git commit` the files altered / added within the commit will be checked and corrected. `black` and `isort` can modify files locally - if that happens you have to `git add` them again.\nYou might also be prompted to introduce some fixes manually.\n\nTo run the hooks against all files without running `git commit`:\n\n```sh\npre-commit run --all-files\n```\n\nPackage release:\n```sh\n# from the root directory with clean working tree\n# replace patch with one of: [major, minor, patch]\n./scripts/release/start_release.sh patch\n# Make any additional changes to the release commit\n./scripts/release/finish_release.sh\n```\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Process MIDI piano with (almost) no pain",
    "version": "0.2.8",
    "project_urls": {
        "Homepage": "https://github.com/Nospoko/fortepyan"
    },
    "split_keywords": [
        "midi",
        "music",
        "piano"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5fa1689d27b86e982b8875671a3b03dbcc19155eb69f366d9af7eaaa64d6a532",
                "md5": "e35c06347a00601e89af0783b67b65ca",
                "sha256": "37f95065e5508341363a0b7102a6858069c67ad7997eef3b617560552f5ec71f"
            },
            "downloads": -1,
            "filename": "fortepyan-0.2.8-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e35c06347a00601e89af0783b67b65ca",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 41154,
            "upload_time": "2024-01-16T17:48:02",
            "upload_time_iso_8601": "2024-01-16T17:48:02.079265Z",
            "url": "https://files.pythonhosted.org/packages/5f/a1/689d27b86e982b8875671a3b03dbcc19155eb69f366d9af7eaaa64d6a532/fortepyan-0.2.8-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "68d9ee9edf60f884676de1d5c290a8bc44bb4bc7d626df70024bb890ef450851",
                "md5": "57137fb77f07cd1f5405be9dba9134db",
                "sha256": "01b5afbacfc8366f0d48f7577fa268b80f2a4c4c6fec2f63933943680d1257c7"
            },
            "downloads": -1,
            "filename": "fortepyan-0.2.8.tar.gz",
            "has_sig": false,
            "md5_digest": "57137fb77f07cd1f5405be9dba9134db",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 34126,
            "upload_time": "2024-01-16T17:48:04",
            "upload_time_iso_8601": "2024-01-16T17:48:04.238584Z",
            "url": "https://files.pythonhosted.org/packages/68/d9/ee9edf60f884676de1d5c290a8bc44bb4bc7d626df70024bb890ef450851/fortepyan-0.2.8.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-16 17:48:04",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Nospoko",
    "github_project": "fortepyan",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "fortepyan"
}
        
Elapsed time: 0.16326s