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/aboutcode-org/ 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-32.0.0.tar.gz (1.7 MB view details)

Uploaded Source

Built Distribution

commoncode-32.0.0-py3-none-any.whl (90.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for commoncode-32.0.0.tar.gz
Algorithm Hash digest
SHA256 d4f5fd11705b55ff7be73173c94ec2c76a66618ed35bfcd1ff172efa8df56bbf
MD5 c68d1c1d8c971b60c705176508ea7ea1
BLAKE2b-256 ca9ab999166ca31c21747c2a08e4187fc9bff57ac9613fc898dcb5c6a336d54e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: commoncode-32.0.0-py3-none-any.whl
  • Upload date:
  • Size: 90.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for commoncode-32.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cba8f8f5b26a2624295904aa3b46a06489cb3234ecd4c52251de60e361f0a653
MD5 dabf09bd88fed528d09fcfbc5f3df925
BLAKE2b-256 3ef12786c6cf823ee9979ed67a108efeb4de307c67aec9007940f068592e39b7

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