Skip to main content
https://img.shields.io/pypi/v/django-coturn https://img.shields.io/pypi/pyversions/django-coturn https://img.shields.io/pypi/djversions/django-coturn https://img.shields.io/pypi/wheel/django-coturn https://img.shields.io/discord/773452324692688956 https://img.shields.io/github/workflow/status/bitsy-ai/django-coturn/Test https://img.shields.io/codecov/c/github/bitsy-ai/django-coturn https://img.shields.io/github/release-date-pre/bitsy-ai/django-coturn

Django Coturn is a Django app to synchronize django admins/users with Coturn’s user database. Coturn is an open-source STUN/TURN/ICE server.

https://github.com/coturn/coturn

Quick start

  1. Add “coturn” to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = [
        ...
        "django_coturn",
    ]
  2. Create an empty coturn database

  3. Configure the following in your settings.py:

    DATABASES = {
        ... your default and auxilary database configs
        "coturn": env.db("COTURN_DATABASE_URL")
    }
    
    COTURN_REALM = "turn.example-domain.com"
    COTURN_SECRET_KEY = "127 character secret"
  4. Run python manage.py migrate to create the coturn models.

  5. Run python manage.py sync_coturn {turn_secret,turn_admin,turn_user} to sync users/admin data to coturn tables. You only need to do this once per table - subsequent updates will be handled by Django signals.

Contributor’s Guide

  1. Create a development environment (requires docker & docker-compose):

    make dev
  2. Run tests and generate a coverage report:

    make tests
  3. Run black linter:

    make lint

Metadata

Release files for django-coturn 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-coturn 0.3.1
File Size Uploaded Provenance Actions
django_coturn-0.3.1.tar.gz 11.1 kB Without provenance Details for django_coturn-0.3.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-coturn 0.3.1
File Interpreter ABI Platform Actions
django_coturn-0.3.1-py3-none-any.whl Python 3 none any Details for django_coturn-0.3.1-py3-none-any.whl

Total release size: 36.7 kB

Release files / django_coturn-0.3.1.tar.gz

Download URL django_coturn-0.3.1.tar.gz
Size 11.1 kB
Tags Source
SHA-256 checksum
How to use checksums
6bebaff7247a6d0219b4f2f1c3d4b85114bfc48cf69a185023aa1f4d3e4aef50
BLAKE2b-256 checksum
How to use checksums
4edcf82e1e85fd63e0802074482891eb04a63b3ddf7e12cff7ac92a0199d1bdd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

Release files / django_coturn-0.3.1-py3-none-any.whl

Download URL django_coturn-0.3.1-py3-none-any.whl
Size 25.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0a3c1100f7aae5119192f34eb6588d98b401dad91d05350b0a9246d59276ee0d
BLAKE2b-256 checksum
How to use checksums
106290a7aa6d5bf4b721265dd3df9a4389d74a9e5152a97f8a99151c7c1d9357
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

Security for django-coturn 0.3.1

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.

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