{"library":"scancode-toolkit","title":"ScanCode Toolkit","description":"ScanCode is a tool to scan code for license, copyright, package and their documented dependencies and other interesting facts. Current version: 32.5.0. Releases are frequent (every few weeks to months). Requires Python >=3.10.","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install scancode-toolkit"],"cli":{"name":"scancode","version":"Traceback (most recent call last):"}},"imports":["from scancode.cli import Scanner","from scancode.output import JsonResults"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import os\nfrom scancode.cli import Scanner\n\nscanner = Scanner()\nresults = scanner.scan('path/to/scan', options={'--license': True, '--copyright': True})\nprint(results.as_json())","lang":"python","description":"Basic scan for licenses and copyrights on a directory. The scanner returns a results object; call as_json() to get JSON output.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}