malwarebazaar 0.2.7__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,8 +1,7 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.3
2
2
  Name: malwarebazaar
3
- Version: 0.2.7
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
@@ -14,6 +13,7 @@ Classifier: Programming Language :: Python :: 3.9
14
13
  Classifier: Programming Language :: Python :: 3.10
15
14
  Classifier: Programming Language :: Python :: 3.11
16
15
  Classifier: Programming Language :: Python :: 3.12
16
+ Classifier: Programming Language :: Python :: 3.13
17
17
  Classifier: Programming Language :: Python :: 3 :: Only
18
18
  Classifier: Topic :: Security
19
19
  Provides-Extra: cli
@@ -23,6 +23,7 @@ Requires-Dist: pyzipper (>=0.3.6,<0.4.0)
23
23
  Requires-Dist: requests (>=2.31.0,<3.0.0)
24
24
  Requires-Dist: rich (>=13.6.0,<14.0.0) ; extra == "cli"
25
25
  Requires-Dist: typer (>=0.9.0,<0.10.0) ; 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:
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "malwarebazaar"
3
- version = "0.2.7"
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"
File without changes
File without changes