/
__init__.py
50 lines (38 loc) · 974 Bytes
/
__init__.py
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Copyright (c) 2010 David Martinez Marti
# All rights reserved.
#
# Licensed under 3-clause BSD License.
# See LICENSE.txt for the full license text.
__version__ = '0.2'
"""Version number of the library as a string with the format X.Y"""
__release__ = '0.2.1'
"""Release number of the library as a string with the format X.Y.Z"""
__all__ = [
"createserver",
"connect",
"server",
"connection",
"request",
"handlers",
"proxies",
"jsonlib",
"exceptions"
]
bjsonrpc_options = {
'threaded' : False
}
"""
Dictionary with global options for the library.
**threaded**
(Default: False) When is set to True, threads will be created for handling
each incoming item.
"""
from bjsonrpc.main import createserver, connect
import bjsonrpc.server
import bjsonrpc.connection
import bjsonrpc.serialsocket
import bjsonrpc.request
import bjsonrpc.handlers
import bjsonrpc.proxies
import bjsonrpc.jsonlib
import bjsonrpc.exceptions