Bottango Playback Interface
Project description
bottango_playback_interface
Control Bottango through its Web API from python
Installation
Install through pip with
pip install bottango_playback_interface
Usage
Start by creating your animations with Bottango. Enable the Web API.
Then from your python script
from bottango_playback_interface import BottangoPlaybackInterface
bpi = BottangoPlaybackInterface("localhost", 59224)
bpi.play_animation(`animation_name_to_play`)
bpi.wait_animation_done()
Methods
bpi.play_animation(`animation_name_to_play`)
bpi.pause_animation()
bpi.get_playback_state()
bpi.wait_animation_done(timeout=`max_wait_time`)
Development
git clone this project
Create a new venv
python3 -m venv --system-site-packages ./venv
Source it
source ./venv/bin/activate
Install all dependancies with poetry
poetry install
Install git hooks
pre-commit install
Upload to pypi
Install twine
pip install twine
Run
twine check dist/*
twine upload dist/*
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for bottango_playback_interface-0.4.2.dev1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 005ce4517e1c46da1ae5730334dedd25e26995bc77d69077fbbd766889ba5836 |
|
MD5 | 222b7e1edc2d47394909580fb21a0a6c |
|
BLAKE2b-256 | c13512f072fbff90d018f9e7aa1159581b9b4253870eef5ddec2560690060356 |
Close
Hashes for bottango_playback_interface-0.4.2.dev1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13fc5196b02ab79667f4420488c027dc6c2807375686b23e92c185db2858526d |
|
MD5 | faa1753b8652db549882421583a5900c |
|
BLAKE2b-256 | 88c16635139476d9158498aaea14ba0782ca78b0cdd2a245c81bfbc206a74e89 |