Flask-OpenVidu
Adds OpenVidu support to your Flask application through PyOpenVidu.
Free software: MIT license
Documentation: https://flask-openvidu.readthedocs.io.
Simple example
A basic Flask app that lists the currently active sessions on the server:
from flask import Flask
from flask_openvidu import OpenVidu
app = Flask(__name__)
app.config["OPENVIDU_URL"] = "https://example.com:4443/"
app.config["OPENVIDU_SECRET"] = "your_secret"
ov = OpenVidu(app)
@app.route('/sessions')
def sessions():
text = ""
for session in ov.connection.sessions:
text += session.id + "\n"
return text
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.1.0 (2020-04-29)
First release on PyPI.
Release files for flask-openvidu 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| flask-openvidu-0.1.0.tar.gz | 11.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| flask_openvidu-0.1.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 16.3 kB
Release files / flask-openvidu-0.1.0.tar.gz
| Download URL | flask-openvidu-0.1.0.tar.gz |
|---|---|
| Size | 11.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3756c35e866a4ecaae0fb5f475e48a6254c9650fe5e0ce6e1e0b41df8731a25e
|
|
BLAKE2b-256 checksum How to use checksums |
4c69bb88fc6d9d3594d5ae5d27f287ff73406b0a7d77bf68b5a354bd6a2c6569
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0
|
Release files / flask_openvidu-0.1.0-py2.py3-none-any.whl
| Download URL | flask_openvidu-0.1.0-py2.py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
40e8d3b0578b9b76518d6a56cbec7c62ef4bcc125ab842caec610c9f128868a8
|
|
BLAKE2b-256 checksum How to use checksums |
4bfcc64ee48fbacc5dad2143e88b36dc6787bb6cd54c14fb13eee849c761a74f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0
|