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.2.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.2-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: open_note_core-0.3.2.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.2.tar.gz
Algorithm Hash digest
SHA256 bc02a7a4f6129bec6f056682e96f96c229905610707602a682fad0e881a311e3
MD5 dffd94442fe3d304200ebda4d65a95e5
BLAKE2b-256 5d8fd9789b75fb69f03cb7570c73be52960d309791eaccf791d8462e3c45ac0c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: open_note_core-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 12.2 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 861f846a2c1d6dfcac2cf56b0d7f6dae0fa81e1619cb1b2044a5af8869e18ea2
MD5 ec39a6c5b8783541109870c98895da35
BLAKE2b-256 bc1f4814b015b823d2b663960c4888cd0ab50919bf8eebd84e249bf90f6cc663

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