Skip to content

Commit 6b106a0

Browse files
committed
Rename package and update version
Rename package and update version
1 parent 3ebc6ef commit 6b106a0

56 files changed

Lines changed: 89 additions & 89 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
1-
from file_automation.local.dir.dir_process import copy_dir, rename_dir, create_dir, remove_dir_tree
2-
from file_automation.local.file.file_process import copy_file, remove_file, rename_file, copy_specify_extension_file, \
1+
from automation_file.local.dir.dir_process import copy_dir, rename_dir, create_dir, remove_dir_tree
2+
from automation_file.local.file.file_process import copy_file, remove_file, rename_file, copy_specify_extension_file, \
33
copy_all_file_to_dir
4-
from file_automation.local.zip.zip_process import zip_dir, zip_file, zip_info, zip_file_info, set_zip_password, \
4+
from automation_file.local.zip.zip_process import zip_dir, zip_file, zip_info, zip_file_info, set_zip_password, \
55
read_zip_file, unzip_file, unzip_all
6-
from file_automation.remote.google_drive.delete.delete_manager import drive_delete_file
7-
from file_automation.remote.google_drive.dir.folder_manager import drive_add_folder
8-
from file_automation.remote.google_drive.download.download_file import drive_download_file, \
6+
from automation_file.remote.google_drive.delete.delete_manager import drive_delete_file
7+
from automation_file.remote.google_drive.dir.folder_manager import drive_add_folder
8+
from automation_file.remote.google_drive.download.download_file import drive_download_file, \
99
drive_download_file_from_folder
10-
from file_automation.remote.google_drive.driver_instance import driver_instance
11-
from file_automation.remote.google_drive.search.search_drive import \
10+
from automation_file.remote.google_drive.driver_instance import driver_instance
11+
from automation_file.remote.google_drive.search.search_drive import \
1212
drive_search_all_file, drive_search_field, drive_search_file_mimetype
13-
from file_automation.remote.google_drive.share.share_file import \
13+
from automation_file.remote.google_drive.share.share_file import \
1414
drive_share_file_to_anyone, drive_share_file_to_domain, drive_share_file_to_user
15-
from file_automation.remote.google_drive.upload.upload_to_driver import \
15+
from automation_file.remote.google_drive.upload.upload_to_driver import \
1616
drive_upload_dir_to_folder, drive_upload_to_folder, drive_upload_dir_to_drive, drive_upload_to_drive
17-
from file_automation.utils.executor.action_executor import execute_action, execute_files, add_command_to_executor
18-
from file_automation.utils.file_process.get_dir_file_list import get_dir_files_as_list
19-
from file_automation.utils.json.json_file import read_action_json
20-
from file_automation.utils.project.create_project_structure import create_project_dir
17+
from automation_file.utils.executor.action_executor import execute_action, execute_files, add_command_to_executor
18+
from automation_file.utils.file_process.get_dir_file_list import get_dir_files_as_list
19+
from automation_file.utils.json.json_file import read_action_json
20+
from automation_file.utils.project.create_project_structure import create_project_dir
2121

2222
__all__ = [
2323
"copy_file", "rename_file", "remove_file", "copy_all_file_to_dir", "copy_specify_extension_file",
2424
"copy_dir", "create_dir", "remove_dir_tree", "zip_dir", "zip_file", "zip_info",
25-
"zip_file_info", "set_zip_password", "unzip_file", "read_zip_file",
25+
"zip_file_info", "set_zip_password", "unzip_file", "read_zip_file", "rename_dir",
2626
"unzip_all", "driver_instance", "drive_search_all_file", "drive_search_field", "drive_search_file_mimetype",
2727
"drive_upload_dir_to_folder", "drive_upload_to_folder", "drive_upload_dir_to_drive", "drive_upload_to_drive",
2828
"drive_add_folder", "drive_share_file_to_anyone", "drive_share_file_to_domain", "drive_share_file_to_user",
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33
import json
44
import sys
55

6-
from file_automation.utils.exception.exception_tags import \
6+
from automation_file.utils.exception.exception_tags import \
77
argparse_get_wrong_data
8-
from file_automation.utils.exception.exceptions import \
8+
from automation_file.utils.exception.exceptions import \
99
ArgparseException
10-
from file_automation.utils.executor.action_executor import execute_action
11-
from file_automation.utils.executor.action_executor import execute_files
12-
from file_automation.utils.file_process.get_dir_file_list import \
10+
from automation_file.utils.executor.action_executor import execute_action
11+
from automation_file.utils.executor.action_executor import execute_files
12+
from automation_file.utils.file_process.get_dir_file_list import \
1313
get_dir_files_as_list
14-
from file_automation.utils.json.json_file import read_action_json
15-
from file_automation.utils.project.create_project_structure import create_project_dir
14+
from automation_file.utils.json.json_file import read_action_json
15+
from automation_file.utils.project.create_project_structure import create_project_dir
1616

1717
if __name__ == "__main__":
1818
try:
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
import sys
33
from pathlib import Path
44

5-
from file_automation.utils.exception.exceptions import DirNotExistsException
6-
from file_automation.utils.logging.loggin_instance import file_automation_logger
5+
from automation_file.utils.exception.exceptions import DirNotExistsException
6+
from automation_file.utils.logging.loggin_instance import file_automation_logger
77

88

99
def copy_dir(dir_path: str, target_dir_path: str) -> None:

file_automation/local/file/file_process.py renamed to automation_file/local/file/file_process.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
import sys
33
from pathlib import Path
44

5-
from file_automation.utils.exception.exceptions import FileNotExistsException, DirNotExistsException
6-
from file_automation.utils.logging.loggin_instance import file_automation_logger
5+
from automation_file.utils.exception.exceptions import FileNotExistsException, DirNotExistsException
6+
from automation_file.utils.logging.loggin_instance import file_automation_logger
77

88

99
def copy_file(file_path: str, target_path: str) -> None:
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
from shutil import make_archive
44
from typing import List
55

6-
from file_automation.utils.exception.exceptions import ZIPGetWrongFileException
7-
from file_automation.utils.logging.loggin_instance import file_automation_logger
6+
from automation_file.utils.exception.exceptions import ZIPGetWrongFileException
7+
from automation_file.utils.logging.loggin_instance import file_automation_logger
88

99

1010
def zip_dir(dir_we_want_to_zip: str, zip_name: str) -> None:

0 commit comments

Comments
 (0)