Skip to main content

Static binaries for sox for Mac/Win32/Linux

Project description

static-sox

MacOS_Tests Ubuntu_Tests Win_Tests Linting

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.

Usage

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")

Development

To develop software, run . ./activate.sh. Note that on windows you need to have git-bash installed for development.

Linting

Run ./lint.sh to find linting errors using pylint, flake8 and mypy.

Release

  • 1.0.1: Improve readme.
  • 1.0.0: Initial release. All builds pass.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

static_sox-1.0.2-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file static_sox-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: static_sox-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for static_sox-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 181f2d1cff3ab10ddd099d3c0b70bfe510b2ad6d6415b62d91f5bea62c2153a2
MD5 be596922af6d7188847423374844ced8
BLAKE2b-256 93dfb1ed5e33214347ffbca29fbcc570f554b502aafc878d99e3377a640f64c7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page