waymore 6.3__tar.gz → 6.5__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,13 +1,16 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: waymore
3
- Version: 6.3
4
- Summary: Find way more from the Wayback Machine, Common Crawl, Alien Vault OTX, URLScan & VirusTotal!
3
+ Version: 6.5
4
+ Summary: Find way more from the Wayback Machine, Common Crawl, Alien Vault OTX, URLScan, VirusTotal & Intelligence X!
5
5
  Home-page: https://github.com/xnl-h4ck3r/waymore
6
- Author: @xnl-h4ck3r
6
+ Author: xnl-h4ck3r
7
+ License: MIT
8
+ Requires-Python: >=3.9
7
9
  Description-Content-Type: text/markdown
8
10
  License-File: LICENSE
11
+ Requires-Dist: PyYAML
9
12
  Requires-Dist: requests
10
- Requires-Dist: pyyaml
13
+ Requires-Dist: setuptools
11
14
  Requires-Dist: termcolor
12
15
  Requires-Dist: psutil
13
16
  Requires-Dist: urlparse3
@@ -15,7 +18,7 @@ Requires-Dist: tldextract
15
18
 
16
19
  <center><img src="https://github.com/xnl-h4ck3r/waymore/blob/main/waymore/images/title.png"></center>
17
20
 
18
- ## About - v6.3
21
+ ## About - v6.5
19
22
 
20
23
  The idea behind **waymore** is to find even more links from the Wayback Machine than other existing tools.
21
24
 
@@ -138,7 +141,7 @@ docker build -t waymore .
138
141
  Run waymore with this command:
139
142
 
140
143
  ```bash
141
- docker run -it --rm -v $PWD/results:/app/results waymore:latest waymore -i example.com -oU example.com.links -oR results/example.com/
144
+ docker run -it --rm -v $PWD/results:/app/results waymore:latest -i example.com -oU example.com.links -oR results/example.com/
142
145
  ```
143
146
 
144
147
  ## Input and Mode
@@ -1,6 +1,6 @@
1
1
  <center><img src="https://github.com/xnl-h4ck3r/waymore/blob/main/waymore/images/title.png"></center>
2
2
 
3
- ## About - v6.3
3
+ ## About - v6.5
4
4
 
5
5
  The idea behind **waymore** is to find even more links from the Wayback Machine than other existing tools.
6
6
 
@@ -123,7 +123,7 @@ docker build -t waymore .
123
123
  Run waymore with this command:
124
124
 
125
125
  ```bash
126
- docker run -it --rm -v $PWD/results:/app/results waymore:latest waymore -i example.com -oU example.com.links -oR results/example.com/
126
+ docker run -it --rm -v $PWD/results:/app/results waymore:latest -i example.com -oU example.com.links -oR results/example.com/
127
127
  ```
128
128
 
129
129
  ## Input and Mode
