py-canberra
py-canberra is a Python interface to the libcanberra sound-playing library for Linux.
Full documentation is available here
Dependencies
The only dependency is libcanberra, which can usually be installed from your package repository as libcanberra.
# Ubuntu
apt install libcanberra0
# RHEL / CentOS
yum install libcanberra
# Arch
pacman -S libcanberra
Installation
py-canberra includes binary distributions for many platforms through PyPI
pip install py-canberra
Quickstart
Oftentimes, if libcanberra is installed, some default system sounds will be installed to /usr/share/sounds, including a bell sound
import canberra
canberra.play(event_id='bell')
import time
time.sleep(0.5) # wait for the sound to finish playing
This plays /usr/share/sounds/freedesktop/stereo/bell.oga on the default output device.
Metadata
Release files for py-canberra 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| py-canberra-0.0.4.tar.gz | 75.0 kB | Without provenance | Details for py-canberra-0.0.4.tar.gz |
Built distributions (wheels)
Total release size: 2.1 MB
Release files / py-canberra-0.0.4.tar.gz
| Download URL | py-canberra-0.0.4.tar.gz |
|---|---|
| Size | 75.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0f68edb740ed8cf46aac60b5b90bd01f1e6d3d8650ffe172cde23c5848a969f0
|
|
BLAKE2b-256 checksum How to use checksums |
f71fb49d083e782c51e802d0e24eddb74c158420dc303fa1c63a007b4e8c9a0b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.8.0 tqdm/4.46.0 CPython/3.8.0
|
Release files / py_canberra-0.0.4-cp38-cp38-manylinux2014_x86_64.whl
| Download URL | py_canberra-0.0.4-cp38-cp38-manylinux2014_x86_64.whl |
|---|---|
| Size | 249.2 kB |
| Tags | CPython 3.8 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
59967df746730e2a798b40219eec7a2be3de0e977b55066f628e12928dda3283
|
|
BLAKE2b-256 checksum How to use checksums |
1a4a70c7594a85139bdac68c8ca298a754f1090af62a4bed3b2069cd22db6d46
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.8.0 tqdm/4.46.0 CPython/3.8.0
|
Release files / py_canberra-0.0.4-cp38-cp38-manylinux2014_i686.whl
| Download URL | py_canberra-0.0.4-cp38-cp38-manylinux2014_i686.whl |
|---|---|
| Size | 241.1 kB |
| Tags | CPython 3.8 Linux glibc 2.17+ x86-32 |
|
SHA-256 checksum How to use checksums |
d2a6ed75c9331bde5fe255ee4719922e546c487428292ce6dfe27bff52e26e00
|
|
BLAKE2b-256 checksum How to use checksums |
763399824fcb5ef3c5744bb6080b61137e9771dbaed6de87873102e7ee563433
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.8.0 tqdm/4.46.0 CPython/3.8.0
|
Release files / py_canberra-0.0.4-cp38-cp38-manylinux1_i686.whl
| Download URL | py_canberra-0.0.4-cp38-cp38-manylinux1_i686.whl |
|---|---|
| Size | 241.1 kB |
| Tags | CPython 3.8 Linux glibc 2.5+ x86-32 |
|
SHA-256 checksum How to use checksums |
f8b30f9c3fac56e4e6d59b0385da85687556870f6784422a341bd9bea63ff00f
|
|
BLAKE2b-256 checksum How to use checksums |
99844514f6dcf5226ab557336cf0de478ac1d0a6878e5cb80c175db81f699b0d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.8.0 tqdm/4.46.0 CPython/3.8.0
|
Release files / py_canberra-0.0.4-cp37-cp37m-manylinux2014_x86_64.whl
| Download URL | py_canberra-0.0.4-cp37-cp37m-manylinux2014_x86_64.whl |
|---|---|
| Size | 214.4 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
900b1de9b3c9eae592e198ba7f087e021ae08d68eecbec00fffdb3e32395b974
|
|
BLAKE2b-256 checksum How to use checksums |
03a1aa56cf85dbb93eb951124af3726b8ffda263d7a42bdaea17b8e9332dee21
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.8.0 tqdm/4.46.0 CPython/3.8.0
|
Release files / py_canberra-0.0.4-cp37-cp37m-manylinux2014_i686.whl
| Download URL | py_canberra-0.0.4-cp37-cp37m-manylinux2014_i686.whl |
|---|---|
| Size | 206.6 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-32 |
|
SHA-256 checksum How to use checksums |
a5398b6c8a63247f92f918a11d62d3e819a598a5e216417d7da7c37aaa04f630
|
|
BLAKE2b-256 checksum How to use checksums |
bab41a6ce07ba8eeda2b2534fa048b7727d15fc49984d05eca99c3d8b6772e45
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.8.0 tqdm/4.46.0 CPython/3.8.0
|
Release files / py_canberra-0.0.4-cp37-cp37m-manylinux1_i686.whl
| Download URL | py_canberra-0.0.4-cp37-cp37m-manylinux1_i686.whl |
|---|---|
| Size | 206.6 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-32 |
|
SHA-256 checksum How to use checksums |
4ad35a41cefd8117316efa1e46d4242599d9af2e2d40f93a843a05d7ee7d09cd
|
|
BLAKE2b-256 checksum How to use checksums |
214fcb97a25d80a81ffc1543c94b874a56d16ebf29ca54b5d207136bdb53723b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.8.0 tqdm/4.46.0 CPython/3.8.0
|
Release files / py_canberra-0.0.4-cp36-cp36m-manylinux2014_x86_64.whl
| Download URL | py_canberra-0.0.4-cp36-cp36m-manylinux2014_x86_64.whl |
|---|---|
| Size | 213.7 kB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
4a3fb1f3a3cc11cb546836d55b8bd9ce6800b67c6273d95084e46ba308d0467a
|
|
BLAKE2b-256 checksum How to use checksums |
7fce97985bf5a78ffe9844c0440ca5d34881e005befcaa3f70fa37b1c92f0dd9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.8.0 tqdm/4.46.0 CPython/3.8.0
|
Release files / py_canberra-0.0.4-cp36-cp36m-manylinux2014_i686.whl
| Download URL | py_canberra-0.0.4-cp36-cp36m-manylinux2014_i686.whl |
|---|---|
| Size | 206.1 kB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.17+ x86-32 |
|
SHA-256 checksum How to use checksums |
5640a8a200ea580c52563d41391bb7ccb3a0cf33aa439193f664e1536032ac20
|
|
BLAKE2b-256 checksum How to use checksums |
1fcba8bbf5eda2a2db27fa5aade9679f9ba95a30fcbae26864f1cd70626aa395
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.8.0 tqdm/4.46.0 CPython/3.8.0
|
Release files / py_canberra-0.0.4-cp36-cp36m-manylinux1_i686.whl
| Download URL | py_canberra-0.0.4-cp36-cp36m-manylinux1_i686.whl |
|---|---|
| Size | 206.1 kB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-32 |
|
SHA-256 checksum How to use checksums |
196934e7be81be96f7d34918e23d02c9e1609d4dbb24a7bf69da56d7a373ea59
|
|
BLAKE2b-256 checksum How to use checksums |
73aaaf720c8e098570942ce8190e7e5c91bea1044568afb865a72ecefa259b62
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.8.0 tqdm/4.46.0 CPython/3.8.0
|
Security for py-canberra 0.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.