noshot 0.1.1__py3-none-any.whl → 0.1.2__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/main.py CHANGED
@@ -18,29 +18,28 @@ def get(name = None, open = False):
18
18
  pass
19
19
 
20
20
  def get_folder(loc = False, i = 0, j = 0):
21
- src = os.path.realpath(__file__)[:-7]+"\\data\\AIDS CN NLP"
22
- src = src.replace("\\\\","\\")
21
+ src = os.path.join(os.path.realpath(__file__)[:-7], "data", "AIDS CN NLP")
23
22
  try:
24
- dest = os.getcwd()+"\\AIDS CN NLP"+(f" ({i})" if i != 0 else "")
23
+ dest = os.path.join(os.getcwd(), ("AIDS CN NLP" + (f" ({i})" if i != 0 else "")))
25
24
  shutil.copytree(src, dest, symlinks=False,
26
25
  copy_function = shutil.copy2,
27
26
  ignore=shutil.ignore_patterns('.ipynb_checkpoints', '__init__.py', '__pycache__'),
28
27
  ignore_dangling_symlinks=False,
29
28
  dirs_exist_ok=False)
30
29
  if loc:
31
- print("Path:",dest.replace("\\\\","\\"))
30
+ print("Path:",dest)
32
31
  except FileExistsError:
33
32
  get_folder(loc, i + 1, j)
34
33
  except:
35
34
  try:
36
- dest = os.path.expanduser('~')+"\\Downloads\\AIDS CN NLP"+(f" ({j})" if j != 0 else "")
35
+ dest = os.path.join(os.path.expanduser('~'), "Downloads", ("AIDS CN NLP" + (f" ({i})" if i != 0 else "")))
37
36
  shutil.copytree(src, dest, symlinks=False,
38
37
  copy_function = shutil.copy2,
39
38
  ignore=shutil.ignore_patterns('.ipynb_checkpoints', '__init__.py', '__pycache__'),
40
39
  ignore_dangling_symlinks=False,
41
40
  dirs_exist_ok=False)
42
41
  if loc:
43
- print("Path:",dest.replace("\\\\","\\"))
42
+ print("Path:",dest)
44
43
  except FileExistsError:
45
44
  get_folder(loc, i, j + 1)
46
45
  except:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: noshot
3
- Version: 0.1.1
3
+ Version: 0.1.2
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.1
55
+ pip install noshot==0.1.2
@@ -1,5 +1,5 @@
1
1
  noshot/__init__.py,sha256=000R40tii8lDFU8C1fBaD3SOnxD0PWRNWZU-km49YrU,21
2
- noshot/main.py,sha256=kiJv7efW_MkQCGEqJb-mip1leWNVCD9_7Puiq5Jdy1E,1764
2
+ noshot/main.py,sha256=g4ijlsh5q3DfhWYiVUQKdTn8wTCSESV-fQus1WGNZhU,1738
3
3
  noshot/data/AIDS CN NLP/Ubuntu CN Lab.iso,sha256=CkoX_H3nGO6EqfK3Qa62mt_vYNpmMOzKU0oCcBJQ41M,4589568
4
4
  noshot/data/AIDS CN NLP/AIDS/1. Implement Basic Search Strategies/(A) Breadth First Search.ipynb,sha256=Xde_I0zbFZb4SmiAYDzH7ft6JBFBvGkpv48X2I_LGiQ,3548
5
5
  noshot/data/AIDS CN NLP/AIDS/1. Implement Basic Search Strategies/(B) Depth First Search.ipynb,sha256=pfZ8D_bQiqxt_qLoWlQjwK8mbblh053AupAwxyyEhrM,3535
@@ -207,8 +207,8 @@ noshot/data/AIDS CN NLP/NLP/NLP 6/4. Hinddle and Rooth.ipynb,sha256=E5TYdhHCAOlU
207
207
  "noshot/data/AIDS CN NLP/NLP/NLP 6/5 and 6 FWD, BWD, Viterbi.ipynb",sha256=h3gQHxHT4wOwZxo0sRq7Z87fk2ucvtuwsFiz6RHcz34,4859
208
208
  noshot/data/AIDS CN NLP/NLP/NLP 6/7. PCFG using CYK.ipynb,sha256=gOb9b8dUslegyuGVXjm4BB9XSKFgIME-ZfkjFrUhoAk,8735
209
209
  noshot/data/AIDS CN NLP/NLP/NLP 6/8. BOW and TF-IDF.ipynb,sha256=xgey9ML4zdVWOEg8wkEuWsM20Pz1-amMzcIt7IH9RFs,11133
210
- noshot-0.1.1.dist-info/LICENSE.txt,sha256=fgCruaVm5cUjFGOeEoGIimT6nnUunBqcNZHpGzK8TSw,1086
211
- noshot-0.1.1.dist-info/METADATA,sha256=8BP0Whl9_413u_ndhFb3qBmuntFqJuQoCOAWeNT23nw,2450
212
- noshot-0.1.1.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
213
- noshot-0.1.1.dist-info/top_level.txt,sha256=UL-c0HffdRwohz-y9icY_rnY48pQDdxGcBsgyCKh2Q8,7
214
- noshot-0.1.1.dist-info/RECORD,,
210
+ noshot-0.1.2.dist-info/LICENSE.txt,sha256=fgCruaVm5cUjFGOeEoGIimT6nnUunBqcNZHpGzK8TSw,1086
211
+ noshot-0.1.2.dist-info/METADATA,sha256=IL5ewsAmfMdAClSidiXilSatueZGHgGugeXZoKO8z-c,2450
212
+ noshot-0.1.2.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
213
+ noshot-0.1.2.dist-info/top_level.txt,sha256=UL-c0HffdRwohz-y9icY_rnY48pQDdxGcBsgyCKh2Q8,7
214
+ noshot-0.1.2.dist-info/RECORD,,
File without changes