一个不安全的 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 details)
Built Distribution
File details
Details for the file sqlite3helper-2.3.0.tar.gz
.
File metadata
- Download URL: sqlite3helper-2.3.0.tar.gz
- Upload date:
- Size: 23.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 951519a7690d508cc9a0ddb5bf2d792a0cfb29d4c7ed783be95ec0c72a44f12e |
|
MD5 | fe867194ea551b10f052c25d5753d861 |
|
BLAKE2b-256 | 616170f2758600424af2d7a201c36a774e7ef7562cc2aaa73eb546a604b5ea5d |
File details
Details for the file Sqlite3Helper-2.3.0-py3-none-any.whl
.
File metadata
- Download URL: Sqlite3Helper-2.3.0-py3-none-any.whl
- Upload date:
- Size: 22.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11abc98111aed1c97cc79d8bcd6f385b4d65a7220102da840f70ff992f0f8513 |
|
MD5 | 6e8894b4177c6eb3030f68883d489bf4 |
|
BLAKE2b-256 | 5fca793b77cb135240b06af22bd8f27eaee16f39d11f4f104960e68d8c7201f9 |