Skip to main content

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.1.0.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

open_note_core-0.1.0-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

Details for the file open_note_core-0.1.0.tar.gz.

File metadata

  • Download URL: open_note_core-0.1.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

Hashes for open_note_core-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f0ff42a51599bde3c3cbc7e94d18ddfe90e6fafd42f70bef707b1d01e70c2233
MD5 d47b3a66d8499e393f3f17750732c532
BLAKE2b-256 2691a2af03ef2e4362b3af1815dfba9e15e6ec27a1bbcae533e38b2cd3384239

See more details on using hashes here.

File details

Details for the file open_note_core-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: open_note_core-0.1.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

Hashes for open_note_core-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 65e688a7091e8a60e01530d9e5701f65aa4b68c1bd5ea5a231174e7c878b613b
MD5 838db3d24555e85c26cfb18418e69c9d
BLAKE2b-256 cad5fecefde283a87c64464369a960e64bd72c2e64316b5d9b612462da86ec92

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page