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/
|
debug_log/
|
||||||
.ropeproject/
|
.ropeproject/
|
||||||
__pycache__/
|
__pycache__/
|
||||||
|
config/settings.yaml
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
# Changelog
|
# 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.x
|
||||||
### 0.1.1
|
### 0.1.1
|
||||||
- **Add Original to add Timestamp to Images**
|
- **Add Original to add Timestamp to Images**
|
||||||
|
|
10
main.py
10
main.py
|
@ -1,14 +1,14 @@
|
||||||
import os
|
import os
|
||||||
import re
|
import re
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
from utility import Utilities
|
from utils.utility import Utilities
|
||||||
from image_handler import ImageProcessor, ExifHandler
|
from utils.image_handler import ImageProcessor, ExifHandler
|
||||||
from tui import SimpleTUI
|
from ui.tui import SimpleTUI
|
||||||
|
|
||||||
class Optima35:
|
class Optima35:
|
||||||
# The layout of class Optima35 was originally made by ChatGPT, but major adjustments have been made. To remain transparent, I disclose this.
|
# 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):
|
def __init__(self, settings_file, exif_options_file):
|
||||||
self.version = "0.1.1"
|
self.version = "0.2.0"
|
||||||
self.utilities = Utilities()
|
self.utilities = Utilities()
|
||||||
self.image_processor = ImageProcessor()
|
self.image_processor = ImageProcessor()
|
||||||
self.exif_handler = ExifHandler()
|
self.exif_handler = ExifHandler()
|
||||||
|
@ -286,5 +286,5 @@ class Optima35:
|
||||||
print("Done")
|
print("Done")
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
app = Optima35("settings.yaml", "exif_options.yaml")
|
app = Optima35("config/settings.yaml", "config/exif_options.yaml")
|
||||||
app.run()
|
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