Skip to main content

zoundcard

This library is using the pyaudio and 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/*

Release files for zoundcard 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zoundcard 0.1.0
File Size Uploaded
zoundcard-0.1.0.tar.gz 9.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for zoundcard 0.1.0
File Interpreter ABI Platform
zoundcard-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 17.6 kB

Release files / zoundcard-0.1.0.tar.gz

Download URL zoundcard-0.1.0.tar.gz
Size 9.3 kB
Tags Source
SHA-256 checksum
How to use checksums
50e557ca84e2fc65cfaf17dc0627974a49bd9d27ee3b44d7f43f8cdf6fc45de3
BLAKE2b-256 checksum
How to use checksums
89cfd469b96b3307049e1b13f46231c277dde3a25485609a40a6ab2f0e79b2c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.12

Release files / zoundcard-0.1.0-py3-none-any.whl

Download URL zoundcard-0.1.0-py3-none-any.whl
Size 8.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fe3ca6a1a9d160c55721e29440af0644cb616cc44f5dccb88a83a9a3531cfd31
BLAKE2b-256 checksum
How to use checksums
9d31f9e0c10f9b4c8b437e1a51df659eb8c11a87c7b7306e11e700c6ccb84ab3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.12

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page