一个不安全的 sqlite3 包装库
Project description
Sqlite3Helper
一个不安全的 sqlite3 包装库
介绍
因本人总是记不住 SQLite 的那些 SQL 语法,在 Python 里使用 sqlite3 这个库的时候每次都得去查语法,甚是烦躁,于是就编写了这个包装库,把常用的数据库操作都封装成了函数。
说这个库不安全,是因为这个库没有处理 SQL 注入攻击的问题。本来也就是自己用一用,注入攻击这么复杂的问题,还是先放一放吧。
安装
pip install Sqlite3Helper
安装可选的加密功能
需 2.2.6 版本以上,2.2.6 版本之前是强制安装的
pip install Sqlite3Helper[crypto]
示例
点击 这里 查看基本使用。
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sqlite3helper-2.3.0.tar.gz
(23.8 kB
view hashes)
Built Distribution
Close
Hashes for Sqlite3Helper-2.3.0-py3-none-any.whl
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 | 11abc98111aed1c97cc79d8bcd6f385b4d65a7220102da840f70ff992f0f8513 |
|
| MD5 | 6e8894b4177c6eb3030f68883d489bf4 |
|
| BLAKE2b-256 | 5fca793b77cb135240b06af22bd8f27eaee16f39d11f4f104960e68d8c7201f9 |