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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flask-openvidu-0.1.0.tar.gz (11.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flask_openvidu-0.1.0-py2.py3-none-any.whl (4.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file flask-openvidu-0.1.0.tar.gz.

File metadata

  • Download URL: flask-openvidu-0.1.0.tar.gz
  • Upload date:
  • Size: 11.7 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for flask-openvidu-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3756c35e866a4ecaae0fb5f475e48a6254c9650fe5e0ce6e1e0b41df8731a25e
MD5 22dc4bb6621e53fafda6627dbd4b100f
BLAKE2b-256 4c69bb88fc6d9d3594d5ae5d27f287ff73406b0a7d77bf68b5a354bd6a2c6569

See more details on using hashes here.

File details

Details for the file flask_openvidu-0.1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: flask_openvidu-0.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using 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

File hashes

Hashes for flask_openvidu-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 40e8d3b0578b9b76518d6a56cbec7c62ef4bcc125ab842caec610c9f128868a8
MD5 e7e7dbcaa946fc3815af91e0e8d05af7
BLAKE2b-256 4bfcc64ee48fbacc5dad2143e88b36dc6787bb6cd54c14fb13eee849c761a74f

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page