sqlcycli 1.0.2__tar.gz → 1.0.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. {sqlcycli-1.0.2/src/sqlcycli.egg-info → sqlcycli-1.0.4}/PKG-INFO +38 -10
  2. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/README.md +37 -9
  3. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/pyproject.toml +1 -1
  4. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/setup.cfg +1 -1
  5. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli/__init__.py +10 -3
  6. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli/_auth.c +3293 -2003
  7. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli/_connect.c +476 -454
  8. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli/_optionfile.c +666 -653
  9. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli/_ssl.c +585 -582
  10. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli/aio/connection.c +13188 -11278
  11. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli/aio/connection.pxd +4 -4
  12. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli/aio/connection.py +293 -241
  13. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli/aio/pool.c +9056 -6201
  14. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli/aio/pool.pxd +6 -2
  15. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli/aio/pool.py +144 -50
  16. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli/charset.c +536 -514
  17. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli/connection.c +10712 -9034
  18. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli/connection.pxd +6 -6
  19. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli/connection.py +293 -241
  20. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli/constants/_CLIENT.c +744 -746
  21. sqlcycli-1.0.4/src/sqlcycli/constants/_CLIENT.pxd +30 -0
  22. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli/constants/_CLIENT.py +2 -1
  23. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli/constants/_COMMAND.c +627 -638
  24. sqlcycli-1.0.4/src/sqlcycli/constants/_COMMAND.pxd +35 -0
  25. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli/constants/_FIELD_TYPE.c +639 -650
  26. sqlcycli-1.0.4/src/sqlcycli/constants/_FIELD_TYPE.pxd +34 -0
  27. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli/constants/_FIELD_TYPE.py +1 -0
  28. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli/constants/_SERVER_STATUS.c +627 -638
  29. sqlcycli-1.0.4/src/sqlcycli/constants/_SERVER_STATUS.pxd +13 -0
  30. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli/errors.c +4106 -2867
  31. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli/errors.py +1 -5
  32. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli/protocol.c +3415 -2117
  33. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli/transcode.c +23746 -13028
  34. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli/transcode.pxd +109 -42
  35. sqlcycli-1.0.4/src/sqlcycli/transcode.py +2935 -0
  36. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli/typeref.c +1198 -763
  37. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli/typeref.pxd +3 -1
  38. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli/typeref.py +15 -0
  39. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli/utils.c +3118 -1835
  40. {sqlcycli-1.0.2 → sqlcycli-1.0.4/src/sqlcycli.egg-info}/PKG-INFO +38 -10
  41. sqlcycli-1.0.2/src/sqlcycli/constants/_CLIENT.pxd +0 -9
  42. sqlcycli-1.0.2/src/sqlcycli/constants/_COMMAND.pxd +0 -10
  43. sqlcycli-1.0.2/src/sqlcycli/constants/_FIELD_TYPE.pxd +0 -8
  44. sqlcycli-1.0.2/src/sqlcycli/constants/_SERVER_STATUS.pxd +0 -8
  45. sqlcycli-1.0.2/src/sqlcycli/transcode.py +0 -2125
  46. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/LICENSE +0 -0
  47. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/MANIFEST.in +0 -0
  48. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/setup.py +0 -0
  49. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli/__init__.pxd +0 -0
  50. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli/_auth.pxd +0 -0
  51. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli/_auth.py +0 -0
  52. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli/_connect.pxd +0 -0
  53. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli/_connect.py +0 -0
  54. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli/_optionfile.pxd +0 -0
  55. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli/_optionfile.py +0 -0
  56. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli/_ssl.pxd +0 -0
  57. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli/_ssl.py +0 -0
  58. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli/aio/__init__.pxd +0 -0
  59. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli/aio/__init__.py +0 -0
  60. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli/charset.pxd +0 -0
  61. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli/charset.py +0 -0
  62. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli/constants/CLIENT.py +0 -0
  63. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli/constants/COMMAND.py +0 -0
  64. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli/constants/CR.py +0 -0
  65. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli/constants/ER.py +0 -0
  66. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli/constants/FIELD_TYPE.py +0 -0
  67. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli/constants/FLAG.py +0 -0
  68. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli/constants/SERVER_STATUS.py +0 -0
  69. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli/constants/_COMMAND.py +0 -0
  70. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli/constants/_SERVER_STATUS.py +0 -0
  71. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli/constants/__init__.pxd +0 -0
  72. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli/constants/__init__.py +0 -0
  73. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli/errors.pxd +0 -0
  74. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli/protocol.pxd +0 -0
  75. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli/protocol.py +0 -0
  76. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli/utils.pxd +0 -0
  77. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli/utils.py +0 -0
  78. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli.egg-info/SOURCES.txt +0 -0
  79. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli.egg-info/dependency_links.txt +0 -0
  80. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli.egg-info/not-zip-safe +0 -0
  81. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli.egg-info/requires.txt +0 -0
  82. {sqlcycli-1.0.2 → sqlcycli-1.0.4}/src/sqlcycli.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: sqlcycli
