Skip to content

kasicass/fatuv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fatuv

INTRODUCTION

  • a cffi-based libuv wrapper for python/pypy
  • interface inspired by pyuv
  • benchmark inspired by uvloop

BUILD

Debian 9.5

aptitude install make gcc
aptitude install libffi-dev python-dev python3-dev pypy pypy-dev
aptitude install libtoolize

python -m pip install cffi==1.12.3

OpenBSD 6.4

# pkg_add -v pypy gmake automake-1.16.1 autoconf-2.69p2 libtool

$ vim ~/.profile
AUTOMAKE_VERSION="1.16"
AUTOCONF_VERSION="2.69"

Python & PyPy

# python -m pip install cffi
# pypy -m pip install pycparser

$ make py2
$ python tests/test_timer.py

SCHEDULE

handles (test pass)

  • CHECK
  • ASYNC
  • IDLE
  • PIPE
  • POLL
  • PREPARE
  • PROCESS
  • SIGNAL
  • STREAM
  • TCP
  • TIMER
  • TTY
  • UDP
  • FS_EVENT
  • FS_POLL

requests (test pass)

  • CONNECT
  • WRITE
  • SHUTDOWN
  • FS
  • WORK
  • GETADDRINFO
  • GETNAMEINFO
  • UDP_SEND
  • DNS

About

libuv wrapper for python/pypy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published