{"id":15297404,"url":"https://github.com/wolfssl/wolfssl-py","last_synced_at":"2025-04-05T06:04:01.735Z","repository":{"id":16227659,"uuid":"79585769","full_name":"wolfSSL/wolfssl-py","owner":"wolfSSL","description":"Python wrapper for wolfSSL embedded SSL/TLS library.","archived":false,"fork":false,"pushed_at":"2024-11-13T23:11:46.000Z","size":2068,"stargazers_count":39,"open_issues_count":9,"forks_count":28,"subscribers_count":21,"default_branch":"master","last_synced_at":"2025-03-29T05:06:16.332Z","etag":null,"topics":["cryptography","dtls","python-ssl","python-wrapper","python2","python3","security","ssl","tls","tls12","tls13","wolfssl","wolfssl-bindings"],"latest_commit_sha":null,"homepage":"https://wolfssl.github.io/wolfssl-py/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wolfSSL.png","metadata":{"files":{"readme":"README.rst","changelog":"ChangeLog.rst","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-01-20T18:30:11.000Z","updated_at":"2024-11-13T21:17:33.000Z","dependencies_parsed_at":"2024-08-23T22:47:08.704Z","dependency_job_id":"c3f78694-365c-4f5a-8a98-e968d6efe948","html_url":"https://github.com/wolfSSL/wolfssl-py","commit_stats":{"total_commits":91,"total_committers":15,"mean_commits":6.066666666666666,"dds":0.6373626373626373,"last_synced_commit":"fda757f94a6070f434658364a6a2303de2e45a80"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wolfSSL%2Fwolfssl-py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wolfSSL%2Fwolfssl-py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wolfSSL%2Fwolfssl-py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wolfSSL%2Fwolfssl-py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wolfSSL","download_url":"https://codeload.github.com/wolfSSL/wolfssl-py/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247294516,"owners_count":20915340,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cryptography","dtls","python-ssl","python-wrapper","python2","python3","security","ssl","tls","tls12","tls13","wolfssl","wolfssl-bindings"],"created_at":"2024-09-30T19:17:13.120Z","updated_at":"2025-04-05T06:04:01.715Z","avatar_url":"https://github.com/wolfSSL.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Welcome\n=======\n\n**wolfSSL Python**, a.k.a. ``wolfssl`` is a Python module\nthat encapsulates `wolfSSL's SSL/TLS library\n\u003chttps://wolfssl.com/wolfSSL/Products-wolfssl.html\u003e`_.\n\nThe **wolfSSL SSL/TLS library** is a lightweight, portable, C-language-based\nlibrary targeted at IoT, embedded, and RTOS environments primarily because of\nits size, speed, and feature set. It works seamlessly in desktop, enterprise,\nand cloud environments as well.\n\nPrerequisites\n=============\n\nLinux\n-----\n\nDuring installation via pip this will download the wolfSSL source and compile it, it therefore needs the same prerequisites as the wolfSSL C library. Therefore in Debian / Ubuntu you should do:\n\n.. code-block:: bash\n\n   $ sudo apt install build-essential\n   $ sudo apt build-dep libwolfssl-dev\n\nCompiling\n=========\n\nThe `setup.py` file covers most things you will need to do to build and install from source. As pre-requisites you will need to install either from your OS repository or pip. You'll also need the Python development package for your Python version:\n\n* `cffi`\n* `tox`\n* `pytest`\n\nTo build a source package run `python setup.py sdist`, to build a wheel package run `python setup.py bdist_wheel`. To test the build run `tox`. The `tox` tests rely on Python 3.9 being installed, if you do not have this version we recommend using `pyenv` to install it.\n\nInstallation\n============\n\nWe provide Python wheels (prebuilt binaries) for OSX 64 bits and Linux 64 bits:\n\n.. code-block:: bash\n\n    $ pip install wheel\n    $ pip install wolfssl\n\nTo build wolfssl-py from source:\n\n.. code-block:: bash\n\n    $ cd wolfssl-py\n    $ pip install .\n\nThe default pip install clones wolfSSL from GitHub. To build wolfssl-py using a\nlocal installation of the native wolfSSL C library, the USE_LOCAL_WOLFSSL\nenvironment variable should be set.  USE_LOCAL_WOLFSSL can be set to \"1\" to use\nthe default library installation location (/usr/local/lib, /usr/local/include),\nor to use a custom location it can be set to the install location of your native\nwolfSSL library.  For example:\n\n.. code-block:: bash\n\n    # Uses default install location\n    $ USE_LOCAL_WOLFSSL=1 pip install .\n\n    # Uses custom install location\n    $ USE_LOCAL_WOLFSSL=/tmp/install pip install .\n\nDisabling secure renegotiation\n------------------------------\n\nWhen building wolfssl-py from source secure renegotiation is enabled by\ndefault. To disable secure renegotiation set the environment variable\nWOLFSSLPY_DISABLE_SCR during the build process. For example:\n\n.. code-block:: bash\n\n    $ WOLFSSLPY_DISABLE_SCR=1 pip install .\n\nTesting\n=======\n\nTo run the tox tests in the source code, you'll need ``tox`` and a few other\nrequirements.\n\n1. Make sure that the testing requirements are installed:\n\n.. code-block:: shell\n\n    sudo -H pip install -r requirements/test.txt\n\n\n2. Run ``make check``:\n\n.. code-block:: console\n\n    $ make check\n    ...\n    _________________________________ summary _________________________________\n    py3: commands succeeded\n    congratulations :)\n\nSupport\n=======\n\nFor support and questions, please email support@wolfssl.com.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwolfssl%2Fwolfssl-py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwolfssl%2Fwolfssl-py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwolfssl%2Fwolfssl-py/lists"}