Skip to main content

Set of common utilities, originally split from ScanCode

Project description

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

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

commoncode-31.2.1.tar.gz (1.7 MB view details)

Uploaded Source

Built Distribution

commoncode-31.2.1-py3-none-any.whl (90.3 kB view details)

Uploaded Python 3

File details

Details for the file commoncode-31.2.1.tar.gz.

File metadata

  • Download URL: commoncode-31.2.1.tar.gz
  • Upload date:
  • Size: 1.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for commoncode-31.2.1.tar.gz
Algorithm Hash digest
SHA256 907a75e6a64e16e19c4072c80e2406d89bde3dcebf79963d7ec6578eca22a883
MD5 1ac7fc91a8448b175c883b864ef0b70b
BLAKE2b-256 e8e07f942e4f9e52b8c3e665707f434a96b55d276aa0d8bea4aa4dc36ad4960b

See more details on using hashes here.

File details

Details for the file commoncode-31.2.1-py3-none-any.whl.

File metadata

  • Download URL: commoncode-31.2.1-py3-none-any.whl
  • Upload date:
  • Size: 90.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for commoncode-31.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c1ab57f014bf92b609f95b86e5ae5961afbd7cc83cd42c2a4b9bdb3b8453fa5e
MD5 59a2e2cb6851dd6836c39f15bb1a2732
BLAKE2b-256 57ab3c3f9117bf1d0131f43e192ad336c1b821efef6551156b1d64e70535e6c0

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