Browse and verify all dependencies in Python packages.
This website is a very lightweight static site, consisting of a single page, which uses the PyPI API to recursively retrieve the dependencies required for a given Python package.
The core logic is handled by the DependencyExplorer class, which basically:
- fetches package data (using
https://pypi.org/pypi/${packageName}/jsonendpoint) - extract required dependencies
- computes key stats (total dependencies, etc)
- build the dependency tree and display it
Everything runs on the client side, and the website is deployed on Github Pages.
Take a look at the open issues (or open a new one) and see if any of them seem feasible to you!
Setting up your environment is extremely simple:
git clone https://github.com/y-sunflower/python-dependency-tracker.git
cd python-dependency-trackerNext, you can either simply open the index.html file in your browser, or use live-server for live reloading:
npm install -g live-server
live-server # this will open your browser