导出Apple Notes到SQLite
项目描述
apple-notes-to-sqlite
导出Apple Notes到SQLite
安装
使用pip
安装此工具
pip install apple-notes-to-sqlite
用法
要获取帮助,请运行
apple-notes-to-sqlite --help
您还可以使用
python -m apple_notes_to_sqlite --help
要保存您的笔记到名为notes.db
的SQLite数据库中,运行
apple-notes-to-sqlite notes.db
将显示进度条。
您可以使用--stop-after
在指定数量的笔记后停止它
apple-notes-to-sqlite notes.db --stop-after 10
开发
要为此工具做出贡献,首先检出代码。然后创建一个新的虚拟环境
cd apple-notes-to-sqlite
python -m venv venv
source venv/bin/activate
现在安装依赖项和测试依赖项
pip install -e '.[test]'
要运行测试
pytest