Set of common utilities, originally split from ScanCode


Keywords
utilities, scancode-toolkit
License
Apache-2.0
Install
pip install commoncode==31.2.1

Documentation

CommonCode

Commoncode provides a set of common functions and utilities for handling various things like paths, dates, files and hashes. It started as library in scancode-toolkit. Visit https://aboutcode.org and https://github.com/nexB/ for support and download.

To install this package use:

pip install commoncode

Alternatively, to set up a development environment:

./configure --dev
source venv/bin/activate

To run unit tests:

pytest -vvs -n 2

To clean up development environment:

./configure --clean