FOSSLight Scanner
Project description
FOSSLight Scanner
Analyze at once for Open Source Compliance.
FOSSLight Scanner performs open source analysis after downloading the source by passing a link that can be cloned by wget or git. Instead, open source analysis can be performed for the local source path. The output result is generated in FOSSLight Report format.
- FOSSLight Source Scanner Extract license and copyright in the source code using ScanCode.
- FOSSLight Dependency Scanner Extract dependency and OSS information from the package manager's manifest file.
Contents
📋 Prerequisite
FOSSLight Scanner needs a Python 3.6+.
🎉 How to install
It can be installed using pip3. It is recommended to install it in the python 3.6 + virtualenv environment.
$ pip3 install fosslight_scanner
🚀 How to run
FOSSLight Scanner is run with the fosslight command.
Parameters
Parameter | Argument | Description |
---|---|---|
h | None | Print help message. |
s | String | Path to analyze source. |
d | String | Path to analyze dependencies. |
a | String | Additional arguments for running dependency analysis. See the FOSSLight Dependency Guide for instructions. |
w | String | Link to be analyzed can be downloaded by wget or git clone. |
o | String | Output Directory. |
Ex 1. Local Source Analysis
$ fosslight -d /home/source_path -a "-a 'source /test/Projects/venv/bin/activate' -d 'deactivate'" -s /home/source_path
Ex 2. Download Link and analyze
$ fosslight -o test_result_wget -w "https://github.com/LGE-OSS/example.git"
📁 Result
$ tree
.
├── fosslight_raw_data_20210924_022422
│ ├── fosslight_log_20210924_022422.txt
│ ├── FOSSLight-Report_SRC_SRC.csv
│ ├── FOSSLight-Report_SRC.xlsx
│ ├── pip_dependency_output_SRC.csv
│ └── pip_dependency_output.xlsx
└── FOSSLight-Report_20210924_022422.xlsx
- FOSSLight_Report-[datetime].xlsx : OSS Report format file that outputs source code analysis, binary analysis, and dependency analysis results.
- fosslight_raw_data_[datetime] directory: Directory in which raw data files are created as a result of analysis
👏 How to report issue
Please report any ideas or bugs to improve by creating an issue in fosslight_scanner repository.
Then there will be quick bug fixes and upgrades. Ideas to improve are always welcome.
📄 License
FOSSLight Scanner is released under Apache-2.0.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for fosslight_scanner-1.6.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 478aad3f69a09fb4c4fab5418120ba5ce46e7d0003caea9dd25dcd23b9c04cbb |
|
MD5 | 6ca0652654c1df1a91d9ef431c812925 |
|
BLAKE2b-256 | 78c122e7271a2352eea0b5b0827278e8d5dbe0946da8f1d3ae9d96d85ad8df7e |