README
Blue Iris Python Library
An async python library for the Blue Iris JSON API.
Overview
For more in-depth documentation, visit the documentation.
Creating a BlueIris object requires you provide an async web session for it.
import pyblueiris
from aiohttp import ClientSession
PROTOCOL = 'http'
HOST = 192.168.1.5
USER = 'pyserv'
PASS = 'secret-password'
def main():
async with ClientSession(raise_for_status=True) as sess:
blue = pyblueiris.BlueIris(sess, USER, PASS, PROTOCOL, HOST)
if __name__ == '__main__':
main()
From there you can simply call a command you want it to execute. There is a command update_all_information() which will call all data-gathering commands to fill out information about the server.
def main():
async with ClientSession(raise_for_status=True) as sess:
blue = pyblueiris.BlueIris(sess, USER, PASS, PROTOCOL, HOST)
await blue.update_all_information()
All of the information the BlueIris object knows about the server is stored in the attributes property (dictionary).
print(blue.attributes)
Metadata
Release files for pyblueiris 0.2.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pyblueiris-0.2.11.tar.gz | 13.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyblueiris-0.2.11-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 39.3 kB
Release files / pyblueiris-0.2.11.tar.gz
| Download URL | pyblueiris-0.2.11.tar.gz |
|---|---|
| Size | 13.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eb691335f0781ba63a8dd66206b2eab1f839df1966f16c67d94801f780ff4b71
|
|
BLAKE2b-256 checksum How to use checksums |
b22f0883aac135a7393c8edb1cce3dcf0b21a537ea06ba9162fbdb5574ef5740
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.7.1
|
Release files / pyblueiris-0.2.11-py2.py3-none-any.whl
| Download URL | pyblueiris-0.2.11-py2.py3-none-any.whl |
|---|---|
| Size | 25.8 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
ea6e80e69182e1c98bf91dc4df17968b60f006e37a8db03dd5aab82d6fc95390
|
|
BLAKE2b-256 checksum How to use checksums |
6939018788bc8de5a86ac80b75239bfd502c4eea633b773a87934ab05e2dbe22
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.7.1
|
Security for pyblueiris 0.2.11
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.