Skip to main content

Python silk decode/encoder bindings using pybind11

Project description

pysilk

Installation

Linux

# clone this repo
cd Python-Silk-Module
pip install pybind11
pip install .

windows

pip install python-silk

If you get some issues with building, check documentation of pybind11

Usage

from pysilk import async_decode, async_encode, decode, encode

Only four functions: encode, decode, async_encode, async_decode

It's very easy to use. Just follow the IDE/editor typing intergration and check out the docs of these functions

NOTE:

The first argument input can be a str, pathlib.Path, bytes, BytesIO or BinaryIO liked object.

str and pathlib.Path are both meaning local file path

The source data of input and returned data must be the original PCM coded data

Author

Due to some reasons, these changes can't be merged into upstream, I have contacted the original author and kept the fork version as a separate project

DCZYewen

License

All the licenses are in the LICENSE file. This project is also released under BSD lisence.

Project details


Download files

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

Source Distribution

python-silk-0.0.2.tar.gz (169.4 kB view hashes)

Uploaded Source

Built Distribution

python_silk-0.0.2-cp39-cp39-win_amd64.whl (160.4 kB view hashes)

Uploaded CPython 3.9 Windows x86-64

Supported by

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