![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Start and stop a stunnel
_ instance given a stunnel configuration file
_.
The stunnel
executable must be available on the system PATH.
The configuration file must specify a PID file.
.. _stunnel
: https://www.stunnel.org
.. _stunnel configuration file
: https://www.stunnel.org/static/stunnel.html#CONFIGURATION-FILE
Use your favorite installer to install the pystunnel library and script. E.g.::
$ pip install pystunnel
From the command line::
$ pystunnel -c /path/to/stunnel.conf start
started
$ pystunnel -c /path/to/stunnel.conf check
running
$ pystunnel -c /path/to/stunnel.conf stop
stopped
If the command is omitted, pystunnel enters an interactive shell::
$ pystunnel -c /path/to/stunnel.conf
pystunnel> start
started
pystunnel> check
running
pystunnel> stop
stopped
pystunnel> quit
$
From Python::
from pystunnel import Stunnel
stunnel = Stunnel("/path/to/stunnel.conf")
rc = stunnel.start()
print("stunnel started with rc", rc)
if stunnel.check() == 0:
print("stunnel is running with pid", stunnel.getpid())
else:
print("stunnel is not running")
rc = stunnel.stop()
print("stunnel stopped with rc", rc)
0 means OK, 1 or higher means error.
FAQs
Python interface to stunnel
We found that pystunnel demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.