a lite mysql connector… Name from the Lord of Ring
<=========how to use=========>
from anduin.server import Data
- cond = [
(col1,’=’,val1), (col2,’=’,val2), ….]
- fields = [
col1, col2 …]
- params = {
key1:val1, key2:val2, …}
find one line of data:
Data.find(__TableName__,conditions=cond,fields=fields)
return a python dict like { col1:value1,col2:value2…}
find datas
Data.select(__TableName__,conditions=cond,fields=fields)
return a python list like [{ col1:value1,col2:value2…}]
update data:
Data.update(__TableName__,conditions=cond,params=params)
return None
insert data:
Data.insert(__TableName__,params=params)
return None
delete data:
Data.delete(__TableName__,conditions=cond)
return None
using Data.query() to execute sql directly like Data.query(‘select * from table’)
Metadata
Release files for anduindata 1.3.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| anduindata-1.3.4.tar.gz | 9.2 kB | Without provenance | Details for anduindata-1.3.4.tar.gz |
Release files / anduindata-1.3.4.tar.gz
| Download URL | anduindata-1.3.4.tar.gz |
|---|---|
| Size | 9.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
78e93ac24cfdbbb891c880beaf0b8be5477117d5e66ae343d942d11ba36e1847
|
|
BLAKE2b-256 checksum How to use checksums |
db24682f3669a0cf260aaae1bdeef10632d53bd66423411a92e5a9a884999d54
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5
|
Security for anduindata 1.3.4
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.