The objective of this project is to utilize social network analysis techniques to examine the relationships between actors on the Internet Relay Chat(IRC) social networking service. The IRCLogParser is an application that accepts IRC log files from different channels and parses them to analyse the principles of interaction between IRC users. Study of these interactions on different levels helps us in deriving the local and global communication patterns between users on different channels. Therefore, IRCLogParser draws its inspiration from various fields such as data mining, graph theory and inferential modeling in order to form predictive models that help in understanding certain intricate characteristics of a social network. This involves analyzing graphs with IRC users(nodes) and their connections(edges), to study the details about various network graph properties such as density, size, node centrality, degree, connectedness etc.
The library's working has been modularised into many modules namely input, analysis, output, visualisation and validation. The sample.py file very comprehensively presents how one can use IRCLogParser for parsing and analysis.
Some of the visualisable sample outputs can be seen here, giving an idea about IRCLogParser's capabilites.
IRCLogParser uses Sphinx Python Documentation Genertor for generating documentation of the library. The documentation is setup to work with Google Style Docstrings which eases the documentation writing process.
The documentation is deployed on the branch gh-pages
who's updation has been made automatic by the a bash script which otherwise requires to run make html
in docs directory after every commit.
You can view the documentation hosted on gh-pages
here.
Presently, IRCLogParser has various end-to-end implemented which reside in the test directory.
To run the tests locally on your machine, run python -m unittest -v tests
in the test directory.
IRCLogParser depends on various third-party libraries which are handled by setup.py.
Run pip -v install -e .
in the root directory to install these dependencies.
IRCLogParser is available under the MIT License