File: index.rst

package info (click to toggle)
python-gevent 24.11.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 20,364 kB
  • sloc: python: 138,768; ansic: 87,807; sh: 12,548; makefile: 2,379; javascript: 108
file content (28 lines) | stat: -rw-r--r-- 821 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
==========
 Examples
==========

..
  All files generated with shell oneliner:
  for i in examples/*py; do bn=`basename $i`; bnp=`basename $i .py`; echo -e "=============================\nExample $bn\n=============================\n.. literalinclude:: ../../examples/$bn\n  :language: python\n  :linenos:\n\n\`Current source <https://github.com/gevent/gevent/blob/master/examples/$bn>\`_\n" > doc/examples/$bnp.rst; done

This is a snapshot of the examples contained in `the gevent source
<https://github.com/gevent/gevent/tree/master/examples>`_.

.. toctree::
   concurrent_download
   dns_mass_resolve
   echoserver
   geventsendfile
   portforwarder
   processes
   psycopg2_pool
   threadpool
   udp_client
   udp_server
   unixsocket_client
   unixsocket_server
   webproxy
   webpy
   wsgiserver
   wsgiserver_ssl