This library wraps pyOpenSSL to make it compatible with gevent. OpenSSL connection operations that would normally block the current thread will only block the current greenlet instead.
Requirements
PyOpenSSL >= 0.11
gevent (compatible with 1.0 pre-releases as well)
Usage
Instead of importing OpenSSL directly, do so in the following manner:
import gevent_openssl as OpenSSL
or
import gevent_openssl; gevent_openssl.monkey_patch()
Any calls that would have blocked the current thread will now only block the current green thread.
About
This compatibility is accomplished by yielding to the gevent scheduler when pyOpenSSL is waiting to be able to read or write data.
License
New BSD
History
This project was originally created by Phus Lu (phus.lu@gmail.com) and is now maintained by Menno Finlay-Smits (menno@freshfoo.com).
Metadata
Release files for gevent_openssl 1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distributions (sdists)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| gevent_openssl-1.2.zip | 6.0 kB | Without provenance | Details | |
| gevent_openssl-1.2.tar.gz | 3.2 kB | Without provenance | Details |
Release files / gevent_openssl-1.2.zip
| Download URL | gevent_openssl-1.2.zip |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
73db9c10b341338096f482b3e0767580a4e3b5ce9e0b50c2b57bf8fa0f411dc9
|
|
BLAKE2b-256 checksum How to use checksums |
2e61e3b85947af54d29aeaa263c811f7b1923874f8778db7f49063a997a5be42
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / gevent_openssl-1.2.tar.gz
| Download URL | gevent_openssl-1.2.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7f7e0331de067d35a2f595a458b492b151e2f8ee9e54aa1549148d93e488bda5
|
|
BLAKE2b-256 checksum How to use checksums |
930303cb89fca973882506ddaa31a30d3626e7611a4b0a9f278237ccc2a42121
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for gevent_openssl 1.2
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.