Objsize is used in Python projects. Traversal over Python's objects subtree and calculate the total size of the subtree in bytes (deep size). It has no required runtime dependencies, making it lightweight to install. Check its dependency graph on PyDeps to understand the full transitive dependency tree, reverse dependents, known CVEs, and license compatibility before installing.
Traversal over Python's objects subtree and calculate the total size of the subtree in bytes (deep size).
objsize has no required runtime dependencies. Installing it adds no transitive packages to your environment, which keeps installs small and minimizes the supply-chain surface you need to audit.
Beyond its direct dependencies, objsize can pull in further packages through its dependency tree. PyDeps resolves the entire chain from PyPI and deps.dev so you can see every transitive (nested) dependency of objsize, expand any node on demand, and understand the full set of code that ships when you run pip install objsize.
PyDeps checks objsize and every package in its dependency tree against the OSV vulnerability database in real time. For each CVE you can see the severity, the affected version ranges, and the first fixed version, so you know exactly which objsize version is safe to install before you ship.
objsize is distributed under the BSD-3-Clause license. PyDeps also shows the license of every dependency in the tree so you can audit license compatibility across your whole objsize install, not just the top-level package.
Install from PyPI with pip install objsize. For offline or air-gapped environments, PyDeps can download objsize together with every resolved dependency as wheel files in a single bundle, matched to your target Python version and operating system.
Switch to the dependents view to see the reverse dependencies of objsize — the PyPI packages that list objsize as a requirement. Reverse dependencies are a strong signal of how widely a package is trusted and how disruptive a breaking change would be.