Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.11/site-packages/aiofastnet/__init__.py: 18%
Shortcuts on this page
r m x toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
Shortcuts on this page
r m x toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
1import socket
3from .openssl_compat import OPENSSL_DYN_LIBS
5from .api_streams import (
6 open_connection,
7 start_server,
8)
10from .api_create_server import create_server
11from .api_create_connection import create_connection
12from .api_create_unix_connection import create_unix_connection
13from .api_create_unix_server import create_unix_server
14from .api_start_tls import start_tls
15from .api_sendfile import sendfile
16from .api_patch import loop_factory, patch_loop, install_policy
18from .transport import (
19 Transport,
20 Protocol,
21 aiofn_is_buffered_protocol
22)
24__all__ = [
25 'OPENSSL_DYN_LIBS',
26 'open_connection',
27 'start_server',
28 'create_server',
29 'create_connection',
30 'create_unix_connection',
31 'create_unix_server',
32 'start_tls',
33 'sendfile',
34 'loop_factory',
35 'patch_loop',
36 'install_policy',
37 'Transport',
38 'Protocol',
39 'aiofn_is_buffered_protocol',
40]
42if hasattr(socket, 'AF_UNIX'):
43 from .api_streams import ( # noqa: F401
44 open_unix_connection as open_unix_connection,
45 start_unix_server as start_unix_server,
46 )
48 __all__.extend((
49 'open_unix_connection',
50 'start_unix_server',
51 ))
54__version__ = "0.21.0"
55__author__ = "Taras Kozlov"