vysion 2.0.10__tar.gz → 2.0.11__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.
- {vysion-2.0.10 → vysion-2.0.11}/PKG-INFO +3 -3
- {vysion-2.0.10 → vysion-2.0.11}/README.md +2 -2
- {vysion-2.0.10 → vysion-2.0.11}/pyproject.toml +1 -1
- {vysion-2.0.10 → vysion-2.0.11}/vysion/client/client.py +2 -0
- {vysion-2.0.10 → vysion-2.0.11}/vysion/dto/dto.py +14 -37
- {vysion-2.0.10 → vysion-2.0.11}/vysion/version.py +1 -1
- {vysion-2.0.10 → vysion-2.0.11}/LICENSE +0 -0
- {vysion-2.0.10 → vysion-2.0.11}/vysion/__init__.py +0 -0
- {vysion-2.0.10 → vysion-2.0.11}/vysion/client/__init__.py +0 -0
- {vysion-2.0.10 → vysion-2.0.11}/vysion/client/error.py +0 -0
- {vysion-2.0.10 → vysion-2.0.11}/vysion/dto/__init__.py +0 -0
- {vysion-2.0.10 → vysion-2.0.11}/vysion/dto/tag.py +0 -0
- {vysion-2.0.10 → vysion-2.0.11}/vysion/dto/util.py +0 -0
- {vysion-2.0.10 → vysion-2.0.11}/vysion/model/__init__.py +0 -0
- {vysion-2.0.10 → vysion-2.0.11}/vysion/model/enum/__init__.py +0 -0
- {vysion-2.0.10 → vysion-2.0.11}/vysion/model/enum/languages.py +0 -0
- {vysion-2.0.10 → vysion-2.0.11}/vysion/model/enum/networks.py +0 -0
- {vysion-2.0.10 → vysion-2.0.11}/vysion/model/enum/ransom_groups.py +0 -0
- {vysion-2.0.10 → vysion-2.0.11}/vysion/model/enum/services.py +0 -0
- {vysion-2.0.10 → vysion-2.0.11}/vysion/taxonomy/__init__.py +0 -0
- {vysion-2.0.10 → vysion-2.0.11}/vysion/taxonomy/flavours.py +0 -0
- {vysion-2.0.10 → vysion-2.0.11}/vysion/taxonomy/taxonomy.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: vysion
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.11
|
|
4
4
|
Summary: The official Python client library for Vysion
|
|
5
5
|
Home-page: https://vysion.ai
|
|
6
6
|
License: Apache-2.0
|
|
@@ -25,11 +25,11 @@ Description-Content-Type: text/markdown
|
|
|
25
25
|
|
|
26
26
|
# Vysion-PY
|
|
27
27
|
|
|
28
|
-
Welcome to the
|
|
28
|
+
Welcome to the PyPi webpage for Vysion, our implementation as a Python library to use the Vysion tool. Vysion is a dark web intelligence tool that provides information collected from web pages from Tor, I2P, cybercrime forums on the clearnet, etc. Vysion API also provides a feed of information on ransomware attacks published by the various ransomware groups currently active.
|
|
29
29
|
|
|
30
30
|
You can request a demo for the web app or an API-key to use in this library at [vysion.ai](https://vysion.ai).
|
|
31
31
|
|
|
32
|
-
Latest version: [2.0.
|
|
32
|
+
Latest version: [2.0.11](https://pypi.org/project/vysion/)
|
|
33
33
|
|
|
34
34
|
You can visit [the documentation](https://developers.vysion.ai/?python) for more information on the searches and requests performed with the library or directly on the API.
|
|
35
35
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# Vysion-PY
|
|
2
2
|
|
|
3
|
-
Welcome to the
|
|
3
|
+
Welcome to the PyPi webpage for Vysion, our implementation as a Python library to use the Vysion tool. Vysion is a dark web intelligence tool that provides information collected from web pages from Tor, I2P, cybercrime forums on the clearnet, etc. Vysion API also provides a feed of information on ransomware attacks published by the various ransomware groups currently active.
|
|
4
4
|
|
|
5
5
|
You can request a demo for the web app or an API-key to use in this library at [vysion.ai](https://vysion.ai).
|
|
6
6
|
|
|
7
|
-
Latest version: [2.0.
|
|
7
|
+
Latest version: [2.0.11](https://pypi.org/project/vysion/)
|
|
8
8
|
|
|
9
9
|
You can visit [the documentation](https://developers.vysion.ai/?python) for more information on the searches and requests performed with the library or directly on the API.
|
|
10
10
|
|
|
@@ -397,6 +397,7 @@ class Client(BaseClient):
|
|
|
397
397
|
gte: datetime = None,
|
|
398
398
|
lte: datetime = None,
|
|
399
399
|
page: int = 1,
|
|
400
|
+
page_size: int = 10,
|
|
400
401
|
username: str = None,
|
|
401
402
|
) -> VysionResponse[ImMessageHit]:
|
|
402
403
|
url = self._build_api_url__(
|
|
@@ -405,6 +406,7 @@ class Client(BaseClient):
|
|
|
405
406
|
gte=gte,
|
|
406
407
|
lte=lte,
|
|
407
408
|
page=page,
|
|
409
|
+
page_size=page_size,
|
|
408
410
|
username=username,
|
|
409
411
|
)
|
|
410
412
|
|
|
@@ -287,10 +287,10 @@ class LanguagePair(BaseModel):
|
|
|
287
287
|
|
|
288
288
|
|
|
289
289
|
class ImMessageHit(BaseModel):
|
|
290
|
-
userId: Optional[int] = Field(default_factory=lambda: None)
|
|
290
|
+
userId: Optional[Union[int, str]] = Field(default_factory=lambda: None)
|
|
291
291
|
username: Optional[str] = Field(default_factory=lambda: None)
|
|
292
|
-
channelId: Optional[int] = Field(default_factory=lambda: None)
|
|
293
|
-
messageId: str
|
|
292
|
+
channelId: Optional[Union[int, str]] = Field(default_factory=lambda: None)
|
|
293
|
+
messageId: Union[int, str]
|
|
294
294
|
message: Optional[str] = Field(default_factory=lambda: None)
|
|
295
295
|
channelTitle: Optional[str] = Field(default_factory=lambda: None)
|
|
296
296
|
languages: Optional[List[LanguagePair]] = Field(default_factory=lambda: None)
|
|
@@ -298,38 +298,25 @@ class ImMessageHit(BaseModel):
|
|
|
298
298
|
sha256sum: Optional[str] = None
|
|
299
299
|
media: Optional[str] = Field(default_factory=lambda: None)
|
|
300
300
|
detectionDate: datetime
|
|
301
|
-
serverId: Optional[int] = Field(default_factory=lambda: None) #Discord Exclusive
|
|
301
|
+
serverId: Optional[Union[int, str]] = Field(default_factory=lambda: None) #Discord Exclusive
|
|
302
302
|
serverTitle: Optional[str] = Field(default_factory=lambda: None) #Discord Exclusive
|
|
303
303
|
platform: Optional[str] = Field(default_factory=lambda: None) #Discord Exclusive
|
|
304
|
-
|
|
305
|
-
@field_validator("messageId")
|
|
306
|
-
def validate_messageId(cls, v: int) -> int:
|
|
307
|
-
if not v:
|
|
308
|
-
raise ValueError("MessageId field cannot be empty")
|
|
309
|
-
return v
|
|
310
304
|
|
|
311
305
|
class ImMessageCardHit(BaseModel):
|
|
312
|
-
userId: Optional[int] = Field(default_factory=lambda: None)
|
|
306
|
+
userId: Optional[Union[int, str]] = Field(default_factory=lambda: None)
|
|
313
307
|
username: Optional[str] = Field(default_factory=lambda: None)
|
|
314
308
|
channelId: Optional[int] = Field(default_factory=lambda: None)
|
|
315
|
-
messageId: str
|
|
309
|
+
messageId: Union[int, str]
|
|
316
310
|
message: Optional[str] = Field(default_factory=lambda: None)
|
|
317
311
|
channelTitle: Optional[str] = Field(default_factory=lambda: None)
|
|
318
312
|
languages: Optional[List[LanguagePair]] = Field(default_factory=lambda: None)
|
|
319
313
|
detectionDate: datetime
|
|
320
|
-
serverId: Optional[int] = Field(default_factory=lambda: None) #Discord Exclusive
|
|
314
|
+
serverId: Optional[Union[int, str]] = Field(default_factory=lambda: None) #Discord Exclusive
|
|
321
315
|
serverTitle: Optional[str] = Field(default_factory=lambda: None) #Discord Exclusive
|
|
322
316
|
platform: Optional[str] = Field(default_factory=lambda: None)
|
|
323
317
|
|
|
324
|
-
@field_validator("messageId")
|
|
325
|
-
def validate_messageId(cls, v: int) -> int:
|
|
326
|
-
if not v:
|
|
327
|
-
raise ValueError("MessageId field cannot be empty")
|
|
328
|
-
return v
|
|
329
|
-
|
|
330
|
-
|
|
331
318
|
class ImProfileHit(BaseModel):
|
|
332
|
-
userId: int
|
|
319
|
+
userId: Union[int, str]
|
|
333
320
|
usernames: Optional[List[str]] = Field(default_factory=lambda: None)
|
|
334
321
|
firstName: Optional[List[str]] = Field(default_factory=lambda: None)
|
|
335
322
|
lastName: Optional[List[str]] = Field(default_factory=lambda: None)
|
|
@@ -338,6 +325,7 @@ class ImProfileHit(BaseModel):
|
|
|
338
325
|
bot: Optional[bool] = Field(default_factory=lambda: None) #Discord Exclusive
|
|
339
326
|
discordLink: Optional[List[str]] = Field(default_factory=lambda: None) #Discord Exclusive
|
|
340
327
|
discriminator: Optional[List[int]] = Field(default_factory=lambda: None) #Discord Exclusive
|
|
328
|
+
platform: Optional[str] = Field(default_factory=lambda: None)
|
|
341
329
|
|
|
342
330
|
@field_validator("userId")
|
|
343
331
|
def validate_userId(cls, v: int) -> int:
|
|
@@ -353,20 +341,15 @@ class ImProfileHit(BaseModel):
|
|
|
353
341
|
|
|
354
342
|
|
|
355
343
|
class ImChannelHit(BaseModel):
|
|
356
|
-
channelId: int
|
|
344
|
+
channelId: Union[int, str]
|
|
357
345
|
channelTitles: Optional[List[str]] = Field(default_factory=lambda: None)
|
|
358
346
|
detectionDate: datetime
|
|
359
347
|
creationDate: datetime
|
|
360
348
|
channelPhoto: Optional[List[str]] = Field(default_factory=lambda: None) #Telegram Exclusive
|
|
361
|
-
serverId: Optional[int] = Field(default_factory=lambda: None) #Discord Exclusive
|
|
349
|
+
serverId: Optional[Union[int, str]] = Field(default_factory=lambda: None) #Discord Exclusive
|
|
362
350
|
serverTitle: Optional[List[str]] = Field(default_factory=lambda: None) #Discord Exclusive
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
def validate_channelId(cls, v: int) -> int:
|
|
366
|
-
if not v:
|
|
367
|
-
raise ValueError("channelId field cannot be empty")
|
|
368
|
-
return v
|
|
369
|
-
|
|
351
|
+
platform: Optional[str] = Field(default_factory=lambda: None)
|
|
352
|
+
|
|
370
353
|
@field_validator("detectionDate")
|
|
371
354
|
def validate_detectionDate(cls, v: datetime) -> datetime:
|
|
372
355
|
if not v:
|
|
@@ -380,7 +363,7 @@ class ImChannelHit(BaseModel):
|
|
|
380
363
|
return v
|
|
381
364
|
|
|
382
365
|
class ImServerHit(BaseModel):
|
|
383
|
-
serverId: int
|
|
366
|
+
serverId: Union[int, str]
|
|
384
367
|
serverTitles: Optional[List[str]] = Field(default_factory=lambda: None)
|
|
385
368
|
detectionDate: datetime
|
|
386
369
|
creationDate: datetime
|
|
@@ -388,12 +371,6 @@ class ImServerHit(BaseModel):
|
|
|
388
371
|
memberCount: Optional[int] = Field(default_factory=lambda: None)
|
|
389
372
|
discordLink: Optional[List[str]] = Field(default_factory=lambda: None)
|
|
390
373
|
|
|
391
|
-
@field_validator("serverId")
|
|
392
|
-
def validate_channelId(cls, v: int) -> int:
|
|
393
|
-
if not v:
|
|
394
|
-
raise ValueError("serverId field cannot be empty")
|
|
395
|
-
return v
|
|
396
|
-
|
|
397
374
|
@field_validator("detectionDate")
|
|
398
375
|
def validate_detectionDate(cls, v: datetime) -> datetime:
|
|
399
376
|
if not v:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|