203 Commits

Author SHA1 Message Date
9a4d2df32d Use pathlib.Path for paths in MasterFileProcessor/FileProcessor 2023-05-12 02:41:06 -05:00
76182fe2f3 Move constants into constants.py 2023-05-12 02:40:15 -05:00
5648c5533c Create walkable fixture 2023-05-12 02:39:31 -05:00
fa66b3b09d Add testing for walk() function 2023-05-12 02:26:28 -05:00
ceecaf4d22 Add abstract Tagger, IPTCTagger implementation 2023-05-12 00:34:44 -05:00
087656ca0b Add pytest, add basic byte conversion testing 2023-05-12 00:06:52 -05:00
60abf999e0 Fix byte magnitude generation, fix ebibyte constraint, harsher constraints for byte conversion RegEx 2023-05-12 00:03:58 -05:00
99ed82dedb Add black dev package, synchronize setup.py 2023-05-11 23:49:41 -05:00
baa6ae208a Update click to 8.1.x 2023-05-11 23:46:10 -05:00
60099b9188 Add RegEx match mode option logic 2023-05-11 22:18:05 -05:00
6ccc048b96 Rework file selection/filtering methods 2023-05-11 22:13:24 -05:00
c15a662df3 Add pathlib-based recursive walk function 2023-05-11 21:48:10 -05:00
60c287f3e4 Remove unnecessary app.py file 2023-05-11 21:47:49 -05:00
63d940e54d Reorganize .gitignore 2023-05-11 20:14:56 -05:00
f39d7394e7 Re-write To-Do 2023-05-11 20:11:14 -05:00
19e4ed4426 README: Lower headings, fill in gaps in 2023-05-11 20:04:42 -05:00
8e4b59e40b Name proper exception for _precheck func, remove unnecessary comments/print in helpers.py 2023-05-11 20:01:33 -05:00
d8ad8d7b57 Lower setup.py version to 0.1.0, move non-dependency attributes to top 2023-05-11 20:00:58 -05:00
14bc8f626f Rewrite README.md 2023-05-11 20:00:30 -05:00
ae4d4529f7 Support all byte/bit decimal/metric formats for convert_to_bytes 2023-05-11 17:03:55 -05:00
544b0c2c19 Use pipenv-setup to sync Pipfile with setup.py, update main entrypoint 2023-05-11 16:02:57 -05:00
34aa33f5a0 Remove GitHub workflows 2023-05-11 02:45:51 -05:00
001bcdbd38 Allow lowercase in convert_to_bytes, return 0 for invalid suffixes 2023-05-11 02:32:47 -05:00
3d4ec5013a Use absolute imports, remove redundant phototag.INPUT_PATH variable 2023-05-11 02:14:22 -05:00
18933774f2 Improve move option prompt string 2023-05-11 02:10:40 -05:00
38cd27ca05 Update protobuf to 3.18.3 2023-05-11 02:09:44 -05:00
6b7d2c6c10 Switch from requirements.txt to pipenv dependency management 2023-05-11 00:59:25 -05:00
Xevion
80e18d8d6a add accidentally ignored banner.png 2020-12-13 16:29:24 -06:00
Xevion
78658ac622 add new media banner, update README 2020-12-13 16:27:17 -06:00
Xevion
757d985e05 add improved invalid/empty configuration errors, move file selection dialog to helpers, utilize in both tagging command and new collection function 2020-10-13 09:54:42 -05:00
Xevion
2430ae0a6d add custom module exceptions & replace as needed 2020-10-11 14:57:15 -05:00
Xevion
ca44057096 update click, small formatting/logging improvements 2020-10-11 13:12:07 -05:00
Xevion
ac52f9d642 greatly improved file selection with directory/regex/glob selection options, add main.py for no-install testing purposes 2020-10-11 13:11:06 -05:00
Xevion
fd1c5b7698 fixed threading issues with proper locking mechanism, add thread name to logging messages, minor logging message changes 2020-10-11 03:00:25 -05:00
Xevion
c6821b96d3 implement progressbar tasks and usage, use dry run code while testing 2020-10-11 01:26:10 -05:00
Xevion
2e9109238f add rich progressbars, logging handler, install traceback handler (not for threading), rich & imagehash in requirements.txt/setup.py requi 2020-10-11 01:24:39 -05:00
Xevion
45a2b41520 implement MasterFileProcessor in app.py, implement MasterFileProcessor thread loading and joining (tested), fix FileProcessor size property not using correct path 2020-10-10 16:35:44 -05:00
Xevion
68ded24c6f filter logging down to project-only loggers, improve logging format and add colored-traceback 2020-10-10 16:34:32 -05:00
Xevion
6e91f0f928 implement threading / queue management logic for MasterFileProcessor, FileProcessor.run() callback addition for threading, minor helper var name changes 2020-10-10 15:24:54 -05:00
Xevion
bb88a218fd implement precheck function, fix regex for zero or two plus spacing in data size configuration 2020-10-10 11:00:31 -05:00
Xevion
06b6bead23 creating MasterFileProcessor, base functionality fleshed out, properties and helpers for acquiring/converting byte sizes 2020-10-10 10:35:59 -05:00
Xevion
4965d5a87c Merge branch 'master' of github.com:Xevion/phototag 2020-10-10 00:18:20 -05:00
Xevion
a14a377251 add docstrings to remaining files, delete unneeded __main__ and fix up small comments/code formatting in app/process 2020-10-10 00:16:41 -05:00
Xevion
33e87000b7 finish reformatting and improving original code with helpers, better logging messages, add jpe to lossy extensions 2020-10-10 00:09:36 -05:00
Xevion
785833edc9 finish reformatting and improving original code with helpers, better logging messages, add jpe to lossy extensions 2020-10-10 00:06:56 -05:00
Xevion
84f20675c4 helper functions for generating directory names, random strings, validating extensions and more 2020-10-10 00:06:02 -05:00
Xevion
0c664ef2e5 begin adding proper documentation for and reformatting FileProcessor, remove extraneous functions/imports from xmp 2020-10-09 19:13:22 -05:00
Xevion
82dcf089d0 reformat and reorganize documentation and code more, slight edits to logging messages, add configuration defaults for image_count/buffer_size/single_override 2020-10-09 18:32:33 -05:00
Xevion
27e1ef9a0c update requirements for consistency with GitHub vulnerabilities detected 2020-10-08 20:47:30 -05:00
Xevion
25981f8cd7 update .gitignore for IDEA projects, reformat all code to IDEA, add google-cloud-vision pypi package to requirements.txt file 2020-10-08 20:45:59 -05:00