This is a tool to search key word in a folder.
Project description
📦 Note_search 用户手册
安装
pip install Note_search
需求
为了解决用户查找自己笔记的需求,希望在短时间内寻找到自己需要的笔记。
难点
- 文件路径处理
- 各个文件读取
- 汇总数据储存方法,csv,xlsx,sql
- 汇总存储时数据格式
- 启动程序时提问是都更新索引数据
- 检索数据时返回数据结果格式: “文件名称:path + 是否自动打开文件,是否快速获取笔记简介,笔记所处行数”
预期功能
一、交互
- 获取用户输入 2. 获取用户要查询的路径 3. 新路径 4. 默认路径 3. 获取用户要查询的内容
二、结果
- 查询到结果则返回结果「该文件路径」和部分内容「前100字」 2. 并提示是否自动打开文件 3. 打开错误则返回报错信息
- 无结果则返回提示
- 询问是否继续查询 4. 继续查询输入 1 5. 结束查询输入 0
三、特殊功能
- 每次程序启动询问是否要生成新的检索文件「意为:"生成数据库"」——update 2. up:更新 3. noup:不更新
扩展:
- 简易文件下载器
- GUI or web
开发日志
- 2022年09月30日
- 读取文件时如何剔除空行,处理的方式记录在了github。
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
NoteBookSearch-0.0.6.tar.gz
(10.1 kB
view hashes)
Built Distribution
Close
Hashes for NoteBookSearch-0.0.6-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec1c39b5eb6bd82368b1eec1b8a82a228fb9a2205f7669b8ff147dff7f95bd89 |
|
MD5 | 1aa3be111f610a136d2613e26f2bedf5 |
|
BLAKE2b-256 | fdbc0d55619639dc4123dc44279ad82cd29ad6f879627a9852ad779255036932 |