Skip to content

Python script for quickly finding the connections between two pages on Wikipedia and performing analysis on the aggregated results

License

Notifications You must be signed in to change notification settings

tyler-a-cox/degrees-of-wikipedia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Six Degrees of Separation - Wikipedia

Example Gif

Installation

git clone https://github.com/tyler-a-cox/degrees-of-wikipedia
cd degrees-of-wikipedia
python setup.py install

Usage

wikiracer "Michael Jordan" "Ficus lyrata"

Improvements

There are a couple of improvements I'd like to make:

  • Store page information and links in the database and query database before making an http request
    • I haven't run a test yet but I think with the image metadata coming from the MediaWiki http request is slowing down those returns and a database query may be fast
  • Run analysis on wikipedia queries to see what the average degree of separation between two wikipedia articles

About

Python script for quickly finding the connections between two pages on Wikipedia and performing analysis on the aggregated results

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published