fortepyan


Namefortepyan JSON
Version 0.4.2 PyPI version JSON
download
home_pageNone
SummaryProcess MIDI piano with (almost) no pain
upload_time2024-10-27 13:01:55
maintainerNone
docs_urlNone
authorNone
requires_python>=3.9
licenseNone
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": null,
    "name": "fortepyan",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "midi, music, piano",
    "author": null,
    "author_email": "Piano For AI <roszcz+fortepyan@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/24/d7/89cb83d63e871c9d73ce57a4dbfa3fa5de197e59d383bc45e496439826a2/fortepyan-0.4.2.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": null,
    "summary": "Process MIDI piano with (almost) no pain",
    "version": "0.4.2",
    "project_urls": {
        "Homepage": "https://github.com/Nospoko/fortepyan"
    },
    "split_keywords": [
        "midi",
        " music",
        " piano"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3bad1fafff6c43835d173f96d80d4e23aeab2dd9e00b62fd945633a5ced82622",
                "md5": "3f429c5fa621a431657010887e7b7bf1",
                "sha256": "cf838026c7e5552805e56ef0066f5b176047590d2ec40ed6ab68199a35c1327a"
            },
            "downloads": -1,
            "filename": "fortepyan-0.4.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "3f429c5fa621a431657010887e7b7bf1",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 32058,
            "upload_time": "2024-10-27T13:01:53",
            "upload_time_iso_8601": "2024-10-27T13:01:53.309415Z",
            "url": "https://files.pythonhosted.org/packages/3b/ad/1fafff6c43835d173f96d80d4e23aeab2dd9e00b62fd945633a5ced82622/fortepyan-0.4.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "24d789cb83d63e871c9d73ce57a4dbfa3fa5de197e59d383bc45e496439826a2",
                "md5": "7e39aab75c1c90c1b7fec997f785fe6d",
                "sha256": "e8a304237af9023eb46e3880b0b86f72c55ba42b935cf2f2de6ee905370ddc3d"
            },
            "downloads": -1,
            "filename": "fortepyan-0.4.2.tar.gz",
            "has_sig": false,
            "md5_digest": "7e39aab75c1c90c1b7fec997f785fe6d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 25155,
            "upload_time": "2024-10-27T13:01:55",
            "upload_time_iso_8601": "2024-10-27T13:01:55.033314Z",
            "url": "https://files.pythonhosted.org/packages/24/d7/89cb83d63e871c9d73ce57a4dbfa3fa5de197e59d383bc45e496439826a2/fortepyan-0.4.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-27 13:01:55",
    "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: 1.66342s