Skip to main content

bigbluebutton-python

PyPI

Python client for the BigBlueButton API, tested against BigBlueButton 4.0 and compatible with 2.4 and later.

Installation

pip install bigbluebutton-python

The import name is bigbluebutton_api_python, so code written against the older package keeps working.

Quick start

from bigbluebutton_api_python import BigBlueButton

# The secret comes from `bbb-conf --secret`.
bbb = BigBlueButton("https://bbb.example.com/bigbluebutton/api/", "your-shared-secret")
# BBB >= 2.5 also accepts checksum_algorithm="sha256" (or sha384 / sha512).

print(bbb.get_api_version().get_version())

bbb.create_meeting("room-1", params={"name": "Daily standup", "record": True}, meta={"team": "core"})

moderator_url = bbb.get_join_meeting_url("Alice", "room-1", role=BigBlueButton.MODERATOR)
viewer_url = bbb.get_join_meeting_url("Bob", "room-1", role=BigBlueButton.VIEWER)

bbb.send_chat_message("room-1", "Welcome!")  # BBB >= 3.0
info = bbb.get_meeting_info("room-1").get_meetinginfo()
bbb.end_meeting("room-1")

Presentations

from bigbluebutton_api_python.parameters import BBBModule

slides = BBBModule()
slides.add_slide(BBBModule.URL, "https://example.com/deck.pdf")
slides.add_slide(BBBModule.FILE, "local/agenda.pdf")

bbb.create_meeting("room-1", slides=slides)  # preload slides when the meeting is created
bbb.insert_document("room-1", slides)        # add slides to a meeting that is already running

Recordings

for rec in bbb.get_recordings(meeting_id="room-1").get_recordings():
    print(rec.get_recordid(), rec.get_name())

bbb.publish_recordings("record-id", publish=False)
bbb.update_recordings("record-id", meta={"title": "Renamed"})
bbb.get_recording_text_tracks("record-id")
bbb.put_recording_text_track("record-id", kind="subtitles", lang="en_US", label="English", file_path="en.vtt")
bbb.delete_recordings("record-id")

Async

AsyncBigBlueButton takes the same arguments and has the same methods. Each API call is a coroutine, so it does not block the event loop. get_join_meeting_url only builds a string, so it stays a normal call.

import asyncio
from bigbluebutton_api_python import AsyncBigBlueButton

async def main():
    bbb = AsyncBigBlueButton("https://bbb.example.com/bigbluebutton/api/", "your-shared-secret")
    await bbb.create_meeting("room-1")
    running, meetings = await asyncio.gather(bbb.is_meeting_running("room-1"), bbb.get_meetings())
    print(running.is_meeting_running(), meetings.get_meetings())

asyncio.run(main())

A request that fails raises bigbluebutton_api_python.exception.BBBException. Its .key attribute holds the BBB messageKey.

Supported endpoints

create, join, end, isMeetingRunning, getMeetingInfo, getMeetings, insertDocument, sendChatMessage, getRecordings, publishRecordings, deleteRecordings, updateRecordings, getRecordingTextTracks, putRecordingTextTrack, getAttendance.

Upgrading from 0.0.x

  • setConfigXML and getDefaultConfigXML are gone. BigBlueButton itself removed them in 2.4.
  • Joining with role= is preferred over the deprecated password. end_meeting no longer needs a password.
  • Python 3.10 or newer is required.

Development

pip install -e .
python -m unittest discover -s tests

Releasing

Pushing a v* tag runs the tests and publishes to PyPI through GitHub Actions (Trusted Publishing).

License

LGPL-3.0-or-later

Metadata

Release files for bigbluebutton-python 1.0.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 bigbluebutton-python 1.0.1
File Size Uploaded Provenance Actions
bigbluebutton_python-1.0.1.tar.gz 19.9 kB With provenance Details for bigbluebutton_python-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bigbluebutton-python 1.0.1
File Interpreter ABI Platform Actions
bigbluebutton_python-1.0.1-py3-none-any.whl Python 3 none any Details for bigbluebutton_python-1.0.1-py3-none-any.whl

Total release size: 41.1 kB

Release files / bigbluebutton_python-1.0.1.tar.gz

Download URL bigbluebutton_python-1.0.1.tar.gz
Size 19.9 kB
Tags Source
SHA-256 checksum
How to use checksums
45ace65f90f27dbecde78f37cad27871a126746b46f08f219ceadead316daff5
BLAKE2b-256 checksum
How to use checksums
5f7b7746882e79ec8a0c4491904ad462ac24f8132698790dec697cf5c692fbf4
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 27, 2026.

Transparency log

Release files / bigbluebutton_python-1.0.1-py3-none-any.whl

Download URL bigbluebutton_python-1.0.1-py3-none-any.whl
Size 21.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a36fd2c7ba23d31a755b0da7442627d946d8344795c4583f2d5960a4bb1f7c2b
BLAKE2b-256 checksum
How to use checksums
f86d30adfef0265fabc0d854a45824840fe52c2c81af07d02b7ef0ade3789c75
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 27, 2026.

Transparency log

Security for bigbluebutton-python 1.0.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for bigbluebutton_python-1.0.1.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 27, 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.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files Full provenance

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