Skip to main content

AboutCode-toolkit is a tool to document the provenance (origin and license) of third-party software using small text files. Collect inventories and generate attribution documentation.

Project description

Introduction

The AboutCode Toolkit and ABOUT files provide a simple way to document the origin, license, usage and other important or interesting information about third-party software components that you use in your project.

You start by storing ABOUT files (a small YAML formatted text file with field/value pairs) side-by-side with each of the third-party software components you use. Each ABOUT file documents origin and license for one software. There are many examples of ABOUT files (valid or invalid) in the testdata/ directory of the whole repository.

The current version of the AboutCode Toolkit can read these ABOUT files so that you can collect and validate the inventory of third-party components that you use.

In addition, this tool is able to generate attribution notices and identify redistributable source code used in your project to help you comply with open source licenses conditions.

This version of the AboutCode Toolkit follows the ABOUT specification version 3.3.0 at: https://aboutcode-toolkit.readthedocs.io/en/latest/specification.html

Build and tests status

Branch

Linux/macOS

Windows

Master

Linux Master branch tests status

Windows Master branch tests status

Develop

Linux Develop branch tests status

Windows Develop branch tests status

REQUIREMENTS

The AboutCode Toolkit is tested with Python 3.7 or above only on Linux, Mac and Windows. You will need to install a Python interpreter if you do not have one already installed.

On Linux and Mac, Python is typically pre-installed. To verify which version may be pre-installed, open a terminal and type:

python –version

Note

Debian has decided that distutils is not a core python package, so it is not included in the last versions of debian and debian-based OSes. A solution is to run: sudo apt install python3-distutils

On Windows or Mac, you can download the latest Python here:

https://www.python.org/downloads/

Download the .msi installer for Windows or the .dmg archive for Mac. Open and run the installer using all the default options.

INSTALLATION

Checkout or download and extract the AboutCode Toolkit from:

https://github.com/nexB/aboutcode-toolkit/

To install all the needed dependencies in a virtualenv, run (on posix):

./configure

or on windows:

configure

ACTIVATE the VIRTUALENV

To activate the virtualenv, run (on posix):

source venv/bin/activate

or on windows:

venv\bin\activate

DEACTIVATE the VIRTUALENV

To deactivate the virtualenv, run (on both posix and windows):

deactivate

VERSIONING SCHEMA

Starting at AboutCode version 4.0.0, the AboutCode Toolkit will follow SemVer for the versioning schema.

i.e. MAJOR.MINOR.PATCH format
  1. MAJOR version when making incompatible API changes,

  2. MINOR version when making functionality in a backwards compatible manner, and

  3. PATCH version when making backwards compatible bug fixes.

REFERENCE

See https://aboutcode-toolkit.readthedocs.io/en/latest/ for documentation.

See https://aboutcode-toolkit.readthedocs.io/en/latest/reference.html for reference.

TESTS and DEVELOPMENT

To install all the needed development dependencies, run (on posix):

./configure –dev

or on windows:

configure –dev

To verify that everything works fine you can run the test suite with:

pytest

CLEAN BUILD AND INSTALLED FILES

To clean the built and installed files, run (on posix):

./configure –clean

or on windows:

configure –clean

HELP and SUPPORT

If you have a question or find a bug, enter a ticket at:

https://github.com/nexB/aboutcode-toolkit

For issues, you can use:

https://github.com/nexB/aboutcode-toolkit/issues

SOURCE CODE

The AboutCode Toolkit is available through GitHub. For the latest version visit:

https://github.com/nexB/aboutcode-toolkit

HACKING

We accept pull requests provided under the same license as this tool. You agree to the http://developercertificate.org/

LICENSE

The AboutCode Toolkit is released under the Apache 2.0 license. See (of course) the about.ABOUT file for details.

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

aboutcode-toolkit-8.0.0.tar.gz (388.4 kB view details)

Uploaded Source

Built Distribution

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

aboutcode_toolkit-8.0.0-py3-none-any.whl (62.7 kB view details)

Uploaded Python 3

File details

Details for the file aboutcode-toolkit-8.0.0.tar.gz.

File metadata

  • Download URL: aboutcode-toolkit-8.0.0.tar.gz
  • Upload date:
  • Size: 388.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.65.0 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.9.7

File hashes

Hashes for aboutcode-toolkit-8.0.0.tar.gz
Algorithm Hash digest
SHA256 d73cf7e1054f4e3864280f49e23f9292d9534a0231bcfc3ccfca29f22e4262d6
MD5 dd4930c9bf8fe5ec2c16520671677b99
BLAKE2b-256 6e5fbadde5ef16d721052e5cf4797da8a66fdf7dd8553a605d01a0d599505a89

See more details on using hashes here.

File details

Details for the file aboutcode_toolkit-8.0.0-py3-none-any.whl.

File metadata

  • Download URL: aboutcode_toolkit-8.0.0-py3-none-any.whl
  • Upload date:
  • Size: 62.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.65.0 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.9.7

File hashes

Hashes for aboutcode_toolkit-8.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0416791cfe21ede543708ea2fb2a5c8e6684fcc194fa6181d3327025e49a4ce6
MD5 660500b05f4829b48a3fe1519488840b
BLAKE2b-256 8507fb7442ca1de5ecc5c0aeb7e8f0eadc8009ecee130bb02077cddc45990f2c

See more details on using hashes here.

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