# PYMUMBLE python library
## Description
This library acts as a mumble client, connecting to a murmur server, exchanging states and audio.
[![Build Status](https://ci.azlux.fr/api/badges/azlux/pymumble/status.svg)](https://ci.azlux.fr/azlux/pymumble)
The wiki/API explanation is [HERE](https://github.com/azlux/pymumble/blob/pymumble_py3/API.md).
## Installing/Getting started
### Requirements
**`libopus` is a mandatory OS library**. Please refer to your package manager to install it.
### With pip
- `pip install pymumble`
- You need to `import pymumble_py3 as pymumble` into your code.
[![PyPI version](https://badge.fury.io/py/pymumble.svg)](https://badge.fury.io/py/pymumble) Deployment script is available [here](https://packages.azlux.fr/scripts/pymumble.txt)
### With git
- `git clone https://github.com/azlux/pymumble.git`
- `pip3 install -r requirements.txt`
- You need to `import pymumble.pymumble_py3 as pymumble` into your code.
- It's will be the same if you use a git sub-module
## CHANGELOG
The changelog is available on the release note.
## Applications list using `pymumble`
For client application examples, you can check this list :
- [Botamusique](https://github.com/azlux/botamusique)
- [MumbleRadioPlayer](https://github.com/azlux/MumbleRadioPlayer) (archived)
- [Abot](https://github.com/ranomier/pymumble-abot)
- [MumbleRecbot](https://github.com/Robert904/mumblerecbot) (deprecated)
## Features
### Currently implemented:
- Compatible with Mumble 1.3 and normally until 1.2.2
- Support OPUS. Speex is not supported
- Receive and send audio, get users and channels status
- Set properties for users (mute, comments, etc.) and go to a specific channel
- Kick and ban users
- Callback mechanism to react on server events
- Manage the blobs (images, long comments, etc.)
- Can send text messages to user and channel
- Ping statistics
- Audio targets (whisper, etc.)
- Read ACL groups
### What is missing:
> I don't need these features, so if you want one, open an issue and I will work on it.
- UDP media. Currently it works only in TCP tunneling mode (the standard fallback of Mumble when UDP is not working)
- Some server management features (user creation, editing ACLs, etc.)
- Positioning is not managed, but it should be easy to add
- Probably a lot of other small features
- **WONTFIX** The **Python 2** version is available in the [master branch](https://github.com/azlux/pymumble/tree/master). It's working! But since we have moved on to Python 3, the Python 2 version will not receive future improvements.
## Architecture
The library is based on the Mumble object, which a thread. When started, it will try
to connect to the server and start exchanging the connection messages.
This thread implements a loop which takes care of the pings, sends commands to the server,
checks for incoming messages including audio, and checks for audio to be sent out.
The rate of this loop is controlled by how long it will wait for an incoming message before continuing.
You can check if the thread is alive with `mumble_object.is_alive()`.
The Mumble thread will stop if it disconnects from the server.
This can be useful if you need to restart the thread when using a supervisor.
## Thanks
- [@raylu](https://github.com/raylu) for making `pymumble` speak into channels
- [@schlarpc](https://github.com/schlarpc) for fixes on buffer
- [@Robert904](https://github.com/Robert904) for the inital pymumble implementation
This library is a fork of a fork of a fork (initial from https://github.com/Robert904/pymumble).
But we will try to make `pymumble` better.
So I consider this fork (the [@Azlux](https://github.com/azlux/pymumble) one) the current live fork of `pymumble`.
Raw data
{
"_id": null,
"home_page": "https://github.com/azlux/pymumble",
"name": "pymumble",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "",
"author": "Azlux",
"author_email": "github@azlux.fr",
"download_url": "https://files.pythonhosted.org/packages/5d/45/1cbf709103165317e9455d4648fb16bb9dab5a542ef67efb54c28c7ef139/pymumble-1.6.1.tar.gz",
"platform": "",
"description": "# PYMUMBLE python library\n\n## Description\nThis library acts as a mumble client, connecting to a murmur server, exchanging states and audio.\n\n[![Build Status](https://ci.azlux.fr/api/badges/azlux/pymumble/status.svg)](https://ci.azlux.fr/azlux/pymumble)\n\nThe wiki/API explanation is [HERE](https://github.com/azlux/pymumble/blob/pymumble_py3/API.md).\n\n## Installing/Getting started\n\n### Requirements\n\n**`libopus` is a mandatory OS library**. Please refer to your package manager to install it.\n\n### With pip\n\n- `pip install pymumble`\n- You need to `import pymumble_py3 as pymumble` into your code.\n\n[![PyPI version](https://badge.fury.io/py/pymumble.svg)](https://badge.fury.io/py/pymumble) Deployment script is available [here](https://packages.azlux.fr/scripts/pymumble.txt)\n\n### With git\n\n- `git clone https://github.com/azlux/pymumble.git`\n- `pip3 install -r requirements.txt`\n- You need to `import pymumble.pymumble_py3 as pymumble` into your code.\n- It's will be the same if you use a git sub-module\n\n## CHANGELOG\n\nThe changelog is available on the release note.\n\n## Applications list using `pymumble`\n\nFor client application examples, you can check this list :\n- [Botamusique](https://github.com/azlux/botamusique)\n- [MumbleRadioPlayer](https://github.com/azlux/MumbleRadioPlayer) (archived)\n- [Abot](https://github.com/ranomier/pymumble-abot)\n- [MumbleRecbot](https://github.com/Robert904/mumblerecbot) (deprecated)\n\n## Features\n\n### Currently implemented:\n- Compatible with Mumble 1.3 and normally until 1.2.2\n- Support OPUS. Speex is not supported\n- Receive and send audio, get users and channels status\n- Set properties for users (mute, comments, etc.) and go to a specific channel\n- Kick and ban users\n- Callback mechanism to react on server events\n- Manage the blobs (images, long comments, etc.)\n- Can send text messages to user and channel\n- Ping statistics\n- Audio targets (whisper, etc.)\n- Read ACL groups\n\n### What is missing:\n\n> I don't need these features, so if you want one, open an issue and I will work on it.\n\n- UDP media. Currently it works only in TCP tunneling mode (the standard fallback of Mumble when UDP is not working)\n- Some server management features (user creation, editing ACLs, etc.)\n- Positioning is not managed, but it should be easy to add\n- Probably a lot of other small features\n- **WONTFIX** The **Python 2** version is available in the [master branch](https://github.com/azlux/pymumble/tree/master). It's working! But since we have moved on to Python 3, the Python 2 version will not receive future improvements.\n\n## Architecture\n\nThe library is based on the Mumble object, which a thread. When started, it will try\nto connect to the server and start exchanging the connection messages.\nThis thread implements a loop which takes care of the pings, sends commands to the server,\nchecks for incoming messages including audio, and checks for audio to be sent out.\nThe rate of this loop is controlled by how long it will wait for an incoming message before continuing.\n\nYou can check if the thread is alive with `mumble_object.is_alive()`.\nThe Mumble thread will stop if it disconnects from the server.\nThis can be useful if you need to restart the thread when using a supervisor.\n\n\n## Thanks\n\n- [@raylu](https://github.com/raylu) for making `pymumble` speak into channels\n- [@schlarpc](https://github.com/schlarpc) for fixes on buffer\n- [@Robert904](https://github.com/Robert904) for the inital pymumble implementation\n\nThis library is a fork of a fork of a fork (initial from https://github.com/Robert904/pymumble).\nBut we will try to make `pymumble` better.\nSo I consider this fork (the [@Azlux](https://github.com/azlux/pymumble) one) the current live fork of `pymumble`.",
"bugtrack_url": null,
"license": "GPLv3",
"summary": "Mumble library used for multiple uses like making mumble bot.",
"version": "1.6.1",
"project_urls": {
"Homepage": "https://github.com/azlux/pymumble"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "5d451cbf709103165317e9455d4648fb16bb9dab5a542ef67efb54c28c7ef139",
"md5": "04605abf060c24c3879dd565b7710359",
"sha256": "c17300413dbf2d754a8b1edf0bb599320bc50bc31b799fc8c91ce1d4ca6774fa"
},
"downloads": -1,
"filename": "pymumble-1.6.1.tar.gz",
"has_sig": false,
"md5_digest": "04605abf060c24c3879dd565b7710359",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 53846,
"upload_time": "2021-05-07T21:55:24",
"upload_time_iso_8601": "2021-05-07T21:55:24.623149Z",
"url": "https://files.pythonhosted.org/packages/5d/45/1cbf709103165317e9455d4648fb16bb9dab5a542ef67efb54c28c7ef139/pymumble-1.6.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2021-05-07 21:55:24",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "azlux",
"github_project": "pymumble",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "opuslib",
"specs": [
[
"==",
"3.0.1"
]
]
},
{
"name": "protobuf",
"specs": [
[
"==",
"3.20.3"
]
]
}
],
"lcname": "pymumble"
}