diff --git a/GithubCloner2022.py b/GithubCloner2022.py index e3c9115..4fef0ca 100644 --- a/GithubCloner2022.py +++ b/GithubCloner2022.py @@ -36,24 +36,24 @@ start_time = datetime.datetime.now() try: - # ?#########? Start Initialization ########## + # ?#########? Start Initialization ########## JsonFile = pd.read_json(f"./{fileConfigName}", orient='records') JsonAPI = JsonFile['Github'] JsonDFConfigs = JsonFile['DataFrame']['Fields'] - # ?#########? End Initialization ############ + # ?#########? End Initialization ############ - # ?#########? Start Objects Instances ########## + # ?#########? Start Objects Instances ########## Handler = DfH() Manager = DM() Messenger = CM() Timer = FMT() - # ?#########? End Objects Instances ########## + # ?#########? End Objects Instances ########## - # ?#########? Start DataManager Configuration ########## + # ?#########? Start DataManager Configuration ########## Manager.InitialConfig(name, version, author, JsonAPI) - # ?#########? End DataManager Configuration ########## + # ?#########? End DataManager Configuration ########## - # ?#########? Start DataFrame Configuration ########## + # ?#########? Start DataFrame Configuration ########## # *# Reads the 'csv' File to get the dataframe df = pd.read_csv(filename) @@ -61,19 +61,18 @@ Handler.MainDataFrame = df Handler.ConfigsJsonValues = JsonDFConfigs Handler.ConfigurateDataFrame(Handler.ConfigsJsonValues['Course']) - # ?#########? End DataFrame Configuration ########## + # ?#########? End DataFrame Configuration ########## - # ?#########? Start Initialize DataManager ########## + # ?#########? Start Initialize DataManager ########## Manager.CloneRepositories(Handler) - # ?##########? End Initialize DataManager ########### + # ?##########? End Initialize DataManager ########### except Exception as e: print(f'Exception: {e.args}') finally: - # ?#########? Start Timer Config ########## + # ?#########? Start Timer Config ########## Timer.CrudeTime = start_time - # ?#########? End Timer Config ########## - - # ?#########? Start Print Message ########## + # ?#########? End Timer Config ########## + # ?#########? Start Print Message ########## Messenger.Message = f"Elapsed Time: {Timer.FormattedTimeStr}" Messenger.PrintMessage() @@ -82,6 +81,6 @@ Messenger.Message = "Success! All task done. Press a key to close the app" Messenger.PrintMessage() - # ?#########? End Print Message ########## + # ?#########? End Print Message ########## end = input() diff --git a/Media/YT_Logo.png b/Media/YT_Logo.png new file mode 100644 index 0000000..d3513b1 Binary files /dev/null and b/Media/YT_Logo.png differ diff --git a/Modules/Formatter_Mod/Formatter.py b/Modules/Formatter_Mod/Formatter.py index b0a5574..ca2f083 100644 --- a/Modules/Formatter_Mod/Formatter.py +++ b/Modules/Formatter_Mod/Formatter.py @@ -23,7 +23,7 @@ class Formatter: Formats the time saved in the attribute of the class, as a string. \n like: {:02.0f} minute(s) {:02.0f} seconds. \n Returns: - class: [Formatter]. \n + class: [Formatter]. \n """ # ?###########? START ATTRIBUTES ############ @@ -43,9 +43,9 @@ def CrudeTime(self) -> datetime: @property def FormattedTimeStr(self) -> str: """[summary] \n - Gets the formatted time string. + Gets the formatted time string.\n Returns: - str: [The formatted time string.] + str: [The formatted time string.]\n """ return self.__formattedTimeStr @@ -55,7 +55,7 @@ def CrudeTime(self, value: datetime) -> None: Sets the time into the class and format it as a string like: \n {:02.0f} minute(s) {:02.0f} seconds. \n Args: - value (datetime): [Time to be formatted and saved into the class.] + value (datetime): [Time to be formatted and saved into the class.]\n """ self.__crudeTime = value self.__FormatDatetimeAsString() @@ -63,9 +63,9 @@ def CrudeTime(self, value: datetime) -> None: @FormattedTimeStr.setter def FormattedTimeStr(self, formatTime: str) -> None: """[summary] \n - Sets the formatted time as a string. + Sets the formatted time as a string.\n Args: - start_time (datetime): [Formatted Time] \n + start_time (datetime): [Formatted Time]\n """ self.__formattedTimeStr = formatTime diff --git a/README.md b/README.md index 6d24f53..cd2b39b 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,22 @@ - - - - -
- Universidad Tecnológica Nacional - - Python Logo -
-
+ + + Universidad Tecnológica Nacional + + + Python Logo + + + + +
+ Pandas Logo +
+ + + +
+

Pisces♓ | Developer👨‍💻 | Pythonpython | GCP GCP | Java java | C# csharp | Dreamer 💖 | Teacher👨‍🏫| A bit nerd🤓


@@ -32,7 +40,28 @@ --- +
+ + + + + + + + + + + +

Watch this little video Demo on 🎥

+ +
+ Youtube Logo +
+
+
+


+ # Repository Cloner The program it allows you to clone repositories from github in bulk and store them in specific directories from a csv file. Aditionally it saves the data of every student & course into a json with the name of the course.