brumpy 0.1.1__tar.gz → 0.1.3__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.
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: brumpy
3
- Version: 0.1.1
4
- Summary: Simple Python tools
3
+ Version: 0.1.3
4
+ Summary: first published package. plz do not copy
5
5
  Author: fkl69_lolzers68
6
6
  Classifier: Programming Language :: Python :: 3
7
7
  Classifier: License :: OSI Approved :: MIT License
@@ -1,8 +1,9 @@
1
1
  #larpy
2
2
  import os
3
+ import sys
3
4
  from os.path import exists
4
5
  from urllib.request import urlopen
5
- path = "https://raw.githubusercontent.com/victorialadica1978-eng/larpy/main/"
6
+ path = "https://raw.githubusercontent.com/victorialadica1978-eng/brumpy/main/"
6
7
  def download(filename, showurl=False):
7
8
  if os.path.exists(filename):
8
9
  print(f"{filename} Installed already")
@@ -17,5 +18,12 @@ def download(filename, showurl=False):
17
18
  if showurl: print(path + filename)
18
19
  except Exception as e:
19
20
  print(f"Error while loading {filename}: {e}")
21
+ def find(path, to_find):
22
+ if not os.path.isdir(path): print("Warning: is not a directory"); return
23
+ search_dir = os.listdir(path)
24
+ return to_find in search_dir
25
+
20
26
 
21
- if __name__ == "__main__": pass
27
+ if __name__ == "__main__":
28
+ findit = find(".", "__pycache__")
29
+ print(findit)
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: brumpy
3
- Version: 0.1.1
4
- Summary: Simple Python tools
3
+ Version: 0.1.3
4
+ Summary: first published package. plz do not copy
5
5
  Author: fkl69_lolzers68
6
6
  Classifier: Programming Language :: Python :: 3
7
7
  Classifier: License :: OSI Approved :: MIT License
@@ -4,9 +4,9 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "brumpy"
7
- version = "0.1.1"
7
+ version = "0.1.3"
8
8
  authors = [{ name = "fkl69_lolzers68" }]
9
- description = "Simple Python tools"
9
+ description = "first published package. plz do not copy"
10
10
  requires-python = ">=3.8"
11
11
 
12
12
  classifiers = [
File without changes