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

Uploaded Source

Built Distribution

commoncode-31.0.3-py3-none-any.whl (89.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for commoncode-31.0.3.tar.gz
Algorithm Hash digest
SHA256 bab6b9e7f9bf89eb2a37a912626747075b1bb614875da156890efac159b29741
MD5 debc5fa05e637d25a04ed038815f8812
BLAKE2b-256 2bb8ca449898d57e94a030eb43a926453f3431edaeaa3b939599ee299ffaaad8

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: commoncode-31.0.3-py3-none-any.whl
  • Upload date:
  • Size: 89.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for commoncode-31.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 10bf51c8ba939fab81b2fbf7a689e84c9d8c049e8b5e9ae09b0c97f7b8541a1e
MD5 7ae4af0c9e72880a4cd2ddaed3b209f6
BLAKE2b-256 943a8cea08c01460db5b29476c22594e1208585028f2b164b38bc818e03173f0

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