Skip to main content
Change of provenance

The repository or configuration that created this release differ from a previous release. View details.

appsocom (Python)

Python server SDK for Appsocom Live: mint join tokens, manage rooms and participants, moderate and verify webhooks. Python 3.9+, standard library only.

pip install appsocom
import os
from appsocom import SfuKit, SfuKitError, verify_webhook

kit = SfuKit("https://api.appsocom.dev", os.environ["APPSOCOM_API_KEY"])  # project API key from the console

tok = kit.create_token("class-1", "u_7", name="Ada", role="student", metadata={"seat": 3})
tok["token"], tok["expiresAt"]

kit.set_role("class-1", "u_9", "student")             # promote an observer
kit.mute("class-1", "*", ["mic"], lock=True)          # mute everyone, keep them muted
kit.set_room_metadata("class-1", {"topic": "Fractions"})
kit.set_track_permissions("class-1", "u_7", {"allowAll": False, "allow": [{"userId": "u_1"}]})
kit.remove_participant("class-1", "u_8", ban=True)

Errors raise SfuKitError with .status and .body.

Webhooks (Flask):

@app.post("/appsocom-webhooks")
def hook():
    event = verify_webhook(os.environ["APPSOCOM_WEBHOOK_SECRET"], request.get_data(), request.headers.get("X-SfuKit-Signature"))
    if event is None:
        return "", 401
    print(event["event"], event["roomId"])
    return "", 204

All methods: create_token, get_room, list_participants, update_room, set_room_metadata, lock_room, close_room, update_participant, set_permissions, set_role, set_participant_metadata, set_track_permissions, remove_participant, unban, mute, admit, post_chat, lower_hands, get_attendance, get_attendance_csv, clear_attendance, start_breakouts, end_breakouts, move_to_group, health, request(). Standalone: sign_token, verify_webhook, sign_webhook.

Self-hosting your own deployment instead? Point url at it and pass its admin key; the optional jwt_secret signs tokens locally without an HTTP call.

Docs: docs.appsocom.dev · License: MIT

Metadata

Release files for appsocom 0.6.0

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

Change of provenance

The repository or configuration that created these release files differ from that of a previous release.

We recommend inspecting the repository and configuration before proceeding. View details.

Source distribution (sdist)

Source distribution for appsocom 0.6.0
File Size Uploaded Provenance Actions
appsocom-0.6.0.tar.gz 12.5 kB With provenance Details for appsocom-0.6.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for appsocom 0.6.0
File Interpreter ABI Platform Actions
appsocom-0.6.0-py3-none-any.whl Python 3 none any Details for appsocom-0.6.0-py3-none-any.whl

Total release size: 22.7 kB

Release files / appsocom-0.6.0.tar.gz

Change of provenance

This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.

We recommend inspecting the repository and configuration before proceeding. View details.

Download URL appsocom-0.6.0.tar.gz
Size 12.5 kB
Tags Source
SHA-256 checksum
How to use checksums
6a2fee16f9c466f8db10ad3fb84eb3a90a52de0816fd152efe77a81b662b429e
BLAKE2b-256 checksum
How to use checksums
1c9f3c8a3a0e945e7ca53deecd8edfec3b1a44fe6469b7c1311384aa3a38598c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Release files / appsocom-0.6.0-py3-none-any.whl

Change of provenance

This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.

We recommend inspecting the repository and configuration before proceeding. View details.

Download URL appsocom-0.6.0-py3-none-any.whl
Size 10.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
93d2c893343552e95d9aeabdeb29ef1c7cd7189c6fe396ca303cdb67d85fcacf
BLAKE2b-256 checksum
How to use checksums
3b5edbd747a1a9007f5bdda67c7e472b712a512fdd631ea0e344cead20e1a79e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Security for appsocom 0.6.0

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.

Change of provenance

The repository and configuration that created this release differ from a previous release.

While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.

Select from 2 files

Attestation for appsocom-0.6.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

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