python_dependency — Python Dependency Network
- Description
Network of dependencies among Python packages registered in the Python Package Index (PyPI), assembled by K. Gullikson and published in February 2016. The source distributions of the packages on PyPI were downloaded, and their dependencies were extracted with a modified version of the requirements-detector tool, by parsing the
install_requiresargument insetup.py, or, failing that, the requirements files of the package; packages whosesetup.pycould not be parsed were left out. Nodes are packages, and a directed edge $(i,j)$ indicates that package $i$ requires package $j$. Parallel edges were removed. Package names are matched as on PyPI, i.e. ignoring case and treating "-", "_" and "." as equivalent (the requirements are often spelled differently from the package names). Some packages appear in the source data with more than one version, which are merged into a single node. Packages without any detected requirement have no outgoing edges, and nodes without a version are packages that appear only as requirements.In the source data, for some rows the package name is missing, and only the combined package and version string (as in "abook-0.2.1") is given; the name was obtained here by splitting off the version. The network contains 92 self-loops, from packages that list themselves as a requirement in the source data.
The network has the following properties:
- (Node)
name: the name of the package, as given in the source data. - (Node)
versions: the versions of the package in the source data (empty for packages that appear only as requirements).
- (Node)
- Tags
- Technological Software Unweighted
- Added
- 2020-08-11
- Citation
-
- Kevin Gullikson, "Python Dependency Analysis" kgullikson88.github.io
- Upstream URL OK
- http://kgullikson88.github.io/blog/pypi-analysis.html
- Networks
-
Tip: hover over a column header for a description.
Column legend
- $\left<k\right>$
- Mean degree
- $\sigma_k$
- Standard deviation of the degrees
- $\lambda_h$
- Largest eigenvalue of the Hashimoto (non-backtracking) matrix
- $\tau$
- Random walk mixing time
- $r$
- Degree assortativity
- $c$
- Global clustering coefficient
- $\oslash$
- (Pseudo-) diameter
- $S$
- Relative size of the largest component
- NPs
- Node properties
- EPs
- Edge properties
- Ridiculograms*