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.3.0.tar.gz
(10.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.3.0.tar.gz.
File metadata
- Download URL: open_note_core-0.3.0.tar.gz
- Upload date:
- Size: 10.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 |
bd504b13bf054da19a72a54d5ae4917ea68a5a181855ad0d71252499e65702c1
|
|
| MD5 |
a905cd0a91cc4a54e37d5b88ed56bed3
|
|
| BLAKE2b-256 |
19608064d31af8c4fda41aaa55939a58319e89dd2af24d3c4fab448b8d1a70ea
|
File details
Details for the file open_note_core-0.3.0-py3-none-any.whl.
File metadata
- Download URL: open_note_core-0.3.0-py3-none-any.whl
- Upload date:
- Size: 11.6 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 |
35320d01c7513684ade34bcbdc9bb4e7a8a2d5fcdf72b15d865b90cabefea595
|
|
| MD5 |
20da890c0a96a5ec61303eb35d7c2f29
|
|
| BLAKE2b-256 |
0c1f8b777e34a00b69238767680e1d02a912a15ae020fbc07252dad894f356de
|