brainframe-api 0.27.0.dev2
pip install brainframe-api==0.27.0.dev2
Released:
Provides a Python wrapper around the BrainFrame REST API.
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: BSD License (BSD-3-Clause)
- Author: Aotu
- Requires: Python >=3.6, <4.0
Classifiers
- License
- Programming Language
- Topic
Project description
This library is a Python wrapper around the BrainFrame REST API. It allows for easy interaction with a BrainFrame server.
from brainframe.api import BrainFrameAPI, bf_codecs
# Connect to the server
api = BrainFrameAPI("http://localhost")
# Create a new IP camera stream
stream_config = api.set_stream_configuration(
bf_codecs.StreamConfiguration(
name="New Stream",
connection_type=bf_codecs.ConnType.IP_CAMERA,
connection_options={"url": "rtsp://192.168.1.100"},
runtime_options={},
))
api.start_analyzing(stream_config.id)
# Get results
analysis_results = api.get_latest_zone_statuses()
Installation
The BrainFrame Python API is available on PyPI and can be installed with pip. Install the version of the library that matches the version of BrainFrame that you are using. For example, if you are using BrainFrame version 0.26.1:
pip3 install brainframe-api==0.26.1
Documentation
Documentation for this library is available on ReadTheDocs.
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: BSD License (BSD-3-Clause)
- Author: Aotu
- Requires: Python >=3.6, <4.0
Classifiers
- License
- Programming Language
- Topic
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
File details
Details for the file brainframe-api-0.27.0.dev2.tar.gz
.
File metadata
- Download URL: brainframe-api-0.27.0.dev2.tar.gz
- Upload date:
- Size: 28.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.6.12 Linux/4.15.0-1077-aws
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3c6a27d45163d5157571b5270c52e83aeb80474c2053dda5ab153648f2e301a |
|
MD5 | d8b59035fad66c08b10c4cad159ea0ab |
|
BLAKE2b-256 | dd31506075efa37635fce68a9352b69fe57451f3261c50a47a48c460cbd01436 |
File details
Details for the file brainframe_api-0.27.0.dev2-py3-none-any.whl
.
File metadata
- Download URL: brainframe_api-0.27.0.dev2-py3-none-any.whl
- Upload date:
- Size: 42.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.6.12 Linux/4.15.0-1077-aws
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a32e487b673b88c09dddc89c8af1110ec1eb16fdfb8d59c21b3fc2ea4d0bea1e |
|
MD5 | b86c9ded102294bf349d409bc26dc576 |
|
BLAKE2b-256 | 74a6e87645636c613efc35c766647260002fd69bcd76b049c9d9a5f75e307eba |