hits, a Python code which carries out the HITS algorithm for assigning authority and hub indices to a directed network of web pages.


The computer code and data files made available on this web page are distributed under the MIT license


hits is available in a MATLAB version and a Python version.

Related Data and Programs:

pagerank, a Python code which illustrates the eigenvalue (power method) and surfer (Markov chain) approaches to ranking web pages.


  1. Jon Kleinberg,
    Authoritative sources in a hyperlinked environment,
    Journal of the ACM,
    Volume 46, Number 5, pages 604-632, 1999.

Source Code:

Last modified on 15 September 2022.