Skip to main content

Flask-OpenVidu

https://img.shields.io/pypi/v/flask-openvidu.svg https://img.shields.io/travis/marcsello/flask-openvidu.svg Documentation Status https://api.codacy.com/project/badge/Grade/2e8c279f75694c92892cb732b574e09c

Adds OpenVidu support to your Flask application through PyOpenVidu.

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)

Source distribution for flask-openvidu 0.1.0
File Size Uploaded
flask-openvidu-0.1.0.tar.gz 11.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for flask-openvidu 0.1.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page