saeeddhqan / Maryam

Maryam: Open-source Intelligence(OSINT) Framework
GNU General Public License v3.0
1.03k stars 167 forks source link

Added plotter class and updated requirements, setup.py #242

Closed vikas-kundu closed 3 years ago

vikas-kundu commented 3 years ago

Fixes #

Resolves

Added a class to plot data into various types. Also merged the two methods plotly and histogram from mexts

Changes

Checklist

vikas-kundu commented 3 years ago

Can be called from any module like this:

def module_api(self):

    run = self.plotter({
    'data': '<html> index  vikas a v c </html>',
    'data_type': 'html',
    'plot_type': ['histogram', 'piechart', 'wordcloud'],
    #'plot_type': ['wordcloud'],
    'plot_title': 'test title',
    'limit': 5,
    'remove_stopwords': True,
    'remove_punc': True,    
    })
saeeddhqan commented 3 years ago

sorry for the time. work on the dev branch. Just add wordcloud.