# zoundcard
This library is using the
[pyaudio](https://people.csail.mit.edu/hubert/pyaudio/) and
[zignal](https://github.com/ronnyandersson/zignal) libraries to play audio on a
soundcard. This code was previously a part of the zignal library but split out
into its own.
## Pre-requisites
This library relies on pyaudio, which depends on the python development headers
and the portaudio development files. On debian/ubuntu,
sudo apt install python3-dev portaudio19-dev
## Installation
It is recommended to create a virtual environment and let pip install the
dependencies automatically.
python3 -m venv <name-of-virtualenv>
. <name-of-virtualenv>/bin/activate
pip install zoundcard
## Local development
Create a python3 virtualenv and install from the local source code to make the
library editable.
python3 -m venv venv_dev
. venv_dev/bin/activate
pip install --editable .[dev]
### Style checks
Validate the imports
isort src/**/*.py --check-only
Show suggested edits
isort src/**/*.py --diff
Style guide enforcement using flake8
flake8 --extend-ignore=E265 --statistics src/
### Unit tests
python -m unittest -v src/tests/test_*.py
## Build a release
python3 -m venv venv_build
. ./venv_build/bin/activate
pip install --upgrade pip build twine
python3 -m build
### Upload packages
Upload to pypi.org using twine
twine upload dist/*
Raw data
{
"_id": null,
"home_page": null,
"name": "zoundcard",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "audio, card, playback, portaudio, pyaudio, recording, sound, soundcard",
"author": null,
"author_email": "Ronny Andersson <ronny@andersson.tk>",
"download_url": "https://files.pythonhosted.org/packages/89/cf/d469b96b3307049e1b13f46231c277dde3a25485609a40a6ab2f0e79b2c0/zoundcard-0.1.0.tar.gz",
"platform": null,
"description": "# zoundcard\n\nThis library is using the\n[pyaudio](https://people.csail.mit.edu/hubert/pyaudio/) and\n[zignal](https://github.com/ronnyandersson/zignal) libraries to play audio on a\nsoundcard. This code was previously a part of the zignal library but split out\ninto its own.\n\n## Pre-requisites\n\nThis library relies on pyaudio, which depends on the python development headers\nand the portaudio development files. On debian/ubuntu,\n\n sudo apt install python3-dev portaudio19-dev\n\n## Installation\n\nIt is recommended to create a virtual environment and let pip install the\ndependencies automatically.\n\n python3 -m venv <name-of-virtualenv>\n . <name-of-virtualenv>/bin/activate\n pip install zoundcard\n\n## Local development\n\nCreate a python3 virtualenv and install from the local source code to make the\nlibrary editable.\n\n python3 -m venv venv_dev\n . venv_dev/bin/activate\n pip install --editable .[dev]\n\n### Style checks\n\nValidate the imports\n\n isort src/**/*.py --check-only\n\nShow suggested edits\n\n isort src/**/*.py --diff\n\nStyle guide enforcement using flake8\n\n flake8 --extend-ignore=E265 --statistics src/\n\n### Unit tests\n\n python -m unittest -v src/tests/test_*.py\n\n## Build a release\n\n python3 -m venv venv_build\n . ./venv_build/bin/activate\n pip install --upgrade pip build twine\n python3 -m build\n\n### Upload packages\n\nUpload to pypi.org using twine\n\n twine upload dist/*\n",
"bugtrack_url": null,
"license": "MIT License",
"summary": "Using the pyaudio and zignal libraries to play audio on a soundcard",
"version": "0.1.0",
"project_urls": {
"Download": "https://pypi.python.org/pypi/zoundcard",
"Homepage": "https://github.com/ronnyandersson/zoundcard",
"Issues": "https://github.com/ronnyandersson/zoundcard/issues"
},
"split_keywords": [
"audio",
" card",
" playback",
" portaudio",
" pyaudio",
" recording",
" sound",
" soundcard"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "9d31f9e0c10f9b4c8b437e1a51df659eb8c11a87c7b7306e11e700c6ccb84ab3",
"md5": "f0378c38aa97c574c492040f01f62db0",
"sha256": "fe3ca6a1a9d160c55721e29440af0644cb616cc44f5dccb88a83a9a3531cfd31"
},
"downloads": -1,
"filename": "zoundcard-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "f0378c38aa97c574c492040f01f62db0",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 8337,
"upload_time": "2024-05-02T14:15:25",
"upload_time_iso_8601": "2024-05-02T14:15:25.318444Z",
"url": "https://files.pythonhosted.org/packages/9d/31/f9e0c10f9b4c8b437e1a51df659eb8c11a87c7b7306e11e700c6ccb84ab3/zoundcard-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "89cfd469b96b3307049e1b13f46231c277dde3a25485609a40a6ab2f0e79b2c0",
"md5": "a5609f5719c24747af58eac0aa8378eb",
"sha256": "50e557ca84e2fc65cfaf17dc0627974a49bd9d27ee3b44d7f43f8cdf6fc45de3"
},
"downloads": -1,
"filename": "zoundcard-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "a5609f5719c24747af58eac0aa8378eb",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 9279,
"upload_time": "2024-05-02T14:15:27",
"upload_time_iso_8601": "2024-05-02T14:15:27.817852Z",
"url": "https://files.pythonhosted.org/packages/89/cf/d469b96b3307049e1b13f46231c277dde3a25485609a40a6ab2f0e79b2c0/zoundcard-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-02 14:15:27",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "ronnyandersson",
"github_project": "zoundcard",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "zoundcard"
}