@@ -0,0 +1,28 @@
1
+ [build-system]
2
+ requires = ["setuptools>=68", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "waymore"
7
+ description = "Find way more from the Wayback Machine, Common Crawl, Alien Vault OTX, URLScan, VirusTotal & Intelligence X!"
8
+ readme = "README.md"
9
+ requires-python = ">=3.9"
10
+ license = { text = "MIT" }
11
+ authors = [{ name = "xnl-h4ck3r" }]
12
+ dynamic = ["version", "dependencies"]
13
+
14
+ [project.scripts]
15
+ waymore = "waymore.waymore:main"
16
+
17
+ [tool.setuptools.dynamic]
18
+ dependencies = { file = ["requirements.txt"] }
19
+ version = { attr = "waymore.__version__" }
20
+
21
+ [tool.ruff]
22
+ line-length = 100
23
+ target-version = "py39"
24
+ select = ["E", "F", "I", "UP"]
25
+
26
+ [tool.black]
27
+ line-length = 100
28
+ target-version = ["py39"]
@@ -0,0 +1,7 @@
1
+ PyYAML
2
+ requests
3
+ setuptools
4
+ termcolor
5
+ psutil
6
+ urlparse3
7
+ tldextract
@@ -1,8 +1,23 @@
1
1
  #!/usr/bin/env python
2
2
  import os
3
+ import re
3
4
  import shutil
4
5
  from setuptools import setup, find_packages
5
6
 
7
+ # Read version from __init__.py without importing
8
+
9
+
10
+ def get_version():
11
+ init_path = os.path.join(os.path.dirname(
12
+ __file__), "waymore", "__init__.py")
13
+ with open(init_path, "r", encoding="utf-8") as f:
14
+ content = f.read()
15
+ match = re.search(r'__version__\s*=\s*["\']([^"\']+)["\']', content)
16
+ if match:
17
+ return match.group(1)
18
+ raise RuntimeError("Unable to find version string.")
19
+
20
+
6
21
  target_directory = (
7
22
  os.path.join(os.getenv("APPDATA", ""), "waymore")
8
23
  if os.name == "nt"
@@ -11,7 +26,8 @@ target_directory = (
11
26
  if os.name == "posix"
12
27
  else (
13
28
  os.path.join(
14
- os.path.expanduser("~"), "Library", "Application Support", "waymore"
29
+ os.path.expanduser(
30
+ "~"), "Library", "Application Support", "waymore"
15
31
  )
16
32
  if os.name == "darwin"
17
33
  else None
@@ -42,13 +58,12 @@ if target_directory and os.path.isfile("config.yml"):
42
58
  setup(
43
59
  name="waymore",
44
60
  packages=find_packages(),
45
- version=__import__("waymore").__version__,
61
+ version=get_version(),
46
62
  description="Find way more from the Wayback Machine, Common Crawl, Alien Vault OTX, URLScan & VirusTotal!",
47
- long_description=open("README.md").read(),
63
+ long_description=open("README.md", encoding="utf-8").read(),
48
64
  long_description_content_type="text/markdown",
49
65
  author="@xnl-h4ck3r",
50
66
  url="https://github.com/xnl-h4ck3r/waymore",
51
- py_modules=["waymore"],
52
67
  install_requires=[
53
68
  "requests",
54
69
  "pyyaml",
@@ -0,0 +1,4 @@
1
+ def test_import_waymore():
2
+ import importlib
3
+ m = importlib.import_module("waymore")
4
+ assert m is not None
@@ -0,0 +1 @@
1
+ __version__ = "6.5"
@@ -279,7 +279,7 @@ def showVersion():
279
279
  + __version__
280
280
  + " (unable to check if latest)\n"
281
281
  )
282
- if __version__ == resp.text.split("=")[1].replace('"', ""):
282
+ if __version__ == resp.text.split("=")[1].replace('"', "").strip():
283
283
  write(
284
284
  "Current waymore version "
285
285
  + __version__
@@ -1,13 +1,16 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: waymore
3
- Version: 6.3
4
- Summary: Find way more from the Wayback Machine, Common Crawl, Alien Vault OTX, URLScan & VirusTotal!
3
+ Version: 6.5
4
+ Summary: Find way more from the Wayback Machine, Common Crawl, Alien Vault OTX, URLScan, VirusTotal & Intelligence X!
5
5
  Home-page: https://github.com/xnl-h4ck3r/waymore
6
- Author: @xnl-h4ck3r
6
+ Author: xnl-h4ck3r
7
+ License: MIT
8
+ Requires-Python: >=3.9
7
9
  Description-Content-Type: text/markdown
8
10
  License-File: LICENSE
11
+ Requires-Dist: PyYAML
9
12
  Requires-Dist: requests
10
- Requires-Dist: pyyaml
13
+ Requires-Dist: setuptools
11
14
  Requires-Dist: termcolor
12
15
  Requires-Dist: psutil
13
16
  Requires-Dist: urlparse3
@@ -15,7 +18,7 @@ Requires-Dist: tldextract
15
18
 
16
19
  <center><img src="https://github.com/xnl-h4ck3r/waymore/blob/main/waymore/images/title.png"></center>
17
20
 
18
- ## About - v6.3
21
+ ## About - v6.5
19
22
 
20
23
  The idea behind **waymore** is to find even more links from the Wayback Machine than other existing tools.
21
24
 
@@ -138,7 +141,7 @@ docker build -t waymore .
138
141
  Run waymore with this command:
139
142
 
140
143
  ```bash
141
- docker run -it --rm -v $PWD/results:/app/results waymore:latest waymore -i example.com -oU example.com.links -oR results/example.com/
144
+ docker run -it --rm -v $PWD/results:/app/results waymore:latest -i example.com -oU example.com.links -oR results/example.com/
142
145
  ```
143
146
 
144
147
  ## Input and Mode
@@ -1,6 +1,9 @@
1
1
  LICENSE
2
2
  README.md
3
+ pyproject.toml
4
+ requirements.txt
3
5
  setup.py
6
+ tests/test_import.py
4
7
  waymore/__init__.py
5
8
  waymore/waymore.py
6
9
  waymore.egg-info/PKG-INFO
@@ -1,5 +1,6 @@
1
+ PyYAML
1
2
  requests
2
- pyyaml
3
+ setuptools
3
4
  termcolor
4
5
  psutil
5
6
  urlparse3
@@ -1 +0,0 @@
1
- __version__ = "6.3"
File without changes
File without changes