3
- Version: 1.0.2
3
+ Version: 1.0.4
4
4
  Summary: Fast MySQL driver build in Cython (Sync and Async).
5
5
  Home-page: https://github.com/AresJef/SQLCyCli
6
6
  Author: Jiefu Chen
@@ -24,31 +24,39 @@ Requires-Dist: mysqlclient>=2.2.0
24
24
  Created to be used in a project, this package is published to github for ease of management and installation across different modules.
25
25
 
26
26
  ### Installation
27
+
27
28
  Install from `PyPi`
28
- ``` bash
29
+
30
+ ```bash
29
31
  pip install sqlcycli
30
32
  ```
31
33
 
32
34
  Install from `github`
33
- ``` bash
35
+
36
+ ```bash
34
37
  pip install git+https://github.com/AresJef/SQLCyCli.git
35
38
  ```
36
39
 
37
40
  For Linux systems, if you encounter the following error when installing the SQLCyCli dependency [mysqlclient](https://github.com/PyMySQL/mysqlclient):
41
+
38
42
  ```
39
43
  Exception: Can not find valid pkg-config name.
40
44
  Specify MYSQLCLIENT_CFLAGS and MYSQLCLIENT_LDFLAGS env vars manually
41
45
  ```
46
+
42
47
  Try the following to fix dependency issue (source: [Stack Overflow](https://stackoverflow.com/questions/76585758/mysqlclient-cannot-install-via-pip-cannot-find-pkg-config-name-in-ubuntu)):
48
+
43
49
  ```bash
44
50
  sudo apt-get install pkg-config python3-dev default-libmysqlclient-dev build-essential
45
51
  ```
46
52
 
47
53
  ### Requirements
54
+
48
55
  - Python 3.10 or higher.
49
56
  - MySQL 5.5 or higher.
50
57
 
51
58
  ### Features
59
+
52
60
  - Written in [Cython](https://cython.org/) for optimal performance (especially for SELECT/INSERT query).
53
61
  - All classes and methods are well documented and static typed.
54
62
  - Supports both `Sync` and `Async` connection to the server.
@@ -56,7 +64,9 @@ sudo apt-get install pkg-config python3-dev default-libmysqlclient-dev build-ess
56
64
  - Support conversion (escape) for most of the native python types, and objects from libaray [numpy](https://github.com/numpy/numpy) and [pandas](https://github.com/pandas-dev/pandas). Does `NOT` support custom conversion (escape).
57
65
 
58
66
  ### Benchmark
67
+
59
68
  The following result comes from [benchmark](./src/benchmark.py):
69
+
60
70
  - Device: MacbookPro M1Pro(2E8P) 32GB
61
71
  - Python: 3.12.4
62
72
  - MySQL: 8.3.0
@@ -64,19 +74,33 @@ The following result comes from [benchmark](./src/benchmark.py):
64
74
  - PyMySQL: 1.1.1
65
75
  - aiomysql: 0.2.0
66
76
  - asyncmy: 0.2.9
77
+
78
+ ```
79
+ # Unit: second | Lower is better
80
+ name type rows insert-per-row insert-bulk select-per-row select-all
81
+ mysqlclient sync 50000 1.730551 0.417242 1.738128 0.119030
82
+ SQLCyCli sync 50000 2.342858 0.291653 2.491601 0.063667
83
+ PyMySQL sync 50000 2.759374 0.424672 4.538553 0.328897
84
+ SQLCyCli async 50000 3.619818 0.292900 4.608713 0.143482
85
+ aiomysql async 50000 3.762054 0.404407 5.547093 0.331927
86
+ asyncmy async 50000 4.026993 0.416270 5.996335 0.324749
87
+ ```
88
+
67
89
  ```
68
90
  # Unit: second | Lower is better
69
- name type rows insert-per-row insert-bulk select-per-row select-all update-per-row update-all delete-per-row delete-all
70
- mysqlclient sync 50000 1.734200 0.427027 1.756226 0.117552 1.901870 0.365056 1.651022 0.131151
71
- SQLCyCli sync 50000 2.203967 0.293410 2.331576 0.062152 2.279076 0.352106 2.115025 0.107902
72
- PyMySQL sync 50000 2.607349 0.412063 4.219286 0.321089 2.572826 0.345419 2.304015 0.104720
73
- SQLCyCli async 50000 3.342991 0.270254 4.297667 0.141201 3.466729 0.346168 3.343880 0.105293
74
- aiomysql async 50000 3.464662 0.384193 5.115068 0.322858 3.582689 0.345661 3.444377 0.104894
75
- asyncmy async 50000 3.851011 0.416715 5.604330 0.314939 3.824736 0.346903 3.580444 0.104748
91
+ name type rows update-per-row update-all delete-per-row delete-all
92
+ mysqlclient sync 50000 1.823490 0.349495 1.585233 0.108128
93
+ SQLCyCli sync 50000 2.478617 0.357437 2.240017 0.111638
94
+ PyMySQL sync 50000 2.845172 0.358968 2.533066 0.111986
95
+ SQLCyCli async 50000 3.651250 0.363093 3.625302 0.110497
96
+ aiomysql async 50000 3.880559 0.358837 3.671028 0.105743
97
+ asyncmy async 50000 3.999616 0.361256 3.801010 0.106062
76
98
  ```
77
99
 
78
100
  ### Usage
101
+
79
102
  #### Use `connect()` to create one connection (`Sync` or `Async`) to the server.
103
+
80
104
  ```python
81
105
  import asyncio
82
106
  import sqlcycli
@@ -112,6 +136,7 @@ if __name__ == "__main__":
112
136
  ```
113
137
 
114
138
  #### Use `create_pool()` to create a Pool for managing and maintaining `Async` connections to the server.
139
+
115
140
  ```python
116
141
  import asyncio
117
142
  import sqlcycli
@@ -171,11 +196,14 @@ if __name__ == "__main__":
171
196
  ```
172
197
 
173
198
  ### Acknowledgements
199
+
174
200
  SQLCyCli is build on top of the following open-source repositories:
201
+
175
202
  - [aiomysql](https://github.com/aio-libs/aiomysql)
176
203
  - [PyMySQL](https://github.com/PyMySQL/PyMySQL)
177
204
 
178
205
  SQLCyCli is based on the following open-source repositories:
206
+
179
207
  - [numpy](https://github.com/numpy/numpy)
180
208
  - [orjson](https://github.com/ijl/orjson)
181
209
  - [pandas](https://github.com/pandas-dev/pandas)
@@ -3,31 +3,39 @@
3
3
  Created to be used in a project, this package is published to github for ease of management and installation across different modules.
4
4
 
5
5
  ### Installation
6
+
6
7
  Install from `PyPi`
7
- ``` bash
8
+
9
+ ```bash
8
10
  pip install sqlcycli
9
11
  ```
10
12
 
11
13
  Install from `github`
12
- ``` bash
14
+
15
+ ```bash
13
16
  pip install git+https://github.com/AresJef/SQLCyCli.git
14
17
  ```
15
18
 
16
19
  For Linux systems, if you encounter the following error when installing the SQLCyCli dependency [mysqlclient](https://github.com/PyMySQL/mysqlclient):
20
+
17
21
  ```
18
22
  Exception: Can not find valid pkg-config name.
19
23
  Specify MYSQLCLIENT_CFLAGS and MYSQLCLIENT_LDFLAGS env vars manually
20
24
  ```
25
+
21
26
  Try the following to fix dependency issue (source: [Stack Overflow](https://stackoverflow.com/questions/76585758/mysqlclient-cannot-install-via-pip-cannot-find-pkg-config-name-in-ubuntu)):
27
+
22
28
  ```bash
23
29
  sudo apt-get install pkg-config python3-dev default-libmysqlclient-dev build-essential
24
30
  ```
25
31
 
26
32
  ### Requirements
33
+
27
34
  - Python 3.10 or higher.
28
35
  - MySQL 5.5 or higher.
29
36
 
30
37
  ### Features
38
+
31
39
  - Written in [Cython](https://cython.org/) for optimal performance (especially for SELECT/INSERT query).
32
40
  - All classes and methods are well documented and static typed.
33
41
  - Supports both `Sync` and `Async` connection to the server.
@@ -35,7 +43,9 @@ sudo apt-get install pkg-config python3-dev default-libmysqlclient-dev build-ess
35
43
  - Support conversion (escape) for most of the native python types, and objects from libaray [numpy](https://github.com/numpy/numpy) and [pandas](https://github.com/pandas-dev/pandas). Does `NOT` support custom conversion (escape).
36
44
 
37
45
  ### Benchmark
46
+
38
47
  The following result comes from [benchmark](./src/benchmark.py):
48
+
39
49
  - Device: MacbookPro M1Pro(2E8P) 32GB
40
50
  - Python: 3.12.4
41
51
  - MySQL: 8.3.0
@@ -43,19 +53,33 @@ The following result comes from [benchmark](./src/benchmark.py):
43
53
  - PyMySQL: 1.1.1
44
54
  - aiomysql: 0.2.0
45
55
  - asyncmy: 0.2.9
56
+
57
+ ```
58
+ # Unit: second | Lower is better
59
+ name type rows insert-per-row insert-bulk select-per-row select-all
60
+ mysqlclient sync 50000 1.730551 0.417242 1.738128 0.119030
61
+ SQLCyCli sync 50000 2.342858 0.291653 2.491601 0.063667
62
+ PyMySQL sync 50000 2.759374 0.424672 4.538553 0.328897
63
+ SQLCyCli async 50000 3.619818 0.292900 4.608713 0.143482
64
+ aiomysql async 50000 3.762054 0.404407 5.547093 0.331927
65
+ asyncmy async 50000 4.026993 0.416270 5.996335 0.324749
66
+ ```
67
+
46
68
  ```
47
69
  # Unit: second | Lower is better
48
- name type rows insert-per-row insert-bulk select-per-row select-all update-per-row update-all delete-per-row delete-all
49
- mysqlclient sync 50000 1.734200 0.427027 1.756226 0.117552 1.901870 0.365056 1.651022 0.131151
50
- SQLCyCli sync 50000 2.203967 0.293410 2.331576 0.062152 2.279076 0.352106 2.115025 0.107902
51
- PyMySQL sync 50000 2.607349 0.412063 4.219286 0.321089 2.572826 0.345419 2.304015 0.104720
52
- SQLCyCli async 50000 3.342991 0.270254 4.297667 0.141201 3.466729 0.346168 3.343880 0.105293
53
- aiomysql async 50000 3.464662 0.384193 5.115068 0.322858 3.582689 0.345661 3.444377 0.104894
54
- asyncmy async 50000 3.851011 0.416715 5.604330 0.314939 3.824736 0.346903 3.580444 0.104748
70
+ name type rows update-per-row update-all delete-per-row delete-all
71
+ mysqlclient sync 50000 1.823490 0.349495 1.585233 0.108128
72
+ SQLCyCli sync 50000 2.478617 0.357437 2.240017 0.111638
73
+ PyMySQL sync 50000 2.845172 0.358968 2.533066 0.111986
74
+ SQLCyCli async 50000 3.651250 0.363093 3.625302 0.110497
75
+ aiomysql async 50000 3.880559 0.358837 3.671028 0.105743
76
+ asyncmy async 50000 3.999616 0.361256 3.801010 0.106062
55
77
  ```
56
78
 
57
79
  ### Usage
80
+
58
81
  #### Use `connect()` to create one connection (`Sync` or `Async`) to the server.
82
+
59
83
  ```python
60
84
  import asyncio
61
85
  import sqlcycli
@@ -91,6 +115,7 @@ if __name__ == "__main__":
91
115
  ```
92
116
 
93
117
  #### Use `create_pool()` to create a Pool for managing and maintaining `Async` connections to the server.
118
+
94
119
  ```python
95
120
  import asyncio
96
121
  import sqlcycli
@@ -150,11 +175,14 @@ if __name__ == "__main__":
150
175
  ```
151
176
 
152
177
  ### Acknowledgements
178
+
153
179
  SQLCyCli is build on top of the following open-source repositories:
180
+
154
181
  - [aiomysql](https://github.com/aio-libs/aiomysql)
155
182
  - [PyMySQL](https://github.com/PyMySQL/PyMySQL)
156
183
 
157
184
  SQLCyCli is based on the following open-source repositories:
185
+
158
186
  - [numpy](https://github.com/numpy/numpy)
159
187
  - [orjson](https://github.com/ijl/orjson)
160
188
  - [pandas](https://github.com/pandas-dev/pandas)
@@ -2,7 +2,7 @@
2
2
  requires = [
3
3
  "setuptools>=68.0.0",
4
4
  "wheel>=0.41.0",
5
- "Cython==3.0.10",
5
+ "Cython>=3.0.10",
6
6
  "numpy>=1.25.2",
7
7
  ]
8
8
  build-backend = "setuptools.build_meta"
@@ -1,6 +1,6 @@
1
1
  [metadata]
2
2
  name = sqlcycli
3
- version = 1.0.2
3
+ version = 1.0.4
4
4
  author = Jiefu Chen
5
5
  author_email = keppa1991@163.com
6
6
  description = Fast MySQL driver build in Cython (Sync and Async).
@@ -1,7 +1,8 @@
1
1
  from sqlcycli import constants, errors
2
+ from sqlcycli._ssl import SSL
2
3
  from sqlcycli._auth import AuthPlugin
3
4
  from sqlcycli._optionfile import OptionFile
4
- from sqlcycli._ssl import SSL, SSL_ENABLED
5
+ from sqlcycli.transcode import escape, BIT, JSON
5
6
  from sqlcycli.charset import Charset, all_charsets
6
7
  from sqlcycli.protocol import MysqlPacket, FieldDescriptorPacket
7
8
  from sqlcycli.connection import (
@@ -20,14 +21,14 @@ from sqlcycli._connect import connect, create_pool
20
21
 
21
22
 
22
23
  __all__ = [
24
+ # Module
23
25
  "constants",
24
26
  "errors",
27
+ # Class
25
28
  "AuthPlugin",
26
29
  "OptionFile",
27
30
  "SSL",
28
- "SSL_ENABLED",
29
31
  "Charset",
30
- "all_charsets",
31
32
  "MysqlPacket",
32
33
  "FieldDescriptorPacket",
33
34
  "Cursor",
@@ -41,6 +42,12 @@ __all__ = [
41
42
  "aio",
42
43
  "Pool",
43
44
  "PoolConnection",
45
+ # Type
46
+ "BIT",
47
+ "JSON",
48
+ # Function
49
+ "all_charsets",
50
+ "escape",
44
51
  "connect",
45
52
  "create_pool",
46
53
  ]