Crates.io | py-unpack |
lib.rs | py-unpack |
version | 0.1.0 |
source | src |
created_at | 2024-04-10 20:39:28.259591 |
updated_at | 2024-04-10 20:39:28.259591 |
description | Unpack is a simple, fast and user-friendly tool to analyze python project packaging. |
homepage | https://github.com/bnkc/unpack |
repository | https://github.com/bnkc/unpack |
max_upload_size | |
id | 1203986 |
size | 719,048 |
Unpack python packages from your project and more.
Unpack has a few goals:
To achieve those, Unpack:
-used
is when the package is locally installed, one of it's aliases is actively used in the project, and a corresponding dependency is declared in pyproject.toml
or requirements.txt
. This state indicates a fully integrated and properly managed package.
-unused
is when the package is locally installed, and a corresponding dependency is declared in pyproject.toml
or requirements.txt
, but is not actively used in the project. Caveat: This package must not be a dependency of any actively -used
package to be considered unused.
-untracked
is when the package is installed, and one of it's aliases is actively used in the project, but is not declared in pyproject.toml
or requirements.txt
. This highlights packages that are implicitly used but not formally declared, which may lead to inconsistencies or issues in dependency management and deployment.
📦 Unused Packages
package | version | size
--------------+--------------+----------
scikit-learn | ^1.4.1.post1 | 46.9 MiB
keras | ^3.0.5 | 8.8 MiB
pydantic | ^1.9.0 | 3.1 MiB
💽 Total disk space: 58.9 MiB
Note: There might be false-positives.
For example, unpack cannot detect usage of packages that are not imported under `[tool.poetry.*]`.
Similarly, it can only detect declared packages in requirements.txt or pyproject.toml.