OpenNote 核心库 - 数据模型和 SQLite 存储层
Project description
open-note-core
OpenNote 核心库 - 数据模型和 SQLite 存储层。
功能
- SQLite 笔记数据存储(跨平台:macOS/Linux/Windows)
- 笔记、标签、分类、聊天消息、Agent 记忆的模型定义
- 数据库迁移和表管理
安装
pip install open-note-core
使用
from open_note_core.storage.note_storage import NoteStorage
storage = NoteStorage()
# 创建笔记
note = storage.create_note("标题", "内容", category="工作", tags=["重要"])
# 获取笔记列表
notes = storage.get_notes(limit=10)
# 搜索笔记
results = storage.search_notes("关键词")
许可证
- MIT
- Apache 2.0
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
open_note_core-0.2.0.tar.gz
(9.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file open_note_core-0.2.0.tar.gz.
File metadata
- Download URL: open_note_core-0.2.0.tar.gz
- Upload date:
- Size: 9.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0913bdb0d763f8c51068e9de88c73246cc91a167208793a4ccdceca7998a2684
|
|
| MD5 |
e1529a609c752f35e3c72891964feddb
|
|
| BLAKE2b-256 |
739ee6f3a37107137b0755cfe4470f6062081378deb577b9c1c74a508028aec1
|
File details
Details for the file open_note_core-0.2.0-py3-none-any.whl.
File metadata
- Download URL: open_note_core-0.2.0-py3-none-any.whl
- Upload date:
- Size: 10.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8c71f6686af31bae2e55d4805314499f28dec93930fc5d084f7f95b053dd56ca
|
|
| MD5 |
d34accf4ee71db723b0d65f5fa12d7c9
|
|
| BLAKE2b-256 |
319e3c9db8e6269ab579dc72745e32f50eccb66ababb26e9e1743e200c3720ac
|