malwarebazaar 0.2.6__tar.gz → 0.2.8__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,20 +1,19 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.3
2
2
  Name: malwarebazaar
3
- Version: 0.2.6
3
+ Version: 0.2.8
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
5
  License: MIT
7
6
  Author: 3c7
8
7
  Author-email: 3c7@posteo.de
9
- Requires-Python: >=3.8,<3.13
8
+ Requires-Python: >=3.9,<3.14
10
9
  Classifier: Development Status :: 5 - Production/Stable
11
10
  Classifier: License :: OSI Approved :: MIT License
12
11
  Classifier: Programming Language :: Python :: 3
13
- Classifier: Programming Language :: Python :: 3.8
14
12
  Classifier: Programming Language :: Python :: 3.9
15
13
  Classifier: Programming Language :: Python :: 3.10
16
14
  Classifier: Programming Language :: Python :: 3.11
17
15
  Classifier: Programming Language :: Python :: 3.12
16
+ Classifier: Programming Language :: Python :: 3.13
18
17
  Classifier: Programming Language :: Python :: 3 :: Only
19
18
  Classifier: Topic :: Security
20
19
  Provides-Extra: cli
@@ -24,6 +23,7 @@ Requires-Dist: pyzipper (>=0.3.6,<0.4.0)
24
23
  Requires-Dist: requests (>=2.31.0,<3.0.0)
25
24
  Requires-Dist: rich (>=13.6.0,<14.0.0) ; extra == "cli"
26
25
  Requires-Dist: typer (>=0.9.0,<0.10.0) ; extra == "cli"
26
+ Project-URL: Homepage, https://github.com/3c7/bazaar
27
27
  Project-URL: Repository, https://github.com/3c7/bazaar
28
28
  Description-Content-Type: text/markdown
29
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:
@@ -1,22 +1,22 @@
1
1
  [tool.poetry]
2
2
  name = "malwarebazaar"
3
- version = "0.2.6"
3
+ version = "0.2.8"
4
4
  description = "CLI wrapper for malware bazaar API (bazaar.abuse.ch) and YARAify API (yaraify.abuse.ch)"
5
5
  authors = ["3c7 <3c7@posteo.de>"]
6
6
  license = "MIT"
7
7
  readme = "README.md"
8
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"
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
14
  ]
15
15
  homepage = "https://github.com/3c7/bazaar"
16
16
  repository = "https://github.com/3c7/bazaar"
17
17
 
18
18
  [tool.poetry.dependencies]
19
- python = "^3.8,<3.13"
19
+ python = "^3.9,<3.14"
20
20
  requests = "^2.31.0"
21
21
  PyYAML = "^6.0.1"
22
22
  pyzipper = "^0.3.6"
File without changes
File without changes