Skip to main content

ScanCode is a tool to scan code for license, copyright, package and their documented dependencies and other interesting facts. scancode-toolkit-mini is a special build that does not come with pre-built binary dependencies by default. These are instead installed separately or with the extra_requires scancode-toolkit-mini[full]

Project description

ScanCode Toolkit is a set of code scanning tools that detect the origin (copyrights), license and vulnerabilities of code, packages and dependencies in a codebase. ScanCode Toolkit is an AboutCode project.

Why Use ScanCode Toolkit?

ScanCode Toolkit is the leading tool in scanning depth and accuracy, used by hundreds of software teams. You can use ScanCode Toolkit as a command line tool or as a library.

Getting Started

Instructions to get you up and running on your local machine are at Getting Started

The ScanCode Toolkit documentation also provides:

  • prerequisites for installing the software.

  • instructions guiding you to start scanning code.

  • a comprehensive guide to the command line options.

  • tutorials that provide hands-on guidance to ScanCode features.

  • how to expand ScanCode Licenses and Detection Rules with your own data.

  • how to generate Attribution from a ScanCode scan.

  • guidelines for contributing to code development.

Build and tests status

We run 30,000+ tests on each commit on multiple CIs to ensure a good platform compabitility with multiple versions of Windows, Linux and macOS.

Azure

RTD Build

GitHub actions Docs

GitHub actions Release

Azure tests status (Linux, macOS, Windows)

Documentation Status

Documentation Tests

Release tests

Benefits of ScanCode

  • ScanCode is heavily tested with an automated test suite of over 30,000 tests.

  • ScanCode is used by several projects and organizations such as the Eclipse Foundation, OpenEmbedded.org, the FSFE, the FSF, OSS Review Toolkit, ClearlyDefined.io, RedHat Fabric8 analytics, and many more.

  • You can also organize and run ScanCode server-side with the companion ScanCode.io web app to organize and store multiple scan projects including scripted scanning pipelines.

  • As a standalone command-line tool, ScanCode is easy to install, run, and embed in your CI/CD processing pipeline. It runs on Windows, macOS, and Linux.

  • ScanCode detects licenses, copyrights, package manifests, direct dependencies, and more both in source code and binary files and is considered as the best-in-class and reference tool in this domain, re-used as the core tools for software composition data collection by several open source tools.

  • ScanCode provides the most accurate license detection engine and does a full comparison (also known as diff or red line comparison) between a database of license texts and your code instead of relying only on approximate regex patterns or probabilistic search, edit distance or machine learning.

  • Written in Python, ScanCode is easy to extend with plugins to contribute new and improved scanners, data summarization, package manifest parsers, and new outputs.

  • You can save your scan results as JSON, YAML, HTML, CycloneDX or SPDX or even create your own format with Jinja templates.

  • ScanCode can process packages, build manifest and lockfile formats to collect Package URLs and extract metadata. See all available package parsers for the exhaustive list.

Support

If you have a specific problem, suggestion or bug, please submit a GitHub issue.

For quick questions or socializing, join the AboutCode community discussions on Slack.

Interested in commercial suppport? Contact the AboutCode team.

License

  • Apache-2.0 is the overall license.

  • CC-BY-4.0 applies to reference datasets.

  • There are multiple secondary permissive or copyleft licenses (LGPL, MIT, BSD, GPL 2/3, etc.) for third-party components and test suite code and data.

See the NOTICE file and the .ABOUT files that document the origin and license of the third-party code used in ScanCode for more details.

Acknowledgements, Funding, Support and Sponsoring

This project is funded, supported and sponsored by:

  • Generous support and contributions from users like you!

  • the European Commission NGI programme

  • the NLnet Foundation

  • the Swiss State Secretariat for Education, Research and Innovation (SERI)

  • Google, including the Google Summer of Code and the Google Seasons of Doc programmes

  • Mercedes-Benz Group

  • Microsoft and Microsoft Azure

  • AboutCode ASBL

  • nexB Inc.

Europa logo EC DG Connect logo

NGI logo NLnet foundation logo

AboutCode logo nexB logo

This project was funded through the NGI0 Discovery Fund, a fund established by NLnet with financial support from the European Commission’s Next Generation Internet programme, under the aegis of DG Communications Networks, Content and Technology under grant agreement No 825322.

NGI Discovery logo https://nlnet.nl/project/vulnerabilitydatabase/

This project was funded through the NGI0 Entrust Fund, a fund established by NLnet with financial support from the European Commission’s Next Generation Internet programme, under the aegis of DG Communications Networks, Content and Technology under grant agreement No 101069594.

NGI Zero Entrust logo https://nlnet.nl/project/Back2source/

This project was funded through the NGI0 Core Fund, a fund established by NLnet with financial support from the European Commission’s Next Generation Internet programme, under the aegis of DG Communications Networks, Content and Technology under grant agreement No 101092990.

NGI Zero Core Logo https://nlnet.nl/project/Back2source-next/

This project was funded through the NGI0 Core Fund, a fund established by NLnet with financial support from the European Commission’s Next Generation Internet programme, under the aegis of DG Communications Networks, Content and Technology under grant agreement No 101092990.

NGI Zero Core Logo https://nlnet.nl/project/FastScan/

This project was funded through the NGI0 Commons Fund, a fund established by NLnet with financial support from the European Commission’s Next Generation Internet programme, under the aegis of DG Communications Networks, Content and Technology under grant agreement No 101135429. Additional funding is made available by the Swiss State Secretariat for Education, Research and Innovation (SERI).

