anomlib 0.3.2__tar.gz → 0.3.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.
Files changed (24) hide show
  1. {anomlib-0.3.2/src/anomlib.egg-info → anomlib-0.3.3}/PKG-INFO +5 -2
  2. {anomlib-0.3.2 → anomlib-0.3.3}/README.md +3 -1
  3. {anomlib-0.3.2 → anomlib-0.3.3}/pyproject.toml +2 -1
  4. {anomlib-0.3.2 → anomlib-0.3.3}/src/anomlib/pillow.py +3 -1
  5. {anomlib-0.3.2 → anomlib-0.3.3/src/anomlib.egg-info}/PKG-INFO +5 -2
  6. {anomlib-0.3.2 → anomlib-0.3.3}/src/anomlib.egg-info/requires.txt +1 -0
  7. {anomlib-0.3.2 → anomlib-0.3.3}/LICENSE +0 -0
  8. {anomlib-0.3.2 → anomlib-0.3.3}/setup.cfg +0 -0
  9. {anomlib-0.3.2 → anomlib-0.3.3}/src/anomlib/__init__.py +0 -0
  10. {anomlib-0.3.2 → anomlib-0.3.3}/src/anomlib/builtin/__init__.py +0 -0
  11. {anomlib-0.3.2 → anomlib-0.3.3}/src/anomlib/builtin/do.py +0 -0
  12. {anomlib-0.3.2 → anomlib-0.3.3}/src/anomlib/builtin/picload.py +0 -0
  13. {anomlib-0.3.2 → anomlib-0.3.3}/src/anomlib/builtin/u2.py +0 -0
  14. {anomlib-0.3.2 → anomlib-0.3.3}/src/anomlib/builtin/youtube.py +0 -0
  15. {anomlib-0.3.2 → anomlib-0.3.3}/src/anomlib/commands/__init__.py +0 -0
  16. {anomlib-0.3.2 → anomlib-0.3.3}/src/anomlib/commands/anomtool.py +0 -0
  17. {anomlib-0.3.2 → anomlib-0.3.3}/src/anomlib/paramparser.py +0 -0
  18. {anomlib-0.3.2 → anomlib-0.3.3}/src/anomlib/params/__init__.py +0 -0
  19. {anomlib-0.3.2 → anomlib-0.3.3}/src/anomlib/params/anomtool.py +0 -0
  20. {anomlib-0.3.2 → anomlib-0.3.3}/src/anomlib/shell.py +0 -0
  21. {anomlib-0.3.2 → anomlib-0.3.3}/src/anomlib.egg-info/SOURCES.txt +0 -0
  22. {anomlib-0.3.2 → anomlib-0.3.3}/src/anomlib.egg-info/dependency_links.txt +0 -0
  23. {anomlib-0.3.2 → anomlib-0.3.3}/src/anomlib.egg-info/entry_points.txt +0 -0
  24. {anomlib-0.3.2 → anomlib-0.3.3}/src/anomlib.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: anomlib
3
- Version: 0.3.2
3
+ Version: 0.3.3
4
4
  Summary: A small package with anom's libraries
5
5
  Author-email: 🦌 Anom 🦌 <tfed@tutamail.com>
6
6
  License-Expression: GPL-3.0-or-later
@@ -13,11 +13,14 @@ Description-Content-Type: text/markdown
13
13
  License-File: LICENSE
14
14
  Requires-Dist: bs4>=0.0.2
15
15
  Requires-Dist: lxml>=6.1.1
16
+ Requires-Dist: pytest>=8.4.2
16
17
  Requires-Dist: twine>=6.2.0
17
18
  Dynamic: license-file
18
19
 
19
- # Example Package
20
+ # Anomlib Package
21
+ Anomlib has some libraries for working with hashes, parsing arguments and also my personal scripts.
20
22
 
23
+ # Master Markdown
21
24
  This is a simple example package. You can use
22
25
  [GitHub-flavored Markdown](https://guides.github.com/features/mastering-markdown/)
23
26
  to write your content.
@@ -1,5 +1,7 @@
1
- # Example Package
1
+ # Anomlib Package
2
+ Anomlib has some libraries for working with hashes, parsing arguments and also my personal scripts.
2
3
 
4
+ # Master Markdown
3
5
  This is a simple example package. You can use
4
6
  [GitHub-flavored Markdown](https://guides.github.com/features/mastering-markdown/)
5
7
  to write your content.
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "anomlib"
3
- version = "0.3.2"
3
+ version = "0.3.3"
4
4
  authors = [{ name = "🦌 Anom 🦌", email = "tfed@tutamail.com" }]
5
5
  description = "A small package with anom's libraries"
6
6
  readme = "README.md"
@@ -8,6 +8,7 @@ requires-python = ">=3.9"
8
8
  dependencies = [
9
9
  "bs4>=0.0.2",
10
10
  "lxml>=6.1.1",
11
+ "pytest>=8.4.2",
11
12
  "twine>=6.2.0",
12
13
  ]
13
14
  classifiers = [
@@ -10,6 +10,7 @@ Also it lets you avoid way too frequent updates by categorizing things into grou
10
10
  import hashlib, os, sys
11
11
 
12
12
  from pathlib import Path
13
+ from contextlib import suppress
13
14
 
14
15
  def mkdirs(path):
15
16
  if not os.path.exists(path):
@@ -36,7 +37,8 @@ def hash_file(input_file, hashTool="sha256"):
36
37
  hashTool supports hashlib's hash functions such as md5 or sha512.
37
38
  """
38
39
 
39
- if os.path.isdir(): return
40
+ # Make sure its a file
41
+ if os.path.isdir(input_file): return
40
42
 
41
43
  # input_file = input("Enter the name of the file: ")
42
44
  # Note: Open file as 'bytes' not 'str' when 'rb' used.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: anomlib
3
- Version: 0.3.2
3
+ Version: 0.3.3
4
4
  Summary: A small package with anom's libraries
5
5
  Author-email: 🦌 Anom 🦌 <tfed@tutamail.com>
6
6
  License-Expression: GPL-3.0-or-later
@@ -13,11 +13,14 @@ Description-Content-Type: text/markdown
13
13
  License-File: LICENSE
14
14
  Requires-Dist: bs4>=0.0.2
15
15
  Requires-Dist: lxml>=6.1.1
16
+ Requires-Dist: pytest>=8.4.2
16
17
  Requires-Dist: twine>=6.2.0
17
18
  Dynamic: license-file
18
19
 
19
- # Example Package
20
+ # Anomlib Package
21
+ Anomlib has some libraries for working with hashes, parsing arguments and also my personal scripts.
20
22
 
23
+ # Master Markdown
21
24
  This is a simple example package. You can use
22
25
  [GitHub-flavored Markdown](https://guides.github.com/features/mastering-markdown/)
23
26
  to write your content.
@@ -1,3 +1,4 @@
1
1
  bs4>=0.0.2
2
2
  lxml>=6.1.1
3
+ pytest>=8.4.2
3
4
  twine>=6.2.0
File without changes
File without changes
File without changes
File without changes