AMCP (Advanced Media Control Protocol) Client Library
Project description
Python AMCP Client Library
v0.1.0
Introduction
TBD
Installation
pip install amcp_pylib
Usage examples
TBD
Connecting to server
from amcp_pylib.core import Client
client = Client()
client.connect("caspar-server.local", 6969) # defaults to 127.0.0.1, 5250
Sending commands
from amcp_pylib.core import Client
from amcp_pylib.module.query import VERSION, BYE
client = Client()
client.connect()
response = client.send(VERSION(component="server"))
print(response)
response = client.send(BYE())
print(response)
201(VERSION) ['2.0.7.e9fc25a Stable']
0(EMPTY) ['SERVER SENT NO RESPONSE']
All supported protocol commands are listed and documented on CasparCG's wiki pages.
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
amcp_pylib-0.1.2.tar.gz
(19.2 kB
view details)
Built Distribution
File details
Details for the file amcp_pylib-0.1.2.tar.gz
.
File metadata
- Download URL: amcp_pylib-0.1.2.tar.gz
- Upload date:
- Size: 19.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b071917491ef61b5ac1e66574d58cc6a5a9178dc90869712b0e8407b2fd0bf6a |
|
MD5 | 47e63f9494f110403d02f341d2131a30 |
|
BLAKE2b-256 | 62d86e6748779656963537e5f55fe38c781d441efc50655b94a778d04dae7295 |
File details
Details for the file amcp_pylib-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: amcp_pylib-0.1.2-py3-none-any.whl
- Upload date:
- Size: 48.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ac5234b6ced003144318a7aca5696c8698f788a4b1a06b8af2e01492cfcdb24 |
|
MD5 | 2d38529b8cae2395e837f11fcbd0cf01 |
|
BLAKE2b-256 | 82e299457767f0bcd46fad8a4ad8fc08696bb94f2089a8f2dc443f758f204653 |