pygenutils 18.0.0__tar.gz → 18.0.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pygenutils-18.0.0 → pygenutils-18.0.2}/PKG-INFO +1 -1
- {pygenutils-18.0.0 → pygenutils-18.0.2}/pygenutils/__init__.py +1 -1
- {pygenutils-18.0.0 → pygenutils-18.0.2}/pygenutils/audio_and_video/merge_audio_and_video.py +5 -2
- {pygenutils-18.0.0 → pygenutils-18.0.2}/pygenutils/audio_and_video/merge_audio_or_video.py +5 -2
- {pygenutils-18.0.0 → pygenutils-18.0.2}/pygenutils/audio_and_video/trim_media.py +3 -0
- {pygenutils-18.0.0 → pygenutils-18.0.2}/pygenutils.egg-info/PKG-INFO +1 -1
- {pygenutils-18.0.0 → pygenutils-18.0.2}/pyproject.toml +1 -1
- {pygenutils-18.0.0 → pygenutils-18.0.2}/LICENSE +0 -0
- {pygenutils-18.0.0 → pygenutils-18.0.2}/README.md +0 -0
- {pygenutils-18.0.0 → pygenutils-18.0.2}/pygenutils/arrays_and_lists/__init__.py +0 -0
- {pygenutils-18.0.0 → pygenutils-18.0.2}/pygenutils/arrays_and_lists/conversions.py +0 -0
- {pygenutils-18.0.0 → pygenutils-18.0.2}/pygenutils/arrays_and_lists/data_manipulation.py +0 -0
- {pygenutils-18.0.0 → pygenutils-18.0.2}/pygenutils/arrays_and_lists/maths.py +0 -0
- {pygenutils-18.0.0 → pygenutils-18.0.2}/pygenutils/arrays_and_lists/patterns.py +0 -0
- {pygenutils-18.0.0 → pygenutils-18.0.2}/pygenutils/audio_and_video/__init__.py +0 -0
- {pygenutils-18.0.0 → pygenutils-18.0.2}/pygenutils/audio_and_video/audio_and_video_manipulation.py +0 -0
- {pygenutils-18.0.0 → pygenutils-18.0.2}/pygenutils/dictionaries/__init__.py +0 -0
- {pygenutils-18.0.0 → pygenutils-18.0.2}/pygenutils/dictionaries/dict_handler.py +0 -0
- {pygenutils-18.0.0 → pygenutils-18.0.2}/pygenutils/dictionaries/dict_operators.py +0 -0
- {pygenutils-18.0.0 → pygenutils-18.0.2}/pygenutils/number_bases/__init__.py +0 -0
- {pygenutils-18.0.0 → pygenutils-18.0.2}/pygenutils/number_bases/base_converters.py +0 -0
- {pygenutils-18.0.0 → pygenutils-18.0.2}/pygenutils/number_bases/binary_operations.py +0 -0
- {pygenutils-18.0.0 → pygenutils-18.0.2}/pygenutils/number_bases/bitwise_operators.py +0 -0
- {pygenutils-18.0.0 → pygenutils-18.0.2}/pygenutils/number_bases/mathematical_utils.py +0 -0
- {pygenutils-18.0.0 → pygenutils-18.0.2}/pygenutils/operative_systems/__init__.py +0 -0
- {pygenutils-18.0.0 → pygenutils-18.0.2}/pygenutils/operative_systems/os_operations.py +0 -0
- {pygenutils-18.0.0 → pygenutils-18.0.2}/pygenutils/sets_and_intervals/__init__.py +0 -0
- {pygenutils-18.0.0 → pygenutils-18.0.2}/pygenutils/sets_and_intervals/interval_handler.py +0 -0
- {pygenutils-18.0.0 → pygenutils-18.0.2}/pygenutils/sets_and_intervals/sets_handler.py +0 -0
- {pygenutils-18.0.0 → pygenutils-18.0.2}/pygenutils/strings/__init__.py +0 -0
- {pygenutils-18.0.0 → pygenutils-18.0.2}/pygenutils/strings/string_handler.py +0 -0
- {pygenutils-18.0.0 → pygenutils-18.0.2}/pygenutils/strings/text_formatters.py +0 -0
- {pygenutils-18.0.0 → pygenutils-18.0.2}/pygenutils/time_handling/__init__.py +0 -0
- {pygenutils-18.0.0 → pygenutils-18.0.2}/pygenutils/time_handling/_optional_climate.py +0 -0
- {pygenutils-18.0.0 → pygenutils-18.0.2}/pygenutils/time_handling/calendar_utils.py +0 -0
- {pygenutils-18.0.0 → pygenutils-18.0.2}/pygenutils/time_handling/countdown.py +0 -0
- {pygenutils-18.0.0 → pygenutils-18.0.2}/pygenutils/time_handling/date_and_time_maths.py +0 -0
- {pygenutils-18.0.0 → pygenutils-18.0.2}/pygenutils/time_handling/date_and_time_utils.py +0 -0
- {pygenutils-18.0.0 → pygenutils-18.0.2}/pygenutils/time_handling/program_snippet_exec_timers.py +0 -0
- {pygenutils-18.0.0 → pygenutils-18.0.2}/pygenutils/time_handling/time_formatters.py +0 -0
- {pygenutils-18.0.0 → pygenutils-18.0.2}/pygenutils/time_handling/time_utils.py +0 -0
- {pygenutils-18.0.0 → pygenutils-18.0.2}/pygenutils.egg-info/SOURCES.txt +0 -0
- {pygenutils-18.0.0 → pygenutils-18.0.2}/pygenutils.egg-info/dependency_links.txt +0 -0
- {pygenutils-18.0.0 → pygenutils-18.0.2}/pygenutils.egg-info/requires.txt +0 -0
- {pygenutils-18.0.0 → pygenutils-18.0.2}/pygenutils.egg-info/top_level.txt +0 -0
- {pygenutils-18.0.0 → pygenutils-18.0.2}/setup.cfg +0 -0
- {pygenutils-18.0.0 → pygenutils-18.0.2}/setup.py +0 -0
|
@@ -14,6 +14,7 @@ but keep in mind that the module is designed to work with absolute paths.
|
|
|
14
14
|
#------------------------#
|
|
15
15
|
|
|
16
16
|
from pygenutils.audio_and_video.audio_and_video_manipulation import merge_media_files
|
|
17
|
+
from pygenutils.time_handling.program_snippet_exec_timers import program_exec_timer
|
|
17
18
|
|
|
18
19
|
#-------------------#
|
|
19
20
|
# Define parameters #
|
|
@@ -52,13 +53,13 @@ ZERO_PADDING = None
|
|
|
52
53
|
# Audio bitrate fraction (multiplied by 32 to get kbps)
|
|
53
54
|
# Common ranges: 2-16 for 64-512kbps (speech to high-quality music)
|
|
54
55
|
# None omits -b:a, so a re-encode uses the encoder default.
|
|
55
|
-
#
|
|
56
|
+
# Ignored when AUDIO_CODEC is "copy".
|
|
56
57
|
AUDIO_BITRATE_FRACTION = 4
|
|
57
58
|
|
|
58
59
|
# Video bitrate fraction (multiplied by 32 to get kbps)
|
|
59
60
|
# Common ranges: 31-3125+ for 1-100+Mbps (360p to 4K+)
|
|
60
61
|
# None omits -b:v, so a re-encode uses the encoder default.
|
|
61
|
-
#
|
|
62
|
+
# Ignored when VIDEO_CODEC is "copy".
|
|
62
63
|
VIDEO_BITRATE_FRACTION = 4
|
|
63
64
|
|
|
64
65
|
# Codec settings #
|
|
@@ -88,6 +89,7 @@ SHELL = True
|
|
|
88
89
|
#-------------------#
|
|
89
90
|
|
|
90
91
|
def main():
|
|
92
|
+
program_exec_timer("start")
|
|
91
93
|
from filewise.file_operations.path_utils import find_files
|
|
92
94
|
|
|
93
95
|
# find_files returns lists. Each argument also accepts one existing
|
|
@@ -117,6 +119,7 @@ def main():
|
|
|
117
119
|
encoding=ENCODING,
|
|
118
120
|
shell=SHELL,
|
|
119
121
|
)
|
|
122
|
+
program_exec_timer("stop")
|
|
120
123
|
|
|
121
124
|
|
|
122
125
|
if __name__ == "__main__":
|
|
@@ -15,6 +15,7 @@ but keep in mind that the module is designed to work with absolute paths.
|
|
|
15
15
|
#------------------------#
|
|
16
16
|
|
|
17
17
|
from pygenutils.audio_and_video.audio_and_video_manipulation import merge_individual_media_files
|
|
18
|
+
from pygenutils.time_handling.program_snippet_exec_timers import program_exec_timer
|
|
18
19
|
|
|
19
20
|
#-------------------#
|
|
20
21
|
# Define parameters #
|
|
@@ -51,13 +52,13 @@ OUTPUT_FILE_NAME = f"merged_media_file.{OUTPUT_EXT}"
|
|
|
51
52
|
# Audio bitrate fraction (multiplied by 32 to get kbps)
|
|
52
53
|
# Common ranges: 2-16 for 64-512kbps (speech to high-quality music)
|
|
53
54
|
# None omits -b:a, so a re-encode uses the encoder default.
|
|
54
|
-
#
|
|
55
|
+
# Ignored when AUDIO_CODEC is "copy".
|
|
55
56
|
AUDIO_BITRATE_FRACTION = 4
|
|
56
57
|
|
|
57
58
|
# Video bitrate fraction (multiplied by 32 to get kbps)
|
|
58
59
|
# Common ranges: 31-3125+ for 1-100+Mbps (360p to 4K+)
|
|
59
60
|
# None omits -b:v, so a re-encode uses the encoder default.
|
|
60
|
-
#
|
|
61
|
+
# Ignored when VIDEO_CODEC is "copy".
|
|
61
62
|
VIDEO_BITRATE_FRACTION = 4
|
|
62
63
|
|
|
63
64
|
# Codec settings #
|
|
@@ -90,6 +91,7 @@ SHELL = True
|
|
|
90
91
|
#---------------------#
|
|
91
92
|
|
|
92
93
|
def main():
|
|
94
|
+
program_exec_timer("start")
|
|
93
95
|
merge_individual_media_files(
|
|
94
96
|
MEDIA_INPUT,
|
|
95
97
|
safe=SAFE,
|
|
@@ -105,6 +107,7 @@ def main():
|
|
|
105
107
|
encoding=ENCODING,
|
|
106
108
|
shell=SHELL,
|
|
107
109
|
)
|
|
110
|
+
program_exec_timer("stop")
|
|
108
111
|
|
|
109
112
|
|
|
110
113
|
if __name__ == "__main__":
|
|
@@ -15,6 +15,7 @@ but keep in mind that the module is designed to work with absolute paths.
|
|
|
15
15
|
#------------------------#
|
|
16
16
|
|
|
17
17
|
from pygenutils.audio_and_video.audio_and_video_manipulation import cut_media_files
|
|
18
|
+
from pygenutils.time_handling.program_snippet_exec_timers import program_exec_timer
|
|
18
19
|
|
|
19
20
|
#-------------------#
|
|
20
21
|
# Define parameters #
|
|
@@ -86,6 +87,7 @@ SHELL = True
|
|
|
86
87
|
#---------------------#
|
|
87
88
|
|
|
88
89
|
def main():
|
|
90
|
+
program_exec_timer("start")
|
|
89
91
|
cut_media_files(
|
|
90
92
|
MEDIA_INPUT,
|
|
91
93
|
START_TIME_LIST,
|
|
@@ -103,6 +105,7 @@ def main():
|
|
|
103
105
|
encoding=ENCODING,
|
|
104
106
|
shell=SHELL,
|
|
105
107
|
)
|
|
108
|
+
program_exec_timer("stop")
|
|
106
109
|
|
|
107
110
|
|
|
108
111
|
if __name__ == "__main__":
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pygenutils-18.0.0 → pygenutils-18.0.2}/pygenutils/audio_and_video/audio_and_video_manipulation.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pygenutils-18.0.0 → pygenutils-18.0.2}/pygenutils/time_handling/program_snippet_exec_timers.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|