noshot 0.1.3__py3-none-any.whl → 0.1.4__py3-none-any.whl
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.
- noshot/utils/shell_utils.py +3 -2
- {noshot-0.1.3.dist-info → noshot-0.1.4.dist-info}/METADATA +2 -2
- {noshot-0.1.3.dist-info → noshot-0.1.4.dist-info}/RECORD +6 -6
- {noshot-0.1.3.dist-info → noshot-0.1.4.dist-info}/LICENSE.txt +0 -0
- {noshot-0.1.3.dist-info → noshot-0.1.4.dist-info}/WHEEL +0 -0
- {noshot-0.1.3.dist-info → noshot-0.1.4.dist-info}/top_level.txt +0 -0
noshot/utils/shell_utils.py
CHANGED
@@ -4,7 +4,7 @@ import subprocess
|
|
4
4
|
import pathlib
|
5
5
|
|
6
6
|
def get_folder(folder_path = "ML TS XAI", loc = False):
|
7
|
-
src = os.path.
|
7
|
+
src = os.path.join(os.path.realpath(__file__)[:-20], "data", folder_path)
|
8
8
|
try:
|
9
9
|
dest = os.path.join(os.getcwd(), pathlib.Path(folder_path))
|
10
10
|
shutil.copytree(src, dest, symlinks=False, copy_function = shutil.copy2,
|
@@ -18,6 +18,7 @@ def get_folder(folder_path = "ML TS XAI", loc = False):
|
|
18
18
|
ignore_dangling_symlinks=False, dirs_exist_ok=True)
|
19
19
|
except Exception as error:
|
20
20
|
print(error)
|
21
|
+
return
|
21
22
|
finally:
|
22
23
|
if loc:
|
23
24
|
print("Path:",dest)
|
@@ -47,7 +48,7 @@ def remove_folder(folder_path = "ML TS XAI"):
|
|
47
48
|
print("Folder removed successfully")
|
48
49
|
return True
|
49
50
|
except WindowsError as error:
|
50
|
-
print("
|
51
|
+
print("Failed to delete!\nClose and reopen Jupyter Notebook and run this again")
|
51
52
|
return False
|
52
53
|
except Exception as error:
|
53
54
|
print(error)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: noshot
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.4
|
4
4
|
Summary: Support library for Artificial Intelligence, Machine Learning and Data Science tools
|
5
5
|
Author: Tim Stan S
|
6
6
|
License: MIT
|
@@ -52,4 +52,4 @@ Dynamic: summary
|
|
52
52
|
## 📦 **Installation**
|
53
53
|
Install latest version via `pip`:
|
54
54
|
```sh
|
55
|
-
pip install noshot==0.1.
|
55
|
+
pip install noshot==0.1.4
|
@@ -208,9 +208,9 @@ noshot/data/ML TS XAI/NLP/NLP 6/4. Hinddle and Rooth.ipynb,sha256=E5TYdhHCAOlUIV
|
|
208
208
|
noshot/data/ML TS XAI/NLP/NLP 6/7. PCFG using CYK.ipynb,sha256=gOb9b8dUslegyuGVXjm4BB9XSKFgIME-ZfkjFrUhoAk,8735
|
209
209
|
noshot/data/ML TS XAI/NLP/NLP 6/8. BOW and TF-IDF.ipynb,sha256=xgey9ML4zdVWOEg8wkEuWsM20Pz1-amMzcIt7IH9RFs,11133
|
210
210
|
noshot/utils/__init__.py,sha256=QVrN1ZpzPXxZqDOqot5-t_ulFjZXVx7Cvr-Is9AK0po,110
|
211
|
-
noshot/utils/shell_utils.py,sha256=
|
212
|
-
noshot-0.1.
|
213
|
-
noshot-0.1.
|
214
|
-
noshot-0.1.
|
215
|
-
noshot-0.1.
|
216
|
-
noshot-0.1.
|
211
|
+
noshot/utils/shell_utils.py,sha256=n_EU1etspEb3WH4TguFdMgQlRoeq-AWaL4xE0XP_vuA,2253
|
212
|
+
noshot-0.1.4.dist-info/LICENSE.txt,sha256=fgCruaVm5cUjFGOeEoGIimT6nnUunBqcNZHpGzK8TSw,1086
|
213
|
+
noshot-0.1.4.dist-info/METADATA,sha256=E_UqtwNztFe7zt3hF3xA3H52Q1vBROIzMnBkjBYizrQ,2451
|
214
|
+
noshot-0.1.4.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
215
|
+
noshot-0.1.4.dist-info/top_level.txt,sha256=UL-c0HffdRwohz-y9icY_rnY48pQDdxGcBsgyCKh2Q8,7
|
216
|
+
noshot-0.1.4.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|