NGI Zero Commons Logo Swiss logo https://nlnet.nl/project/MassiveFOSSscan/

This project was funded through the NGI0 Entrust Fund, a fund established by NLnet with financial support from the European Commission’s Next Generation Internet programme, under the aegis of DG Communications Networks, Content and Technology under grant agreement No 101069594.

NGI Zero Entrust logo https://nlnet.nl/project/purl2sym/

End of ScanCode Toolkit README

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

scancode_toolkit_mini-32.5.0.tar.gz (22.3 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

scancode_toolkit_mini-32.5.0-cp314-none-any.whl (126.2 MB view details)

Uploaded CPython 3.14

scancode_toolkit_mini-32.5.0-cp313-none-any.whl (126.2 MB view details)

Uploaded CPython 3.13

scancode_toolkit_mini-32.5.0-cp312-none-any.whl (126.2 MB view details)

Uploaded CPython 3.12

scancode_toolkit_mini-32.5.0-cp311-none-any.whl (126.2 MB view details)

Uploaded CPython 3.11

scancode_toolkit_mini-32.5.0-cp310-none-any.whl (126.2 MB view details)

Uploaded CPython 3.10

File details

Details for the file scancode_toolkit_mini-32.5.0.tar.gz.

File metadata

  • Download URL: scancode_toolkit_mini-32.5.0.tar.gz
  • Upload date:
  • Size: 22.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for scancode_toolkit_mini-32.5.0.tar.gz
Algorithm Hash digest
SHA256 4325f6a4772bf2fb0ab764e8d421274fe07be6d2a1b4fc8be64daf7d9d651814
MD5 9efd5f4f368f85c088628ef7b1adacbd
BLAKE2b-256 5e9613042935cf3b4b60b4f7b7edab4831d943e15b120d8d5293893a1b44d3cf

See more details on using hashes here.

Provenance

The following attestation bundles were made for scancode_toolkit_mini-32.5.0.tar.gz:

Publisher: scancode-release.yml on aboutcode-org/scancode-toolkit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file scancode_toolkit_mini-32.5.0-cp314-none-any.whl.

File metadata

File hashes

Hashes for scancode_toolkit_mini-32.5.0-cp314-none-any.whl
Algorithm Hash digest
SHA256 54b8a32d956a4c1fdf4cf1bbc85ca7c1ea9666c38bd29c9ee4b0c38bcfc71147
MD5 5f11e662bcd2df8733e79a86a8e9fbd6
BLAKE2b-256 d1f7776d9c031c470aee3703b6739c137dda60c2ad5b286d51a429301c96edd2

See more details on using hashes here.

File details

Details for the file scancode_toolkit_mini-32.5.0-cp313-none-any.whl.

File metadata

File hashes

Hashes for scancode_toolkit_mini-32.5.0-cp313-none-any.whl
Algorithm Hash digest
SHA256 0ebfc9980b87d0359a06e4cefe575df66c9e99a275e9964eab24693d17a6b521
MD5 23a349c4b46cf953f3a04a36a0c706dd
BLAKE2b-256 ec59c74ba3be64c0418184ebc93477085e1c3626e374bb55ccaf441b06cabddf

See more details on using hashes here.

Provenance

The following attestation bundles were made for scancode_toolkit_mini-32.5.0-cp313-none-any.whl:

Publisher: scancode-release.yml on aboutcode-org/scancode-toolkit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file scancode_toolkit_mini-32.5.0-cp312-none-any.whl.

File metadata

File hashes

Hashes for scancode_toolkit_mini-32.5.0-cp312-none-any.whl
Algorithm Hash digest
SHA256 b5936cc14fbf24ae3ba83721344d87215d33389a06d2c1743aebb0ed7568d66a
MD5 b9dd442c612af4396aac08b43143fe6c
BLAKE2b-256 52059e6b4325586f4a67b60b4cc3b5402e318abd316fdc54d395af3910997f69

See more details on using hashes here.

Provenance

The following attestation bundles were made for scancode_toolkit_mini-32.5.0-cp312-none-any.whl:

Publisher: scancode-release.yml on aboutcode-org/scancode-toolkit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file scancode_toolkit_mini-32.5.0-cp311-none-any.whl.

File metadata

File hashes

Hashes for scancode_toolkit_mini-32.5.0-cp311-none-any.whl
Algorithm Hash digest
SHA256 7ae5e7b46b8cdbab78afb50380ffc1239d296e81e154314a8c3382e678c664cf
MD5 b634fd5cdb7de6e7b6e47d02c0320659
BLAKE2b-256 365e37a9113cbe1703ce9769f2b8025b1a1d6ed8eb23c1875309eefbb9b0d401

See more details on using hashes here.

Provenance

The following attestation bundles were made for scancode_toolkit_mini-32.5.0-cp311-none-any.whl:

Publisher: scancode-release.yml on aboutcode-org/scancode-toolkit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file scancode_toolkit_mini-32.5.0-cp310-none-any.whl.

File metadata

File hashes

Hashes for scancode_toolkit_mini-32.5.0-cp310-none-any.whl
Algorithm Hash digest
SHA256 a924db8ebc56334473d2868fd246753380746bafb49a03c460e48116cdaebc19
MD5 9446b47fa5ee5fad66790666cf456313
BLAKE2b-256 af033b6186c0e527e6708aded7598c7a4792072056c0a42b9e4c118458792fc5

See more details on using hashes here.

Provenance

The following attestation bundles were made for scancode_toolkit_mini-32.5.0-cp310-none-any.whl:

Publisher: scancode-release.yml on aboutcode-org/scancode-toolkit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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