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.0.tar.gz (1.7 MB view details)

Uploaded Source

Built Distribution

commoncode-31.2.0-py3-none-any.whl (90.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: commoncode-31.2.0.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.0.tar.gz
Algorithm Hash digest
SHA256 4a502324b84bb43f755108f58e2e6556d1775368111aeb5e3a5e61870f4315ae
MD5 ee763671a5e591d18a4469690d2790f2
BLAKE2b-256 1ad98b84a9a01292c424963a9427ef849abf8d69fef5273807673255734ae093

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: commoncode-31.2.0-py3-none-any.whl
  • Upload date:
  • Size: 90.4 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a0d9af1e0329f1fc3d7d0305b2d1cc35ce2dacd0987b046ec2ead48ef8953bb9
MD5 485e0b24b565d9d6c3bd82f788ea8a46
BLAKE2b-256 cf8f5f6d18812f43c2702a96811530b4eca380326c0d237728bba5ba01df1475

See more details on using hashes here.

Provenance

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