Merge branch 'feature/ui' into 'main'

Cleaner structure

See merge request python_projects3802849/optima-35!3
This commit is contained in:
Mr Finchum 2024-12-27 23:46:16 +00:00
commit 2fd144cfd3
9 changed files with 11 additions and 5 deletions

1
.gitignore vendored
View file

@ -3,3 +3,4 @@ debug.*
debug_log/
.ropeproject/
__pycache__/
config/settings.yaml

View file

@ -1,5 +1,10 @@
# Changelog
## 0.2.x
### 0.2.0
- **Cleaner folder structure**
- Moving files with classes to different folder to keep project cleaner.
## 0.1.x
### 0.1.1
- **Add Original to add Timestamp to Images**

10
main.py
View file

@ -1,14 +1,14 @@
import os
import re
from datetime import datetime
from utility import Utilities
from image_handler import ImageProcessor, ExifHandler
from tui import SimpleTUI
from utils.utility import Utilities
from utils.image_handler import ImageProcessor, ExifHandler
from ui.tui import SimpleTUI
class Optima35:
# The layout of class Optima35 was originally made by ChatGPT, but major adjustments have been made. To remain transparent, I disclose this.
def __init__(self, settings_file, exif_options_file):
self.version = "0.1.1"
self.version = "0.2.0"
self.utilities = Utilities()
self.image_processor = ImageProcessor()
self.exif_handler = ExifHandler()
@ -286,5 +286,5 @@ class Optima35:
print("Done")
if __name__ == "__main__":
app = Optima35("settings.yaml", "exif_options.yaml")
app = Optima35("config/settings.yaml", "config/exif_options.yaml")
app.run()

0
ui/__init__.py Normal file
View file

View file

0
utils/__init__.py Normal file
View file