Skip to main content

lavalink-rs bindings for Python

Project description

lavasnek_rs

Using the library

The library is currently not yet on PyPi, but it will be when 0.1 releases.

To install the library, go to the Actions tab on GitHub, select the latest commit, and download the Artifact that suits your needs. Extract the artifact, and install the .whl file with pip install -U filename.whl

Then you should be able to import the library and use it!

Building and Running

If you wanna build the project from source, you will need:

# It is highly recommended that you use Linux, either natively or with WSL2

# You will need python 3.6 or newer.
sudo apt install python3-pip curl # for Ubuntu, Debian or derivatives
sudo pacman -S python3-pip curl # for Arch, EndeavourOS, Manjaro or derivatives

# You will also need the rust programming language.
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

# You will also need a lavalink server running.
# see https://github.com/freyacodes/Lavalink or use docker
docker run --name lavalink -p 2333:2333 -d -v $HOME/application.yml:/opt/Lavalink/application.yml fredboat/lavalink:dev

Then to run the project, just run all of this. Only the last 2 are repeatable.

python -m venv .env
source .env/bin/activate
pip install maturin

maturin develop
python examples/pure_hikari_example.py

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

lavasnek_rs-0.1.0_alpha.0-cp310-cp310-manylinux2010_x86_64.whl (3.0 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.12+ x86-64

lavasnek_rs-0.1.0_alpha.0-cp39-none-win_amd64.whl (3.0 MB view hashes)

Uploaded CPython 3.9 Windows x86-64

lavasnek_rs-0.1.0_alpha.0-cp39-cp39-manylinux2010_x86_64.whl (3.0 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.12+ x86-64

lavasnek_rs-0.1.0_alpha.0-cp39-cp39-macosx_10_7_x86_64.whl (2.8 MB view hashes)

Uploaded CPython 3.9 macOS 10.7+ x86-64

lavasnek_rs-0.1.0_alpha.0-cp38-none-win_amd64.whl (3.0 MB view hashes)

Uploaded CPython 3.8 Windows x86-64

lavasnek_rs-0.1.0_alpha.0-cp38-cp38-manylinux2010_x86_64.whl (3.0 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.12+ x86-64

lavasnek_rs-0.1.0_alpha.0-cp38-cp38-macosx_10_7_x86_64.whl (2.8 MB view hashes)

Uploaded CPython 3.8 macOS 10.7+ x86-64

lavasnek_rs-0.1.0_alpha.0-cp37-none-win_amd64.whl (3.0 MB view hashes)

Uploaded CPython 3.7 Windows x86-64

lavasnek_rs-0.1.0_alpha.0-cp37-cp37m-manylinux2010_x86_64.whl (3.0 MB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.12+ x86-64

lavasnek_rs-0.1.0_alpha.0-cp37-cp37m-macosx_10_7_x86_64.whl (2.8 MB view hashes)

Uploaded CPython 3.7m macOS 10.7+ x86-64

lavasnek_rs-0.1.0_alpha.0-cp36-none-win_amd64.whl (3.0 MB view hashes)

Uploaded CPython 3.6 Windows x86-64

lavasnek_rs-0.1.0_alpha.0-cp36-cp36m-manylinux2010_x86_64.whl (3.0 MB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.12+ x86-64

lavasnek_rs-0.1.0_alpha.0-cp36-cp36m-macosx_10_7_x86_64.whl (2.8 MB view hashes)

Uploaded CPython 3.6m macOS 10.7+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page