BSD Ports

devel/py-gevent 24.2.1 DragonFly

Python co-routine networking library based on greenlet

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
devel, python
Package size
1680.6 KiB, 9901.9 KiB installed

Description

gevent is a coroutine-based Python networking library that uses greenlet to provide a high-level synchronous API on top of the libevent event loop.

Features include:

  • Fast event loop based on libevent (epoll on Linux, kqueue on FreeBSD).
  • Lightweight execution units based on greenlet.
  • API that re-uses concepts from the Python standard library (for example there are Events and Queues).
  • Cooperative sockets with SSL support.
  • DNS queries performed through libevent-dns.
  • Monkey patching utility to get 3rd party modules to become cooperative.
  • Fast WSGI server based on libevent-http

gevent is inspired by eventlet but features more consistent API, simpler implementation and better performance. Read why others use gevent and check out the list of the open source projects based on gevent.

In the other systems

SystemPortVersion
DragonFlydevel/py-gevent24.2.1
FreeBSDdevel/py-gevent26.9.0
OpenBSDdevel/py-gevent26.9.0
MidnightBSDdevel/py-gevent25.8.2_1
HardenedBSDdevel/py-gevent26.9.0
GhostBSDdevel/py-gevent26.9.0

Install

Binary package:

pkg install py311-gevent

From DPorts:

cd /usr/dports/devel/py-gevent && make install clean

Dependencies

Run dependencies 8