This release is a pre-release and may not be stable for production use.
Overview
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.
Installation
Use your favorite installer to install the pystunnel library and script. E.g.:
$ pip install pystunnel
Examples
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)
Return Codes
0 means OK, 1 or higher means error.
Changelog
1.0a1 - 2016-03-14
Initial release.
Metadata
Release files for pystunnel 1.0a1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pystunnel-1.0a1.zip | 19.3 kB | Without provenance | Details |
Release files / pystunnel-1.0a1.zip
| Download URL | pystunnel-1.0a1.zip |
|---|---|
| Size | 19.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a9c8c4079843fe7413e792c6989a94d7c9ed7e10d6ffc011b32addf50a904de1
|
|
BLAKE2b-256 checksum How to use checksums |
6905b7b0c19422dbb5cc6f9f0c568c532eaf7e973e2e8e4cdac4ca1cb1710f9b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pystunnel 1.0a1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.