Stub-only package containing type information for pydub
Project description
pydub-stubs
Pydub version: 0.24.1
pydub-stubs
provides type information for Pydub.
Only the public interface is guaranteed to be typed.
pip install pydub-stubs
Aniticipated Questions
Q: Why is AudioSegment.some_effect(...)
missing?
TL;DR: Import it as a function from pydub.effects
.
Pydub dynamically adds certain functions to AudioSegment
at runtime.
This is easy to type, but impossible to be 100% safe about.
A great example of why this can is difficult is pydub.scipy_effects
,
which registers two effects that are named identically to those in
pydub.effects
, but have different signatures. Importing this module
will override the previous effects, so the signatures are now wrong.
Q: What the hell is that version number?
major.minor.patch.stubs
, where major/minor/patch are the latest
supported Pydub version. The stubs version being last means pinning
to a specific Pydub version will always get the latest stubs available.
Changelog
Version 0.24.1.1
-
Fixed
AudioSegment.__init__
Use overloads to model correct parameters. -
Fixed
AudioSegment._spawn
Parameteroverrides
accepts a partial dictionary. -
Fixed
pydub.scipy_effects.high_pass_filter
Parameterorder
should beint
, notfloat
.
Previous versions
Version 0.24.1.0
Released
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pydub-stubs-0.24.1.1.post1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 379647fb9dfc751fdf2d9b209da2aaa75983ac030b772e1aa05bebe91464c341 |
|
MD5 | 55a356458134b816d75031008c821654 |
|
BLAKE2b-256 | 568eb7e54f11c28756593bd70296aa4116f06007bccf96590794e89b6952e1f8 |
Hashes for pydub_stubs-0.24.1.1.post1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f610c26a809b5a2b55d06133fcaef77ad5fc884674dc9b9269f32adfa8ed650 |
|
MD5 | 4fa7ff8a478e7ead55660efcadf628a6 |
|
BLAKE2b-256 | 2d292d8781b95d383fd8adf3f0b959d8e6baafe096ca632f5913d6e3ef368731 |