Documentation
Installation
Requirements
- PostgresSQL 14 server
- MacOS: PostgresSQL
- Windows: PostgresSQL
- Linux: PostgresSQL
- Python 3.11
- Discord.py 2.1.0+ bot
- Lavalink v4.0.0+ server
Supported sources
Built-in:
- youtube (Deprecated with LL 4.0.5)
- soundcloud
- bandcamp
- twitch
- vimeo
- http
- local
With YouTube-plugin:
- youtube
With LavaSrc
- spotify
- applemusic
- deezer
- youtube
- flowery-tts
With DuncteBot-plugin:
- getyarn.io
- clypit
- tts
- pornhub
- ocremix
- tiktok
- mixcloud
- soundgasm
With Google Cloud TTS:
- gcloud-tts
With Sponsorblock-Plugin:
- sponsorblock
With LavaSearch:
With LavaLyrics:
Supported Lavalink features
- Supports all features of Lavalink
- Filters
- IP Rotation
- Plug-ins
Features
- Multiple node support
- Node region assignment based on IP
- Track cache for the last 30 days to reduce the number of duplicated queries
- Managed local node with auto-restart and auto update
- Many helper methods and functions
- Support for multiple cogs to access the library at once
- Playlists and EQ saved at a library level to be shared with cogs
- Player state persistence
- Upon library state being shutdown all player states are saved and restored on library startup
- History of played tracks available for players
- RadioBrowser.org API to retrieve radio stations available for players
- M3U, PLS and PYLAV text file parser to convert contents into a playlist (p.s. Lavalink must support the format/coded of files still)
System Requirements
With a locally hosted Postgres server and locally hosted/managed lavalink node (recommended - Best performance):
- CPU: 3 cores or more
- RAM: 4GB or more
- Disk Space: 10GB or more (NVME Ideally, SSD OK)
With a locally hosted Postgres server and externally hosted lavalink node (Okay performance):
- CPU: 2 cores or more
- RAM: 3GB or more
- Disk Space: 10GB or more (NVME Ideally, SSD OK)
With an externally hosted Postgres server and locally hosted/managed lavalink node (Poor performance):
- CPU: 2 cores or more
- RAM: 2GB or more
- Disk Space: 10GB or more (SSD)
With an externally hosted Postgres server and externally hosted lavalink node (Worst performance):
- CPU: 1 cores or more
- RAM: 1GB or more
- Disk Space: 10GB or more (SSD)
Credits
- Topi for all the work done to Lavalink and implementing direct requests to make PyLav even better.
- Devoxin - Lavalink.py for the original ideas for implementation.
- globocom/m3u8 for the M3U8 parser which I made asynchronous found in m3u8_parser.
- andreztz/pyradios for the radio parser which I made asynchronous found in radio.
- Lifeismana for the custom Red-DiscordBot docker image which added Python3.11 support until Phasecore's image is updated.
Metadata
Release files for Py-Lav 1.15.14
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 |
|---|---|---|---|---|
| py_lav-1.15.14.tar.gz | 777.1 kB | Without provenance | Details for py_lav-1.15.14.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| py_lav-1.15.14-py3-none-any.whl | Python 3 | none | any | Details for py_lav-1.15.14-py3-none-any.whl |
Total release size: 2.7 MB
Release files / py_lav-1.15.14.tar.gz
| Download URL | py_lav-1.15.14.tar.gz |
|---|---|
| Size | 777.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b50ad8a4b4318eb3b46ecb63bee4b6a8e56398ba733dca0cec0731c944a475a4
|
|
BLAKE2b-256 checksum How to use checksums |
f148412554527e9e38226fbee0dcc5da75c779843056ff1fa8c483eca5d96c2a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.11.9 Linux/6.5.0-1023-azure
|
Release files / py_lav-1.15.14-py3-none-any.whl
| Download URL | py_lav-1.15.14-py3-none-any.whl |
|---|---|
| Size | 2.0 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3822b74dadf6215cea3fd72676dce79e38d124e32ddaa46a574f40432c299bcf
|
|
BLAKE2b-256 checksum How to use checksums |
ce3092e7e51b7c82c39362d9fbd20f6a4e3cde9bd28b32a7a34dd2e558c40e74
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.11.9 Linux/6.5.0-1023-azure
|
Security for Py-Lav 1.15.14
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.