Skip to content

Python Script to detect the fastest way between a start and end Wikipedia article. If you want to work on this project, check out the Projects tab!

License

Notifications You must be signed in to change notification settings

MuddyHope/KevinBacon

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KevinBacon

GitHub Issues or Pull Requests GitHub commit activity GitHub top language GitHub Issues or Pull Requests by label

Python Script to detect the fastest way between a start and end Wikipedia article.

Description

KevinBacon is a Python script designed to find the shortest path between two Wikipedia articles. It uses the Wikipedia API to travel through links and determine the quickest route from the starting article to the destination article.

Features

  • Pathfinding between Wikipedia articles
  • Skips unnecessary categories and pages (e.g., "Help:", "Wikipedia:")

Usage

  1. Clone the repository:
    git clone https://github.com/ArchooD2/KevinBacon.git
  2. Navigate to the project directory:
    cd KevinBacon
  3. a. Run the script:
    python baconwaffle.py "start article" "end article" "depth"
    b. Run the GUIscript:
    python bacongui.py

Scripts

baconwaffle.py

This script uses a breadth-first search (BFS) algorithm to find the shortest path between Wikipedia articles.

Optimization

I want this to be optimized, so any suggestions or contributions to enhance the performance and efficiency of the script (or new scripts) are welcome! See the CONTRIBUTING.md file for detailed guidelines on how to contribute.

Contributing

This project is open for public use. Feel free to fork the repository, make improvements, and submit pull requests. If you use this in a project, just credit me somewhere!

License

This project is licensed under the GPLv3.0 License. See the LICENSE file for details.

Contact

If you have any questions or suggestions, please open an Issue!


Thank you for checking out KevinBacon! Happy pathfinding!

About

Python Script to detect the fastest way between a start and end Wikipedia article. If you want to work on this project, check out the Projects tab!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 56.6%
  • Python 43.4%