bbbmeetings
A Library that helps with reading information regarding Big Blue Button via the BBB-API. The goal of bbbmeetings is to make it easy to generate stats about one or more BBB-Instances.
It was a non-goal to create a full coverage of the BBB-API, for ending meetings, creating meetings, managing recordings etc.
Installation
Via pip
pip install bbbmeetings
Usage
First we need to create a BBB Server. To allow the connection with that server you need to know its secret, which can be found using bbb-conf -- secret as mentioned here. You can create a server like this:
from bbbmeetings import BBBServer
server = BBBServer(host="https://bbb.example.org", secret="!#%Random!#$%Fsecret!#$%")
For convenience bbbmeetings offers a way of treating multiple servers as one server:
from bbbmeetings import BBBServers, BBBServer
# Create a BBBServers Object from multiple BBBServer-Objects
servers = BBBServers.from_list([
BBBServer("https://bbb1.example.org", "!#%Random!#$%Fsecret!#$%"),
BBBServer("https://bbb2.example.org", "!#%Random!#$%Fsecret!#$%"),
BBBServer("https://bbb3.example.org", "!#%Random!#$%Fsecret!#$%"),
BBBServer("https://bbb4.example.org", "!#%Random!#$%Fsecret!#$%"),
BBBServer("https://bbb5.example.org", "!#%Random!#$%Fsecret!#$%"),
])
Most methods on BBBServer and BBBServers are the same, but in the following examples I will use servers to showcase how this module may be used:
# Get a list of meetings running on all servers and print all details about them
for meeting in servers.meetings:
print(meeting)
You can also get some numbers directly (in this case I use python's formatting strings):
print(f"On all servers there are {servers.people} people in {servers.n_meetings} meetings. {servers.video_active} people have their webcam on, {servers.connected_with_mic} connected with mic. There are {servers.moderators} moderators.")
If you want to have a list of all people in all meetings on all servers run:
print(f"The names of everyone on all servers are {', '.join([a.name for a in servers.attendees])}")
If you just want a list with the names of Presenters you can run:
presenter_names = [a.name for a in servers.attendees if a.isPresenter]
Or if you want to know the longest running meeting:
print(f"Longest running meeting is {servers.longest_duration.name} with a duration of {servers.longest_duration.duration}")
Metadata
Release files for bbbmeetings 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bbbmeetings-0.1.5.tar.gz | 6.9 kB | Without provenance | Details for bbbmeetings-0.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bbbmeetings-0.1.5-py3-none-any.whl | Python 3 | none | any | Details for bbbmeetings-0.1.5-py3-none-any.whl |
Total release size: 14.0 kB
Release files / bbbmeetings-0.1.5.tar.gz
| Download URL | bbbmeetings-0.1.5.tar.gz |
|---|---|
| Size | 6.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cc82c93df1323ff700545a6a4b6899685083379bdcd2f5625bdd034eac4d508f
|
|
BLAKE2b-256 checksum How to use checksums |
24d384f4daf97d3743334ee6bc36d5969b54564b79709a66e6e183035600bb83
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.7 CPython/3.8.10 Linux/5.8.0-59-generic
|
Release files / bbbmeetings-0.1.5-py3-none-any.whl
| Download URL | bbbmeetings-0.1.5-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6aa91182ac336b8391b40787e887eafe683ffbd0c46f987afb7ae6eeed98bec2
|
|
BLAKE2b-256 checksum How to use checksums |
2e37708fe21d4c599754d71434db16a0b5d90acb2786da7f5c0814db82f97321
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.7 CPython/3.8.10 Linux/5.8.0-59-generic
|
Security for bbbmeetings 0.1.5
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.