BatisX 2.2.2__tar.gz → 2.2.3__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.
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: batisx
3
- Version: 2.2.2
4
- Summary: A thread safe sql executor for Python like MyBatis with connection pool. It helps you automatically manage database connections and transactions. It also provides ORM operations for single tables.
3
+ Version: 2.2.3
4
+ Summary: A easy thread safe sql executor for Python like MyBatis with connection pool. It helps you automatically manage database connections and transactions. It also provides ORM operations for single tables.
5
5
  Home-page: https://gitee.com/summry/batisx
6
6
  Author: summy
7
7
  Author-email: xiazhongbiao@126.com
@@ -142,16 +142,16 @@ Transaction
142
142
 
143
143
  .. code:: python
144
144
 
145
- from batisx import with_transaction, transaction
145
+ from batisx import trans
146
146
 
147
- @with_transaction
147
+ @trans
148
148
  def test_transaction():
149
149
  insert_func(....)
150
150
  update_func(....)
151
151
 
152
152
 
153
153
  def test_transaction2():
154
- with transaction():
154
+ with trans():
155
155
  insert_func(....)
156
156
  update_func(....)
157
157
 
@@ -129,16 +129,16 @@ Transaction
129
129
 
130
130
  .. code:: python
131
131
 
132
- from batisx import with_transaction, transaction
132
+ from batisx import trans
133
133
 
134
- @with_transaction
134
+ @trans
135
135
  def test_transaction():
136
136
  insert_func(....)
137
137
  update_func(....)
138
138
 
139
139
 
140
140
  def test_transaction2():
141
- with transaction():
141
+ with trans():
142
142
  insert_func(....)
143
143
  update_func(....)
144
144
 
@@ -1,8 +1,6 @@
1
1
  from mysqlx import (
2
- connection,
3
- transaction,
4
- with_connection,
5
- with_transaction,
2
+ conn,
3
+ trans,
6
4
  get_connection,
7
5
  close,
8
6
  Driver,
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: batisx
3
- Version: 2.2.2
4
- Summary: A thread safe sql executor for Python like MyBatis with connection pool. It helps you automatically manage database connections and transactions. It also provides ORM operations for single tables.
3
+ Version: 2.2.3
4
+ Summary: A easy thread safe sql executor for Python like MyBatis with connection pool. It helps you automatically manage database connections and transactions. It also provides ORM operations for single tables.
5
5
  Home-page: https://gitee.com/summry/batisx
6
6
  Author: summy
7
7
  Author-email: xiazhongbiao@126.com
@@ -142,16 +142,16 @@ Transaction
142
142
 
143
143
  .. code:: python
144
144
 
145
- from batisx import with_transaction, transaction
145
+ from batisx import trans
146
146
 
147
- @with_transaction
147
+ @trans
148
148
  def test_transaction():
149
149
  insert_func(....)
150
150
  update_func(....)
151
151
 
152
152
 
153
153
  def test_transaction2():
154
- with transaction():
154
+ with trans():
155
155
  insert_func(....)
156
156
  update_func(....)
157
157
 
@@ -0,0 +1 @@
1
+ mysqlx>=2.2.5
@@ -14,13 +14,13 @@ long_description = read("README.rst")
14
14
  setup(
15
15
  name='batisx',
16
16
  packages=['batisx'],
17
- description="A thread safe sql executor for Python like MyBatis with connection pool. It helps you automatically manage database connections and transactions. It also provides ORM operations for single tables.",
17
+ description="A easy thread safe sql executor for Python like MyBatis with connection pool. It helps you automatically manage database connections and transactions. It also provides ORM operations for single tables.",
18
18
  long_description=long_description,
19
19
  long_description_content_type='text/markdown',
20
20
  install_requires=[
21
- 'mysqlx>=2.2.2',
21
+ 'mysqlx>=2.2.5',
22
22
  ],
23
- version='2.2.2',
23
+ version='2.2.3',
24
24
  url='https://gitee.com/summry/batisx',
25
25
  author='summy',
26
26
  author_email='xiazhongbiao@126.com',
@@ -1 +0,0 @@
1
- mysqlx>=2.2.2
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes