https://github.com/colin-nolan/python-shinobi-client
Project description
Shinobi Python Client
A Python client for controlling Shinobi, an open-source video management solution.
Installation
TODO
Usage
User ORM
from shinobi_client import ShinobiUserOrm
user_orm = ShinobiUserOrm(host, port, super_user_token)
user = user_orm.get(email)
users = user_orm.get_all()
user = user_orm.create(email, password)
modified = user_orm.modify(email, password=new_password)
deleted = user_orm.delete(email)
Shinobi Controller
from shinobi_client import start_shinobi
with start_shinobi() as shinobi:
print(shinobi.url)
# Do things with a temporary Shinobi installation
or
from shinobi_client import ShinobiController
controller = ShinobiController()
shinobi = controller.start()
print(shinobi.url)
# Do things with a temporary Shinobi installation
controller.stop()
Development
TODO
Legal
AGPL v3.0. Copyright 2020 Colin Nolan.
I am not affiliated to the development of Shinobi project in any way.
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
shinobi-client-0.1.0.tar.gz
(19.2 kB
view hashes)
Built Distribution
Close
Hashes for shinobi_client-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba8d4cdfb5b7b8246f9db7dfdfbc503d0d7790cfd8497d6fc129778b1089c72e |
|
MD5 | 4f547498e818b510c0694f37a44891bd |
|
BLAKE2b-256 | 8cd281e93947bda25effa0f7a8563779846a5fb600fe6714b40fa6c4055cbed9 |