https://github.com/jayqi/pkgnet-python
Experimental port of pkgnet to Python
https://github.com/jayqi/pkgnet-python
Last synced: about 1 year ago
JSON representation
Experimental port of pkgnet to Python
- Host: GitHub
- URL: https://github.com/jayqi/pkgnet-python
- Owner: jayqi
- Created: 2024-05-10T21:20:59.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-10T21:29:22.000Z (about 2 years ago)
- Last Synced: 2025-03-25T05:18:09.880Z (about 1 year ago)
- Language: Python
- Size: 22.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pkgnet for Python
> [!IMPORTANT]
> This is an **experimental** port of the [pkgnet](https://github.com/uptake/pkgnet) R package to Python for analysis of Python packages.
**pkgnet** is a Python library designed for the analysis of Python libraries! The goal of the package is to build a graph representation of a package and its dependencies to inform a variety of activities, including:
- prioritizing functions to unit test based on their centrality
- examining the recursive dependencies you are taking on by using a given package
- exploring the structure of a new package provided by a coworker or downloaded from the internet
## How it Works
The core functionality of this package is the CreatePackageReport function.
## Installation
This package is not yet available via PyPI. You will need to clone this repository and install from source:
```bash
pip install .
```
## Usage Examples
Try it out!
```python
from pkgnet import create_package_report
create_package_report("jinja2")
```