Skip to main content

NAFF YTAudio

A NAFF audio object for playing audio from YT_DLP.

Usage

from naff_yt_audio import YTAudio

audio = await YTAudio.from_url("https://www.youtube.com/watch?v=ldyqHK0tbSc")
await voice_state.play(audio)

And that's it, audio will be streamed from YouTube to NAFF.

If you'd rather download the audio first, simply add stream=False.

audio = await YTAudio.from_url("https://www.youtube.com/watch?v=ldyqHK0tbSc", stream=False)

Metadata

Release files for naff-ytaudio 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for naff-ytaudio 1.0.0
File Size Uploaded Provenance
naff-ytaudio-1.0.0.tar.gz 3.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for naff-ytaudio 1.0.0
File Interpreter ABI Platform
naff_ytaudio-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.8 kB

Release files / naff-ytaudio-1.0.0.tar.gz

Download URL naff-ytaudio-1.0.0.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
e4d159bd7e3724dd23b50c7a1feb83316aac534e510ca4a0abfc66b110c31bc7
BLAKE2b-256 checksum
How to use checksums
3a7b9edb2c0df14eaf7fe90f41bfdaf915a17982db19502679321b3dcfd05527
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.4

Release files / naff_ytaudio-1.0.0-py3-none-any.whl

Download URL naff_ytaudio-1.0.0-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f98802c57ae01342fdf2c81654d8ff97c1969048aac4383a23f8b2c0ddb46ba5
BLAKE2b-256 checksum
How to use checksums
a37d1c874642a347e5e48e53bae2c880666f464198afbb4149e391307592b248
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.4

Security for naff-ytaudio 1.0.0

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.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No 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