SCANOSS Report
Project description
ossreport
Introduction
ossreport is a report tool for SCANOSS written in Python.
Prerequisites
- Python >= 3.7.0
Run
git clone https://github.com/craftslab/ossreport.git
cd ossreport
pip install -Ur requirements.txt
python report.py --config-file="config.yml" --license-file "license.json" --scanoss-file "scanoss.json" --output-file "output.pdf"
Docker
git clone https://github.com/craftslab/ossreport.git
cd ossreport
docker build --no-cache -f Dockerfile -t craftslab/ossreport:latest .
docker run -it -v /tmp:/tmp craftslab/ossreport:latest ./ossreport --config-file="config.yml" --license-file "license.json" --scanoss-file "/tmp/scanoss.json" --output-file "/tmp/output.pdf"
Usage
usage: report.py [-h] [--config-file CONFIG_FILE]
[--license-file LICENSE_FILE] --output-file OUTPUT_FILE
--scanoss-file SCANOSS_FILE [-v]
SCANOSS Report
optional arguments:
-h, --help show this help message and exit
--config-file CONFIG_FILE
config file (default: ossreport/config/config.yml)
--license-file LICENSE_FILE
license file (default: ossreport/data/license.json)
--output-file OUTPUT_FILE
output file (.pdf|.xlsx)
--scanoss-file SCANOSS_FILE
scanoss file (.json)
-v, --version show program's version number and exit
Settings
ossreport parameters can be set in the directory config.
An example of configuration in config.yml:
apiVersion: v1
kind: worker
metadata:
name: ossreport
spec:
License
Project License can be found here.
Reference
License
ReportLab
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
ossreport-1.1.0.tar.gz
(13.4 kB
view details)
Built Distribution
File details
Details for the file ossreport-1.1.0.tar.gz
.
File metadata
- Download URL: ossreport-1.1.0.tar.gz
- Upload date:
- Size: 13.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 842a8fb3dad7791615984da7b7988791bc116942b53060e982f39dd7f593c04d |
|
MD5 | 530f80b70e0027475aa127a6d0cc0470 |
|
BLAKE2b-256 | 891a47130ace5ebeb36d669954f05c731af7b8c4636c9354303422fc224aa5ef |
File details
Details for the file ossreport-1.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: ossreport-1.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 40.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bcb2a6fdb5288b89b321b021e760981c0bedcda3342f7fff62883e5e68d0f2a6 |
|
MD5 | ae1a30e8ad43684431c117fb7db5a53e |
|
BLAKE2b-256 | e3ebf2c66936f056ac02c94559677a02cf44742f98db8f6f882084e44871ae18 |