# pianopy
A python library/application to play, compose and interface with virtual and
real pianos using MIDI.
## Run tests, build, publish
1. Run the unittests:
`make test`
2. Build the package as a wheel:
`make build`
3. Publish the package to pypi
`make publish`
## Development setup
1. Make sure prerequisites are installed
2. Clone the git repo:
`git clone https://github.com/PeterPyPan/pianopy`
3. Use make to setup the dev environment:
```
# This sets up a venv in ./.venv using poetry and installs the pre-commit hooks.
make setup
```
## Prerequisites
1. Install `poetry`
Verify the poetry installation using:
`poetry --version`
Installation instructions: https://python-poetry.org/docs/#installation.
2. Install `make`
Verify the make installation using:
`make --version`
```
# Installation for OSX
# remove previous installation of command line tools
rm -rf /Library/Developer/CommandLineTools/
# install command line tools
xcode-select --install
# setup command line tools
sudo xcode-select --switch /Library/Developer/CommandLineTools/
```
Raw data
{
"_id": null,
"home_page": "https://github.com/PeterPyPan/pianopy",
"name": "pianopy",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8,<4.0",
"maintainer_email": "",
"keywords": "piano,music,game",
"author": "PeterPyPan",
"author_email": "PeterPyPanGitHub@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/9e/55/c3ec9dcce3330b1a99eeed4728cb01b3a531a0fcfbeba0b17a528abbb183/pianopy-0.0.1.tar.gz",
"platform": null,
"description": "# pianopy\nA python library/application to play, compose and interface with virtual and \nreal pianos using MIDI.\n\n## Run tests, build, publish\n1. Run the unittests: \n`make test`\n2. Build the package as a wheel: \n`make build`\n3. Publish the package to pypi\n`make publish`\n\n## Development setup\n1. Make sure prerequisites are installed\n2. Clone the git repo: \n`git clone https://github.com/PeterPyPan/pianopy`\n3. Use make to setup the dev environment:\n```\n# This sets up a venv in ./.venv using poetry and installs the pre-commit hooks. \nmake setup\n```\n\n## Prerequisites\n1. Install `poetry` \nVerify the poetry installation using: \n`poetry --version` \nInstallation instructions: https://python-poetry.org/docs/#installation.\n\n2. Install `make`\nVerify the make installation using: \n`make --version` \n\n```\n# Installation for OSX\n# remove previous installation of command line tools\nrm -rf /Library/Developer/CommandLineTools/\n# install command line tools\nxcode-select --install\n# setup command line tools\nsudo xcode-select --switch /Library/Developer/CommandLineTools/\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A python library/application to play, compose and interface with virtual and real pianos using MIDI.",
"version": "0.0.1",
"split_keywords": [
"piano",
"music",
"game"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "822798f7ef395fb58d78562acc8bb154aeb37b99c53aef32273a35284a4693e0",
"md5": "3e53a3e76cbb302ad5f53e6ab6ec4e76",
"sha256": "be6c693c20bc2f75f60a3c1cc45c5c91bd7712e0a439589b0dedd45630008e08"
},
"downloads": -1,
"filename": "pianopy-0.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "3e53a3e76cbb302ad5f53e6ab6ec4e76",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8,<4.0",
"size": 5938,
"upload_time": "2023-01-09T00:02:29",
"upload_time_iso_8601": "2023-01-09T00:02:29.187568Z",
"url": "https://files.pythonhosted.org/packages/82/27/98f7ef395fb58d78562acc8bb154aeb37b99c53aef32273a35284a4693e0/pianopy-0.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "9e55c3ec9dcce3330b1a99eeed4728cb01b3a531a0fcfbeba0b17a528abbb183",
"md5": "b1fb8b405876dc512495641fce2ef498",
"sha256": "84ac769fa5f8906e5c9e423927acc5f45c55aa0360f1934cd831cb76275bb362"
},
"downloads": -1,
"filename": "pianopy-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "b1fb8b405876dc512495641fce2ef498",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8,<4.0",
"size": 5560,
"upload_time": "2023-01-09T00:02:30",
"upload_time_iso_8601": "2023-01-09T00:02:30.478633Z",
"url": "https://files.pythonhosted.org/packages/9e/55/c3ec9dcce3330b1a99eeed4728cb01b3a531a0fcfbeba0b17a528abbb183/pianopy-0.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-01-09 00:02:30",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "PeterPyPan",
"github_project": "pianopy",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "pianopy"
}