malwarebazaar 0.2.7__tar.gz → 0.2.9__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,28 +1,29 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: malwarebazaar
3
- Version: 0.2.7
3
+ Version: 0.2.9
4
4
  Summary: CLI wrapper for malware bazaar API (bazaar.abuse.ch) and YARAify API (yaraify.abuse.ch)
5
- Home-page: https://github.com/3c7/bazaar
6
- License: MIT
5
+ License-Expression: MIT
6
+ License-File: LICENSE
7
7
  Author: 3c7
8
- Author-email: 3c7@posteo.de
9
- Requires-Python: >=3.9,<3.14
8
+ Author-email: 3c7@posteo.de>
9
+ Requires-Python: >=3.10,<3.15
10
10
  Classifier: Development Status :: 5 - Production/Stable
11
- Classifier: License :: OSI Approved :: MIT License
12
11
  Classifier: Programming Language :: Python :: 3
13
- Classifier: Programming Language :: Python :: 3.9
14
12
  Classifier: Programming Language :: Python :: 3.10
15
13
  Classifier: Programming Language :: Python :: 3.11
16
14
  Classifier: Programming Language :: Python :: 3.12
17
- Classifier: Programming Language :: Python :: 3 :: Only
15
+ Classifier: Programming Language :: Python :: 3.13
16
+ Classifier: Programming Language :: Python :: 3.14
18
17
  Classifier: Topic :: Security
19
18
  Provides-Extra: cli
20
- Requires-Dist: PyYAML (>=6.0.1,<7.0.0)
21
- Requires-Dist: pydantic (>=2.4.2,<3.0.0)
22
- Requires-Dist: pyzipper (>=0.3.6,<0.4.0)
23
- Requires-Dist: requests (>=2.31.0,<3.0.0)
24
- Requires-Dist: rich (>=13.6.0,<14.0.0) ; extra == "cli"
25
- Requires-Dist: typer (>=0.9.0,<0.10.0) ; extra == "cli"
19
+ Requires-Dist: PyYAML (>=6.0.3)
20
+ Requires-Dist: click (>=8.3.3) ; extra == "cli"
21
+ Requires-Dist: pydantic (>=2.13.4)
22
+ Requires-Dist: pyzipper (>=0.4.0)
23
+ Requires-Dist: requests (>=2.34.2)
24
+ Requires-Dist: rich (>=15.0.0) ; extra == "cli"
25
+ Requires-Dist: typer (>=0.25.1) ; extra == "cli"
26
+ Project-URL: Homepage, https://github.com/3c7/bazaar
26
27
  Project-URL: Repository, https://github.com/3c7/bazaar
27
28
  Description-Content-Type: text/markdown
28
29
 
@@ -1,4 +1,4 @@
1
- from typing import Optional, Dict, Union, Text
1
+ from typing import Optional, Dict
2
2
 
3
3
  from requests import Session
4
4
 
@@ -6,7 +6,7 @@ from requests import Session
6
6
  class Bazaar:
7
7
  def __init__(self, api_key: str):
8
8
  self.session = Session()
9
- self.session.headers.update({"API-KEY": api_key})
9
+ self.session.headers.update({"Auth-Key": api_key})
10
10
  self.baseurl = "https://mb-api.abuse.ch/api/v1/"
11
11
 
12
12
  def query_hash(self, hash: str) -> Dict:
@@ -0,0 +1,48 @@
1
+ [project]
2
+ name = "malwarebazaar"
3
+ version = "0.2.9"
4
+ description = "CLI wrapper for malware bazaar API (bazaar.abuse.ch) and YARAify API (yaraify.abuse.ch)"
5
+ authors = [
6
+ {name="3c7", email="3c7@posteo.de>"}
7
+ ]
8
+ license = "MIT"
9
+ readme = "README.md"
10
+ requires-python = ">=3.10,<3.15"
11
+
12
+ dynamic = [ "classifiers" ]
13
+
14
+ dependencies = [
15
+ "requests (>=2.34.2)",
16
+ "PyYAML (>=6.0.3)",
17
+ "pyzipper (>=0.4.0)",
18
+ "pydantic (>=2.13.4)"
19
+ ]
20
+
21
+ [tool.poetry]
22
+ classifiers = [
23
+ "Development Status :: 5 - Production/Stable",
24
+ "Topic :: Security"
25
+ ]
26
+
27
+ [project.urls]
28
+ homepage = "https://github.com/3c7/bazaar"
29
+ repository = "https://github.com/3c7/bazaar"
30
+
31
+ [project.scripts]
32
+ bazaar = "malwarebazaar.bazaar:bazaar_app"
33
+ yaraify = "malwarebazaar.yaraify:yaraify_app"
34
+
35
+ [project.optional-dependencies]
36
+ cli = [
37
+ "rich (>=15.0.0)",
38
+ "click (>=8.3.3)",
39
+ "typer (>=0.25.1)"
40
+ ]
41
+
42
+ [tool.poetry.group.dev.dependencies]
43
+ types-PyYAML = "^6.0.12.20260510"
44
+ types-requests = "^2.33.0.20260513"
45
+
46
+ [build-system]
47
+ requires = ["poetry-core>=2"]
48
+ build-backend = "poetry.core.masonry.api"
@@ -1,41 +0,0 @@
1
- [tool.poetry]
2
- name = "malwarebazaar"
3
- version = "0.2.7"
4
- description = "CLI wrapper for malware bazaar API (bazaar.abuse.ch) and YARAify API (yaraify.abuse.ch)"
5
- authors = ["3c7 <3c7@posteo.de>"]
6
- license = "MIT"
7
- readme = "README.md"
8
- classifiers = [
9
- "Development Status :: 5 - Production/Stable",
10
- "Topic :: Security",
11
- "Programming Language :: Python :: 3",
12
- "Programming Language :: Python :: 3 :: Only",
13
- "License :: OSI Approved :: MIT License",
14
- ]
15
- homepage = "https://github.com/3c7/bazaar"
16
- repository = "https://github.com/3c7/bazaar"
17
-
18
- [tool.poetry.dependencies]
19
- python = "^3.9,<3.14"
20
- requests = "^2.31.0"
21
- PyYAML = "^6.0.1"
22
- pyzipper = "^0.3.6"
23
- rich = { version = "^13.6.0", optional = true }
24
- typer = { version = "^0.9.0", optional = true }
25
- pydantic = "^2.4.2"
26
-
27
- [tool.poetry.extras]
28
- cli = ["rich", "click", "typer"]
29
-
30
-
31
- [tool.poetry.group.dev.dependencies]
32
- types-PyYAML = "^6.0.12.12"
33
- types-requests = "^2.31.0.8"
34
-
35
- [build-system]
36
- requires = ["poetry-core>=1.1.0"]
37
- build-backend = "poetry.core.masonry.api"
38
-
39
- [tool.poetry.scripts]
40
- bazaar = "malwarebazaar.bazaar:bazaar_app"
41
- yaraify = "malwarebazaar.yaraify:yaraify_app"
File without changes
File without changes