pip install -r requirements.txt
uvicorn server:app --reload --port
- Generate eml file with attachments for testing. (QQ mail website can export mail to eml.)
- Use Python to extract information from email.
- Use Python to extract information from emails' attachments.
- txt
- docx
- pptx
- xlsx
- Keyword query.
- Use PyQt to create a GUI.
-
Package into an exe file. - Use multi-threaded / multi-process acceleration.
- Separate the UI & query part first.
- Use multi-processes accelerate the query.
- Make full use of the given memory to speed up the query.
- Use FastAPI to create a http server.
- Use React to create a web application.
pip install pyinstaller
pyinstaller -F -w main.py
And add this in the generated main.spec
:
import sys
sys.setrecursionlimit(5000)
Then run:
pyinstaller main.spec