A python library to control Volumio.
Project description
PyVolumio
A python interface control Volumio.
Installation
You can install pyvolumio from PyPI:
pip3 install pyvolumio
Python 3.7 and above are supported.
How to use
from pyvolumio import Volumio
v = Volumio("<host>", <port>)
# you can also pass in your own session
v = Volumio("<host>", <port>, <session>)
info = await v.get_system_info()
state = await v.get_state()
await v.play()
await v.pause()
await v.stop()
await v.volume_up()
...
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyvolumio-0.1.5.tar.gz
(4.8 kB
view details)
Built Distribution
File details
Details for the file pyvolumio-0.1.5.tar.gz
.
File metadata
- Download URL: pyvolumio-0.1.5.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13249169451b46f3759622169de917b6ebd769865a899cee01f848a4c4bd6c69 |
|
MD5 | d6df1f73da9f9f440ccebb2a7c390e14 |
|
BLAKE2b-256 | 023658543cc0422bda2af5429d5df85cee810d09b900dbc5bcd2e95bc07b4424 |
File details
Details for the file pyvolumio-0.1.5-py3-none-any.whl
.
File metadata
- Download URL: pyvolumio-0.1.5-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f9fdf45ca2b3cd1bea63cc3b6b8cbcba59a535e1a04be6a62558106dcae13f2 |
|
MD5 | 81d95bd32f19a885bef7ea01f7e03c5d |
|
BLAKE2b-256 | 4edc833a24247a5bda79fa6337c264569cbf42420ed6ce55743ec3c5385ed217 |