Skip to main content

talksql

Examples

ipcfg = {
    'user': '',
    'password': '',
    'host': '',
	'db':'' }

cfg = { 'socket':"/tmp/mysql.sock",
    'user': '',
    'password': '',
    'host': '',
	'db':'' }

from talksql import *
con = ipconnect(ipcfg) #or
con = sockconnect(cfg)
#con is mysql connector connection object

Get a resultset

from talksql import *
sql="select * from table where .." 
rs,c = xecrs(con,sql)
#rs is array for rows and columns of resultset
#c is cursor mysql connection 
# - go to mysql connector if you have to use the cursor to iterate
#this works unless you need to deal with large datasets

Sub data and get a resultset

from talksql import *
sql="select * from table where column=%s"
data=(value,)
#data is %s sub-ed  
rs,c = xecrs(con,sql,data)
from talksql import *
sql="delete from table"
#data is %s sub-ed if given like resultset  
c = xec(con,sql)
#c is the cursor

Few more

sqlaofa, sqlaofd are experimental and only works as string data

Metadata

Release files for talksql 1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for talksql 1.3
File Size Uploaded Provenance Actions
talksql-1.3.tar.gz 4.4 kB Without provenance Details for talksql-1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for talksql 1.3
File Interpreter ABI Platform Actions
talksql-1.3-py3-none-any.whl Python 3 none any Details for talksql-1.3-py3-none-any.whl

Total release size: 8.9 kB

Release files / talksql-1.3.tar.gz

Download URL talksql-1.3.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
0916225ad6a2bd427ee3b22268e4fb5e8e2322735055a05e51439bcc0cc7fe38
BLAKE2b-256 checksum
How to use checksums
408aeee73bfd3e5619949577484afc19685b920b0ea58e174389af1806f591ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.4

Release files / talksql-1.3-py3-none-any.whl

Download URL talksql-1.3-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9877fd30d1785329337ee2b6c8ef5b46b2f8bd7a6658ceb2ea6e698f83dd28f7
BLAKE2b-256 checksum
How to use checksums
cef0af17fa090849da9e58bdfa3e8480ca4f62b42c1c0deabdcd513e5fc8c288
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.4

Security for talksql 1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page