BSD Ports

devel/py-gevent 25.8.2_1 MidnightBSD

Python co-routine networking library based on greenlet

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
mit
Categories
devel, python

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
MidnightBSDdevel/py-gevent25.8.2_1
FreeBSDdevel/py-gevent26.9.0
OpenBSDdevel/py-gevent26.9.0
DragonFlydevel/py-gevent24.2.1
HardenedBSDdevel/py-gevent26.9.0
GhostBSDdevel/py-gevent26.9.0

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}gevent

From mports:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}gevent>0:devel/py-gevent

Dependencies

As this port's Makefile names them.

Build 7

Library 3

Runtime 4

Test 1

Build dependencies 7
Run dependencies 7

Configuration

No options to configure.

USES
compiler:c11 localbase python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
gevent-25.8.2.tar.gz6.422843e+060cfab118ad5dcc55d7847dd9dccd560d9015fe671f42714b6f1ac97e3b2b9a3a
Master sites 1
  • PYPI