Stub-only package containing type information for pydub
Project description
pydub-stubs
Pydub version: 0.25.1
pydub-stubs
provides type information for Pydub.
Only the public interface is guaranteed to be typed.
pip install pydub-stubs
Anticipated Questions
Q: Why is AudioSegment.effect(...)
missing?
You need to import it as a function from pydub.effects
.
Q: What is Metadata
and PartialMetadata
?
These are legacy types that have been replaced by the channels
,
frame_rate
, and sample_rate
keyword arguments.
Changelog
Version 0.25.1.0
-
Added v0.25.0 features
This includespydub.scipy_effects.eq
and new classmethod parameters. -
Signatures now use literals where possible
Overloaded implementations exist as a fallback. -
Added missing modules
pydub.silence
andpydub.utils
Previous versions
Version 0.24.1.9
- Add undocumented parameter of
AudioSegment.from_file
read_ahead_limit
is absent from the documentation but is a supported keyword argument.
Version 0.24.1.8
- Export other modules
Adds exports for effects, exceptions, generators, playback, and scipy_effects
Version 0.24.1.7
-
Added
AudioSegment._spawn
(again)
This was accidentally removed in an earlier version. -
Improved
pydub.effects.invert_phase
This is technically less accurate as(0, 0)
is equivalent to(0, 1)
.
Version 0.24.1.6
- Removed testing symbols from
pydub.audio_segment
Version 0.24.1.5
- Fixed
AudioSegment.export
First param is namedout_f
and isn't required.
Version 0.24.1.4
-
Improved signature of
AudioSegment.from_file
The keyword arguments for raw/PCM audio don't requireformat
to be set to eitherraw
orpcm
. -
Fixed package exports
ExportsAudioSegment
from__init__.py
.
Version 0.24.1.3
- Fixed overloads of
AudioSegment.fade
Exactly two ofstart
,end
, andduration
must be given.
Version 0.24.1.2
-
Improved
AudioSegment.fade
Changed to use overloads to prevent invalid method calls. -
Improved
AudioSegment.from_mono_audiosegments
Use a positional-only parameter to ensure there's at least 1 argument.
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
.
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.25.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ff185c40838dfdfb344222ad6d962e99682fa2787557d771023af8c24593ddc |
|
MD5 | d879f3c437a72f79c27e9b2d24c34beb |
|
BLAKE2b-256 | 09c28c96d13235936a0173c62eac810791a95f114b99c4e5a46d697329e3b2ba |