Minimal version of liferea feed reader in python3 and pyside library.
Main page | Add new subscription |
---|---|
Subscription added | Context menu |
---|---|
File menu | Search result |
---|---|
~ |
- pip3: sudo apt install python3-pip
- pyside: sudo apt install python3-pyside or pip3 install pyside
- pyside-tools: sudo apt install pyside-tools (for generating *.py files from *.ui files)
- pyinstaller: pip3 install pyinstaller (for building standalone builds)
- feedparser: pip3 install feedparser
- moment: pip3 install moment
-
Executing:
- cd dist && ./app or
- python3 app.py
-
To change design
- Open *.ui files in Qt Designer
- pyside-uic filename.ui -o filename.pyinstaller
-
Add resource files
- Copy res file in images directory
- Edit res.qrc file
- Compiled resource files: pyside-rcc res.qrc -o res_rc.py -py3 Note: Output file must be res_rc.py, -py3 is must for python3 interpreter
Note: Some features may not work as they are not complete
-
Folders
-
build/: Contains build files, auto generated by pyinstaller.
-
dist/: Contains excutable files, generated by pyinstaller.
-
images/: Contains image resources to be used in app. All image resource must be added in res.qrc filebefore using in in code.
-
designer/: Contains *.ui files which are generated by QtDesigner. Not to be edited directly.
-
view/: Contains view(ui) files, compiled **.ui from designer directory by pyside-uic compiler . Not to be edited directly. Modify designer file using QtDesigner and recompile *.ui file.
-
controller/: Container controller and modal part of MVC architecture. It contains all controlling components of the app.
-
helpers/: Contains helper function used across the app.
-
config/: Currently contains only database files.
-
-
Files
-
app.py:
- App entry point.
- Initilizeses all components, connect required signals and slots.
-
res_rc.py:
- Generated by pyside-rcc. Not to be edited.
-
app.spec:
- Generated by pyinstaller. Not to be edited.
-