Cleaner structure
This commit is contained in:
parent
033a021db7
commit
73a1d877a5
9 changed files with 11 additions and 5 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -3,3 +3,4 @@ debug.*
|
|||
debug_log/
|
||||
.ropeproject/
|
||||
__pycache__/
|
||||
config/settings.yaml
|
||||
|
|
|
@ -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
10
main.py
|
@ -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
0
ui/__init__.py
Normal file
0
utils/__init__.py
Normal file
0
utils/__init__.py
Normal file
Loading…
Add table
Add a link
Reference in a new issue