Skip to main content

SCANOSS Report

Project description

ossreport

Actions Status Docker License PyPI Tag

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


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.0.0.tar.gz (13.5 kB view details)

Uploaded Source

Built Distribution

ossreport-1.0.0-py2.py3-none-any.whl (40.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file ossreport-1.0.0.tar.gz.

File metadata

  • Download URL: ossreport-1.0.0.tar.gz
  • Upload date:
  • Size: 13.5 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

Hashes for ossreport-1.0.0.tar.gz
Algorithm Hash digest
SHA256 5b1d20ff94aaaea98be38141815c93e5701adcfc822e3fb6fa68230eda768196
MD5 ed739d91d40912b255fd9384d1586e90
BLAKE2b-256 0227e75cf4b54c4218be6d4aafe1a4796ef9ddc027559bba19b108e959e91593

See more details on using hashes here.

File details

Details for the file ossreport-1.0.0-py2.py3-none-any.whl.

File metadata

  • Download URL: ossreport-1.0.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

Hashes for ossreport-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d1be461c0204c6e9cf8b20a4b2ceb8e77b8f4d458b4040acf17631bbc591ea5f
MD5 a3b7290b18d518e1b6be7151f39786be
BLAKE2b-256 9b25053133b9bbe54629bfe0db7c79437eb6b48738ad3d40ba1c456788fa820c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page