talksql 1.2__tar.gz → 1.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.
- talksql-1.3/PKG-INFO +82 -0
- {talksql-1.2 → talksql-1.3}/setup.py +1 -1
- talksql-1.3/talksql.egg-info/PKG-INFO +82 -0
- talksql-1.2/PKG-INFO +0 -72
- talksql-1.2/talksql.egg-info/PKG-INFO +0 -72
- {talksql-1.2 → talksql-1.3}/README.md +0 -0
- {talksql-1.2 → talksql-1.3}/setup.cfg +0 -0
- {talksql-1.2 → talksql-1.3}/talksql/__init__.py +0 -0
- {talksql-1.2 → talksql-1.3}/talksql/sqli.py +0 -0
- {talksql-1.2 → talksql-1.3}/talksql.egg-info/SOURCES.txt +0 -0
- {talksql-1.2 → talksql-1.3}/talksql.egg-info/dependency_links.txt +0 -0
- {talksql-1.2 → talksql-1.3}/talksql.egg-info/not-zip-safe +0 -0
- {talksql-1.2 → talksql-1.3}/talksql.egg-info/top_level.txt +0 -0
talksql-1.3/PKG-INFO
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: talksql
|
|
3
|
+
Version: 1.3
|
|
4
|
+
Summary: A utility package for sql work
|
|
5
|
+
Home-page: https://www.github.com/madhukumarseshadri/talkweb3
|
|
6
|
+
Author: Madhukumar Seshadri
|
|
7
|
+
Author-email: madhukumarseshadri@gmail.com
|
|
8
|
+
License: MIT License
|
|
9
|
+
Platform: any
|
|
10
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
11
|
+
Classifier: Environment :: Web Environment
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
14
|
+
Classifier: Operating System :: OS Independent
|
|
15
|
+
Classifier: Programming Language :: Python
|
|
16
|
+
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
|
|
17
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
18
|
+
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
|
|
19
|
+
Description-Content-Type: text/markdown
|
|
20
|
+
Dynamic: author
|
|
21
|
+
Dynamic: author-email
|
|
22
|
+
Dynamic: classifier
|
|
23
|
+
Dynamic: description
|
|
24
|
+
Dynamic: description-content-type
|
|
25
|
+
Dynamic: home-page
|
|
26
|
+
Dynamic: license
|
|
27
|
+
Dynamic: platform
|
|
28
|
+
Dynamic: summary
|
|
29
|
+
|
|
30
|
+
# talksql
|
|
31
|
+
|
|
32
|
+
## Examples
|
|
33
|
+
|
|
34
|
+
```python
|
|
35
|
+
ipcfg = {
|
|
36
|
+
'user': '',
|
|
37
|
+
'password': '',
|
|
38
|
+
'host': '',
|
|
39
|
+
'db':'' }
|
|
40
|
+
|
|
41
|
+
cfg = { 'socket':"/tmp/mysql.sock",
|
|
42
|
+
'user': '',
|
|
43
|
+
'password': '',
|
|
44
|
+
'host': '',
|
|
45
|
+
'db':'' }
|
|
46
|
+
|
|
47
|
+
from talksql import *
|
|
48
|
+
con = ipconnect(ipcfg) #or
|
|
49
|
+
con = sockconnect(cfg)
|
|
50
|
+
#con is mysql connector connection object
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
## Get a resultset
|
|
54
|
+
```python
|
|
55
|
+
from talksql import *
|
|
56
|
+
sql="select * from table where .."
|
|
57
|
+
rs,c = xecrs(con,sql)
|
|
58
|
+
#rs is array for rows and columns of resultset
|
|
59
|
+
#c is cursor mysql connection
|
|
60
|
+
# - go to mysql connector if you have to use the cursor to iterate
|
|
61
|
+
#this works unless you need to deal with large datasets
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
## Sub data and get a resultset
|
|
65
|
+
```python
|
|
66
|
+
from talksql import *
|
|
67
|
+
sql="select * from table where column=%s"
|
|
68
|
+
data=(value,)
|
|
69
|
+
#data is %s sub-ed
|
|
70
|
+
rs,c = xecrs(con,sql,data)
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
```python
|
|
74
|
+
from talksql import *
|
|
75
|
+
sql="delete from table"
|
|
76
|
+
#data is %s sub-ed if given like resultset
|
|
77
|
+
c = xec(con,sql)
|
|
78
|
+
#c is the cursor
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
## Few more
|
|
82
|
+
sqlaofa, sqlaofd are experimental and only works as string data
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: talksql
|
|
3
|
+
Version: 1.3
|
|
4
|
+
Summary: A utility package for sql work
|
|
5
|
+
Home-page: https://www.github.com/madhukumarseshadri/talkweb3
|
|
6
|
+
Author: Madhukumar Seshadri
|
|
7
|
+
Author-email: madhukumarseshadri@gmail.com
|
|
8
|
+
License: MIT License
|
|
9
|
+
Platform: any
|
|
10
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
11
|
+
Classifier: Environment :: Web Environment
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
14
|
+
Classifier: Operating System :: OS Independent
|
|
15
|
+
Classifier: Programming Language :: Python
|
|
16
|
+
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
|
|
17
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
18
|
+
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
|
|
19
|
+
Description-Content-Type: text/markdown
|
|
20
|
+
Dynamic: author
|
|
21
|
+
Dynamic: author-email
|
|
22
|
+
Dynamic: classifier
|
|
23
|
+
Dynamic: description
|
|
24
|
+
Dynamic: description-content-type
|
|
25
|
+
Dynamic: home-page
|
|
26
|
+
Dynamic: license
|
|
27
|
+
Dynamic: platform
|
|
28
|
+
Dynamic: summary
|
|
29
|
+
|
|
30
|
+
# talksql
|
|
31
|
+
|
|
32
|
+
## Examples
|
|
33
|
+
|
|
34
|
+
```python
|
|
35
|
+
ipcfg = {
|
|
36
|
+
'user': '',
|
|
37
|
+
'password': '',
|
|
38
|
+
'host': '',
|
|
39
|
+
'db':'' }
|
|
40
|
+
|
|
41
|
+
cfg = { 'socket':"/tmp/mysql.sock",
|
|
42
|
+
'user': '',
|
|
43
|
+
'password': '',
|
|
44
|
+
'host': '',
|
|
45
|
+
'db':'' }
|
|
46
|
+
|
|
47
|
+
from talksql import *
|
|
48
|
+
con = ipconnect(ipcfg) #or
|
|
49
|
+
con = sockconnect(cfg)
|
|
50
|
+
#con is mysql connector connection object
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
## Get a resultset
|
|
54
|
+
```python
|
|
55
|
+
from talksql import *
|
|
56
|
+
sql="select * from table where .."
|
|
57
|
+
rs,c = xecrs(con,sql)
|
|
58
|
+
#rs is array for rows and columns of resultset
|
|
59
|
+
#c is cursor mysql connection
|
|
60
|
+
# - go to mysql connector if you have to use the cursor to iterate
|
|
61
|
+
#this works unless you need to deal with large datasets
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
## Sub data and get a resultset
|
|
65
|
+
```python
|
|
66
|
+
from talksql import *
|
|
67
|
+
sql="select * from table where column=%s"
|
|
68
|
+
data=(value,)
|
|
69
|
+
#data is %s sub-ed
|
|
70
|
+
rs,c = xecrs(con,sql,data)
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
```python
|
|
74
|
+
from talksql import *
|
|
75
|
+
sql="delete from table"
|
|
76
|
+
#data is %s sub-ed if given like resultset
|
|
77
|
+
c = xec(con,sql)
|
|
78
|
+
#c is the cursor
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
## Few more
|
|
82
|
+
sqlaofa, sqlaofd are experimental and only works as string data
|
talksql-1.2/PKG-INFO
DELETED
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: talksql
|
|
3
|
-
Version: 1.2
|
|
4
|
-
Summary: A utility package for sql work
|
|
5
|
-
Home-page: https://www.github.com/madhukumarseshadri/talkweb3
|
|
6
|
-
Author: Madhukumar Seshadri
|
|
7
|
-
Author-email: madhukumarseshadri@gmail.com
|
|
8
|
-
License: MIT License
|
|
9
|
-
Description: # talksql
|
|
10
|
-
|
|
11
|
-
## Examples
|
|
12
|
-
|
|
13
|
-
```python
|
|
14
|
-
ipcfg = {
|
|
15
|
-
'user': '',
|
|
16
|
-
'password': '',
|
|
17
|
-
'host': '',
|
|
18
|
-
'db':'' }
|
|
19
|
-
|
|
20
|
-
cfg = { 'socket':"/tmp/mysql.sock",
|
|
21
|
-
'user': '',
|
|
22
|
-
'password': '',
|
|
23
|
-
'host': '',
|
|
24
|
-
'db':'' }
|
|
25
|
-
|
|
26
|
-
from talksql import *
|
|
27
|
-
con = ipconnect(ipcfg) #or
|
|
28
|
-
con = sockconnect(cfg)
|
|
29
|
-
#con is mysql connector connection object
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
## Get a resultset
|
|
33
|
-
```python
|
|
34
|
-
from talksql import *
|
|
35
|
-
sql="select * from table where .."
|
|
36
|
-
rs,c = xecrs(con,sql)
|
|
37
|
-
#rs is array for rows and columns of resultset
|
|
38
|
-
#c is cursor mysql connection
|
|
39
|
-
# - go to mysql connector if you have to use the cursor to iterate
|
|
40
|
-
#this works unless you need to deal with large datasets
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
## Sub data and get a resultset
|
|
44
|
-
```python
|
|
45
|
-
from talksql import *
|
|
46
|
-
sql="select * from table where column=%s"
|
|
47
|
-
data=(value,)
|
|
48
|
-
#data is %s sub-ed
|
|
49
|
-
rs,c = xecrs(con,sql,data)
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
```python
|
|
53
|
-
from talksql import *
|
|
54
|
-
sql="delete from table"
|
|
55
|
-
#data is %s sub-ed if given like resultset
|
|
56
|
-
c = xec(con,sql)
|
|
57
|
-
#c is the cursor
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
## Few more
|
|
61
|
-
sqlaofa, sqlaofd are experimental and only works as string data
|
|
62
|
-
Platform: any
|
|
63
|
-
Classifier: Development Status :: 5 - Production/Stable
|
|
64
|
-
Classifier: Environment :: Web Environment
|
|
65
|
-
Classifier: Intended Audience :: Developers
|
|
66
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
67
|
-
Classifier: Operating System :: OS Independent
|
|
68
|
-
Classifier: Programming Language :: Python
|
|
69
|
-
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
|
|
70
|
-
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
71
|
-
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
|
|
72
|
-
Description-Content-Type: text/markdown
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: talksql
|
|
3
|
-
Version: 1.2
|
|
4
|
-
Summary: A utility package for sql work
|
|
5
|
-
Home-page: https://www.github.com/madhukumarseshadri/talkweb3
|
|
6
|
-
Author: Madhukumar Seshadri
|
|
7
|
-
Author-email: madhukumarseshadri@gmail.com
|
|
8
|
-
License: MIT License
|
|
9
|
-
Description: # talksql
|
|
10
|
-
|
|
11
|
-
## Examples
|
|
12
|
-
|
|
13
|
-
```python
|
|
14
|
-
ipcfg = {
|
|
15
|
-
'user': '',
|
|
16
|
-
'password': '',
|
|
17
|
-
'host': '',
|
|
18
|
-
'db':'' }
|
|
19
|
-
|
|
20
|
-
cfg = { 'socket':"/tmp/mysql.sock",
|
|
21
|
-
'user': '',
|
|
22
|
-
'password': '',
|
|
23
|
-
'host': '',
|
|
24
|
-
'db':'' }
|
|
25
|
-
|
|
26
|
-
from talksql import *
|
|
27
|
-
con = ipconnect(ipcfg) #or
|
|
28
|
-
con = sockconnect(cfg)
|
|
29
|
-
#con is mysql connector connection object
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
## Get a resultset
|
|
33
|
-
```python
|
|
34
|
-
from talksql import *
|
|
35
|
-
sql="select * from table where .."
|
|
36
|
-
rs,c = xecrs(con,sql)
|
|
37
|
-
#rs is array for rows and columns of resultset
|
|
38
|
-
#c is cursor mysql connection
|
|
39
|
-
# - go to mysql connector if you have to use the cursor to iterate
|
|
40
|
-
#this works unless you need to deal with large datasets
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
## Sub data and get a resultset
|
|
44
|
-
```python
|
|
45
|
-
from talksql import *
|
|
46
|
-
sql="select * from table where column=%s"
|
|
47
|
-
data=(value,)
|
|
48
|
-
#data is %s sub-ed
|
|
49
|
-
rs,c = xecrs(con,sql,data)
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
```python
|
|
53
|
-
from talksql import *
|
|
54
|
-
sql="delete from table"
|
|
55
|
-
#data is %s sub-ed if given like resultset
|
|
56
|
-
c = xec(con,sql)
|
|
57
|
-
#c is the cursor
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
## Few more
|
|
61
|
-
sqlaofa, sqlaofd are experimental and only works as string data
|
|
62
|
-
Platform: any
|
|
63
|
-
Classifier: Development Status :: 5 - Production/Stable
|
|
64
|
-
Classifier: Environment :: Web Environment
|
|
65
|
-
Classifier: Intended Audience :: Developers
|
|
66
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
67
|
-
Classifier: Operating System :: OS Independent
|
|
68
|
-
Classifier: Programming Language :: Python
|
|
69
|
-
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
|
|
70
|
-
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
71
|
-
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
|
|
72
|
-
Description-Content-Type: text/markdown
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|