Skip to main content

Python module that encapsulates wolfSSL's C SSL/TLS library.

Project description

Welcome

https://travis-ci.org/wolfSSL/wolfssl-py.svg?branch=master

wolfSSL Python, a.k.a. wolfssl is a Python module that encapsulates wolfSSL’s SSL/TLS library.

The wolfSSL SSL/TLS library is a lightweight, portable, C-language-based library targeted at IoT, embedded, and RTOS environments primarily because of its size, speed, and feature set. It works seamlessly in desktop, enterprise, and cloud environments as well.

Installation

We provide Python wheels (prebuilt binaries) for OSX 64 bits and Linux 64 bits:

$ pip install wolfssl

To build wolfssl-py from source:

$ cd wolfssl-py
$ pip install .

The default pip install clones wolfSSL from GitHub. To build wolfssl-py using a local installation of the native wolfSSL C library, the USE_LOCAL_WOLFSSL environment variable should be set. USE_LOCAL_WOLFSSL can be set to “1” to use the default library installation location (/usr/local/lib, /usr/local/include), or to use a custom location it can be set to the install locaiton of your native wolfSSL library. For example:

# Uses default install location
$ USE_LOCAL_WOLFSSL=1 pip install .

# Uses custom install location
$ USE_LOCAL_WOLFSSL=/tmp/install pip install .

Tests

To run the tests that ship with wolfssl-py, after compiling the library run one of the following commands:

$ pytest
$ py.test tests

Support

For support and questions, please email support@wolfssl.com.

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

wolfssl-4.1.0.post0.tar.gz (37.1 kB view hashes)

Uploaded Source

Built Distributions

wolfssl-4.1.0.post0-py3.7-linux-x86_64.egg (410.3 kB view hashes)

Uploaded Source

wolfssl-4.1.0.post0-cp37-cp37m-macosx_10_14_x86_64.whl (359.2 kB view hashes)

Uploaded CPython 3.7m macOS 10.14+ x86-64

wolfssl-4.1.0.post0-cp36-cp36m-manylinux1_x86_64.whl (386.0 kB view hashes)

Uploaded CPython 3.6m

wolfssl-4.1.0.post0-cp36-cp36m-macosx_10_14_x86_64.whl (359.2 kB view hashes)

Uploaded CPython 3.6m macOS 10.14+ x86-64

wolfssl-4.1.0.post0-cp35-cp35m-manylinux1_x86_64.whl (386.0 kB view hashes)

Uploaded CPython 3.5m

wolfssl-4.1.0.post0-cp35-cp35m-macosx_10_14_x86_64.whl (359.2 kB view hashes)

Uploaded CPython 3.5m macOS 10.14+ x86-64

wolfssl-4.1.0.post0-cp34-cp34m-manylinux1_x86_64.whl (386.0 kB view hashes)

Uploaded CPython 3.4m

wolfssl-4.1.0.post0-cp34-cp34m-macosx_10_14_x86_64.whl (359.2 kB view hashes)

Uploaded CPython 3.4m macOS 10.14+ x86-64

wolfssl-4.1.0.post0-cp27-cp27mu-manylinux1_x86_64.whl (389.5 kB view hashes)

Uploaded CPython 2.7mu

wolfssl-4.1.0.post0-cp27-cp27m-manylinux1_x86_64.whl (389.5 kB view hashes)

Uploaded CPython 2.7m

wolfssl-4.1.0.post0-cp27-cp27m-macosx_10_14_x86_64.whl (359.0 kB view hashes)

Uploaded CPython 2.7m macOS 10.14+ 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