eventlet.net

Please wait for loading...




      (29):

    /
     5  +2 2014 sep 20green threadgreenthread – Green Thread Implementation — Eventlet 0.15.2 Execution control returns immediately to the caller; the created greenthread is merely scheduled to be run at the next available opportunity. Use spawn_after() to ...
     6  +31 2014 sep 09green thread usesBasic Usage — Eventlet 0.15.2 documentationEventlet is built around the concept of green threads (i.e. coroutines, we use the terms interchangeably) that are launched to do network-related work. Green ...
     13  ~ 2014 aug 04ssl socket wrapperUsing SSL With Eventlet — Eventlet 0.15.0 documentationEventlet makes it easy to use non-blocking SSL sockets . ... use eventlet.green. ssl , which is a non-blocking wrapper around the standard Python ssl module, and ...
     19  -3 2014 jul 20python crawler classExamples — Eventlet 0.15.0 documentationusr/bin/env python """ This is a simple web " crawler " that fetches a bunch of urls using ..... acts as sort of a job coordinator (and concurrency controller of course ).
     21  +7 2014 sep 12python thread sleepgreenthread – Green Thread Implementation¶. eventlet.greenthread. sleep ( seconds=0)¶. Yield control to another eligible coroutine until at least seconds have ...
     31  ~ 2014 oct 03writing a web crawlerExamples — Eventlet 0.15.2 documentationHere are a bunch of small example programs that use Eventlet. ... usr/bin/env python """ This is a simple web " crawler " that fetches a bunch of urls using a pool to ...
     36  +24 2014 sep 20locahost 7000Connect to it with: telnet localhost 6000 You terminate your connection by .... This is an incredibly simple port forwarder from port 7000 to 22 on localhost . It calls ...
     38  -1 2014 aug 20c multi-user serverFor a more fully-featured server which supports multiple processes, multiple threads, and graceful code ... def geturl(url): c = socket.socket() ip = socket. gethostbyname(url) c .connect((ip, 80)) print('%s connected' ... Multi - User Chat Server ¶.
     49  -4 2014 sep 11websocketswebsocket – Websocket Server — Eventlet 0.15.2 documentationThis module provides a simple way to create a websocket server. It works with a few tweaks in the wsgi module that allow websockets to coexist with other WSGI ...
     51  +7 2014 sep 16websocket
     55  -4 2014 sep 26zeromqZeromq — Eventlet 0.15.2 documentationWhat is ØMQ?¶. “A ØMQ socket is what you get when you take a normal TCP socket, inject it with a mix of radioactive isotopes stolen from a secret Soviet atomic ...
     56  +23 2014 sep 26thread waitgreenthread – Green Thread Implementation¶ ... After being canceled, all calls to wait () will raise throw_args (which default to greenlet.GreenletExit).
     56  -8 2014 aug 24set time out functiontimeout – Universal Timeouts — Eventlet 0.15.0 documentationRaises exception in the current greenthread after timeout seconds:
     59  ~ 2014 sep 28python threadingThreads — Eventlet 0.15.2 documentationEventlet is thread-safe and can be used in conjunction with normal Python threads. The way this ... This is for running native- threaded code only. It's common to ...
     59  +24 2014 sep 23timeouttimeout – Universal Timeouts — Eventlet 0.15.2 documentationThis is equivalent to the try/finally block in the first example. There is an additional feature when using the with statement: if exception is False, the timeout is still ...
     59  +15 2014 jul 19taso du valAuthors — Eventlet 0.14.0 documentationAdamKG, giving the hint that invalid argument errors were introduced post-0.9.0; Luke Tucker, bug report regarding wsgi + webob; Taso Du Val , reproing an ...
     68  -32 2014 aug 27add url webcrawlerusr/bin/env python """ This is a simple web "crawler " that fetches a bunch of urls using a pool to control the number of outbound connections. It has as many ...
     69  -2 2014 sep 23script timeout passedTimeout ¶. Raises exception in the current greenthread after timeout seconds:
     69  +16 2014 sep 21socket connect select exception setIn general, there will be at least one green thread per network connection . ... Most patch the single module of the same name (os, time, select ). The exceptions are socket , which also patches the ssl module if present; and thread, which patches thread, threading ... Sets SO_REUSEADDR on the socket to save on annoyance.
     69  -22 2014 sep 16ссылка c yandex каталогаAll of these examples can be found in the examples directory of a source copy
     70  -5 2014 sep 10python zeromqeventlet.green. zmq – ØMQ support — Eventlet 0.15.2 documentationThe zmq module wraps the Socket and Context found in pyzmq to be non blocking .... receive a Python object as a message using json to serialize. Keyword ...
     75  -11 2014 aug 15data crawler feedusr/bin/env python """ This is a simple web " crawler " that fetches a bunch of urls using a
     78  ~ 2014 sep 25python sleepCalling sleep () with seconds of 0 is the canonical way of expressing a cooperative yield. For example, if one is looping over a large list performing an expensive ...
     81  ~ 2014 sep 29hub or switchUnderstanding Eventlet Hubs — Eventlet 0.15.2 documentationA hub forms the basis of Eventlet's event loop, which dispatches I/O events and ... they complete or need to do more I/O, they switch back to the MAINLOOP.
     81  ~ 2014 sep 01second life traffic reportEventlet Networking Libraryeventletdev at lists. secondlife .com. This is a low traffic list about using and developing Eventlet. Look through the ... You may report bugs via: Github · Bitbucket ...
     82  +19 2014 sep 16webcrawler wikiThis is a simple web “crawler ” that fetches a bunch of urls using a coroutine pool. It has as much ... "https:// wiki .secondlife.com/w/images/secondlife.jpg", ...
     87  +14 2014 sep 06fetches pagesThe prints in the body of the fetch function are there to demonstrate that the ..... This is an example recursive web crawler that fetches linked pages from a seed ...
     91  +10 2014 sep 11socket connections on a portIt has as many simultaneously open connections as coroutines in the pool. .... import eventlet from eventlet.green import socket PORT = 3001 participants = set( ) ...
     91  +10 2014 sep 05socket call backDemonstrates how to use the eventlet.green. socket module. .... It calls a callback function when the socket is closed, to demonstrate one way that you could start ...
    1 of 1 pages