You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

paulstretch

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

paulstretch

A modern Python implementation of Paul Nasca's extreme time stretch algorithm with minimal dependencies.

0.1.3
pipPyPI
Maintainers
1

Paulstretch

A modern Python implementation of Paul Nasca's extreme sound stretch algorithm. It allows for extremely high stretch factors like 10 or 1000 without introducing the unpleasant grainy artifacts of other time stretch algorithms. It does smear all the transients though.

There was no modern and well maintained python package for this algorithm available on the package index, so I decided to make one. This is a fun DSP algorithm with a permissive license, so everyone should enjoy it!

Installation

If you want to use this package in your own project, install it from the python package index:

pip install paulstretch

If you want to work with the github repository, install the latest version of the uv package manager. A virtual environment will automatically be installed when you run or build the project with uv.

Run Tests

The project uses pytest as its testing framework. Run them like this:

uv run pytest

Build & Publish Package

To build and publish this package on the python package index, this is what you (or rather I) should do:

  • Increment Version if appropriate

    The package uses semantic versioning, so bump the version depending on the extent of changes.

    uv version --bump patch or

    uv version --bump minor or

    uv version --bump major

  • Build both the source distribution and the wheels

    uv build

  • Publish the package:

    uv publish

    Enter your pypi credentials when prompted.

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts