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.3.1.tar.gz (10.7 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.3.1-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: open_note_core-0.3.1.tar.gz
  • Upload date:
  • Size: 10.7 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.3.1.tar.gz
Algorithm Hash digest
SHA256 585a5051e1f7f36c9c401a58febe542075bbbe0ea72bc25e055d1f96a84ddb35
MD5 9b9e352ae761fd62026fed4cd2e97f9a
BLAKE2b-256 e1ad30b98178bdb6d295092be50ace54e50a91cd0fb44058e020e6429b818063

See more details on using hashes here.

File details

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

File metadata

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

Hashes for open_note_core-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0d0a69b4939409eba54e37c6dacc1c24bb3237356c840732c602a2d33d8ed85d
MD5 3018bdc40d47848281a529eabdbd6fb8
BLAKE2b-256 a5388ce0287f23877d43c0abec0773d5920b0db546154c650e1f4812942256e9

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