FOSSology  4.5.1
Open Source License Compliance by Open Source Software
Packages.py
1 #!/usr/bin/env python3
2 
3 # SPDX-FileCopyrightText: © 2025 Siemens AG
4 # SPDX-FileContributor: Gaurav Mishra <mishra.gaurav@siemens.com>
5 
6 # SPDX-License-Identifier: GPL-2.0-only
7 
8 
9 class Packages(object):
10  """
11  Class to hold the list of packages and their information.
12 
13  :ivar parent_package: Parent package during the scan
14  :ivar dependencies: List of dependencies of the parent package
15  """
16  parent_package: dict = None
17  dependencies: dict[str, dict] = {}