A CLI parser for data from Dark Feed
Project description
Dark Feed Parser
This is a simples parser for all great data available with the API key of Dark Feed.
The idea is create functions to return data available in the interface and bring more insights, like:
- Top 10 countries this year
- Top 5 sectors in Brazil
- Top 3 ransomwares in latam
- Count of victims in America of the North in the last month
- Filters in a time range
- . . .
How install it
pip install darkfeed
If you don't know how run it you can use the argument -h
, like this:
darkfeed -h
usage: darkfeed [-h] [-i] [-u] [-a AFTER] [-b BEFORE] [-c COUNTRIES] [-lc] [-s SECTORS] [-ls] [-r RANSOMWARES] [-lr] [-v VICTIM] [-top_c TOP_COUNTRIES] [-top_s TOP_SECTORS] [-top_r TOP_RANSOMWARES] [-json]
[-count] [-xlsx] [-n] [-g]
Ransomware statistics - Kudos DarkFeed (darkfeed.io).
options:
-h, --help show this help message and exit
-i, --init First step. Pass your API key
-u, --update_base To save/update base to a file
-a AFTER, --after AFTER
Date started to collecting published victims. Format: YYYY-MM-DD
-b BEFORE, --before BEFORE
Date finished to collecting published victims. Format: YYYY-MM-DD
-c COUNTRIES, --country COUNTRIES
Country filer, write how many countries do you want split by [,]. You could also use: latam, south_america, central_america, middle_east, north_america, europe, asia, africa or
oceania
-lc, --list_countries
List all possible strings for countries
-s SECTORS, --sectors SECTORS
Sector filter, choose the sectors of your interest. You can choose more than one split then with [,]
-ls, --list_sectors List all possible sectors.
-r RANSOMWARES, --ransomwares RANSOMWARES
Ransomware filter, choose the ransomware group of your interest. You can choose more than one split then with [,]
-lr, --list_ransomwares
List all ransowmare groups in our base
-v VICTIM, --victim VICTIM
Use the name or substring to search a victm.
-top_c TOP_COUNTRIES, --top_countries TOP_COUNTRIES
Get the global top X countries.
-top_s TOP_SECTORS, --top_sectors TOP_SECTORS
Get the global top X sectors.
-top_r TOP_RANSOMWARES, --top_ransomwares TOP_RANSOMWARES
Get the global top X ransomwares.
-json To format your output to json
-count To count the num of items
-xlsx To convert data to spreadsheet / xlsx
-n, --news Cyber news!
-g, --start_gui Init a web service.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
darkfeed-0.6.tar.gz
(8.2 kB
view details)
Built Distribution
File details
Details for the file darkfeed-0.6.tar.gz
.
File metadata
- Download URL: darkfeed-0.6.tar.gz
- Upload date:
- Size: 8.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ff62b7619d1bf6aee2dbf8ad4717e9fb2606b995a6d0edc72ef8cb16bc3a7f4 |
|
MD5 | 5b6ea8e137fed2e09cb18efd481db803 |
|
BLAKE2b-256 | d1689df4b667756d8e77165c3dea482d036d5604316abf38a6bce8498dece87e |
File details
Details for the file darkfeed-0.6-py3-none-any.whl
.
File metadata
- Download URL: darkfeed-0.6-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fac76e66a5935b1b2206d587b5685f81db1ce8c3bca81d4532e6fd1f1907ce56 |
|
MD5 | 48f9e5d656dc2e2fa130c0e67feddddb |
|
BLAKE2b-256 | e13b187b3023858a5d1bb2d78845b3846222af693c7d0768eeac37e81a9ad146 |