Installs sox binaries and allows you to use them in your python code. Why? Because deploying binaries is a pain. This library makes it not-your-problem. Now you can make a tool that uses sox backend and distribute it easily.
Outside of python, static_sox can be used to access the library (which will trigger a download on first use).
> pip install static-sox
> static_sox # static_sox will pass all args to sox
Inside python, you can just add the paths (which will trigger a download on first use) then use sox as you normally would.
import static_sox
import os
static_sox.add_paths(weak=True) # Only install if sox is not available.
# static_sox.add_paths() # Sox is installed unconditionally.
os.system("sox --help")
To develop software, run . ./activate.sh
.
Note that on windows you need to have git-bash
installed for development.
Run ./lint.sh
to find linting errors using pylint
, flake8
and mypy
.
- 1.0.1: Improve readme.
- 1.0.0: Initial release. All builds pass.