Easydb
SQLite wrapper that makes it easier to create and manage your DB
Install / Use
/learn @coderholic/EasydbREADME
EasyDB
A really simple SQLite wrapper that saves you from having to worry about creating tables or managing connections.
It can be used on existing SQLite database by simply passing in the database filename:
from easydb import EasyDB
db = EasyDB('filename.db')
cursor = db.query("SELECT * FROM mytable")
New databases can be creating by specifying your schema as a dictionary, eg:
schema = {
'table_name': ['column_name column_type', …],
'table_name': ['column_name column_type', …],
'table_name': ['column_name column_type', …]
}
db = EasyDB('filename.db', schema)
If the database file already exists then the schema won't be updated, but if it doesn't exist then it'll be created with the given schema. Here's a full example:
from easydb import EasyDB
db = EasyDB('my.db', {'users': ['username text', 'description text']})
db.query("INSERT INTO users (username, description) VALUES (?, ?)", ('ben', 'some sort of description'))
for result in db.query("SELECT * FROM users"):
print result
# => ('ben', 'some sort of description')
Related Skills
feishu-drive
339.5k|
things-mac
339.5kManage Things 3 via the `things` CLI on macOS (add/update projects+todos via URL scheme; read/search/list from the local Things database)
clawhub
339.5kUse the ClawHub CLI to search, install, update, and publish agent skills from clawhub.com
yu-ai-agent
2.0k编程导航 2025 年 AI 开发实战新项目,基于 Spring Boot 3 + Java 21 + Spring AI 构建 AI 恋爱大师应用和 ReAct 模式自主规划智能体YuManus,覆盖 AI 大模型接入、Spring AI 核心特性、Prompt 工程和优化、RAG 检索增强、向量数据库、Tool Calling 工具调用、MCP 模型上下文协议、AI Agent 开发(Manas Java 实现)、Cursor AI 工具等核心知识。用一套教程将程序员必知必会的 AI 技术一网打尽,帮你成为 AI 时代企业的香饽饽,给你的简历和求职大幅增加竞争力。
