Skip to main content

No project description provided

Project description

CRCUtil

Portable CRC32 Checksum Tool – Generate & Compare

PyPI Version Python Platform PyPI Status CLI

[!NOTE] Installation is supported only for the following:

  • Windows (amd64)
  • Linux (amd64)
    • X11
    • Wayland

Table of Contents

Installation

[!NOTE]

  • Requires Python 3.11+

Windows & Linux (X11)

pip install crcutil

Linux (Wayland)

[!CAUTION]

  • This will add your user to the input group and immediately log you out.
  • This makes it possible in Wayland to track keyboard presses; necessary for the playback controls
pip install crcutil
sudo usermod -aG input $USER
sudo pkill -u $USER

Usage

crc

Generate CRC32 checksums

[!NOTE]

  • This will output a crc.json file in the supplied -o argument.
  • If no -o supplied a crc.json is created in the current directory.
  • If a crc.json already exists in the current directory, a crc2.json is created.
crcutil crc -l 'C:\path_to_traverse' -o 'C:\path_to_output.json'

diff

Diff output can be generated from 2 separate crc files

[!NOTE]

  • This will compare both crc files and output a diff.json in the supplied -o argument.
  • If no -o supplied a diff.json is created in the current directory.
  • If no -l supplied it will look for a crc.json and crc2.json in the current directory
crcutil diff -l 'C:\crc1.json' 'C:\crc2.json' -o 'C:\diff.json'

Pause/Resume

[!CAUTION] The crc can only be resumed as long as the contents/structure of the traversed location have not changed

[!NOTE] To resume a crc after exiting, pass the location of the existing crc to the -o flag
i.e: crcutil crc -l 'C:\path_to_traverse' -o 'C:\existing_crc.json'

  • The tool can be paused/resumed at any time by pressing:
    • p
      • Windows
      • Linux (X11)
    • alt+p
      • Linux (Wayland)
  • The tool can be exited at any time by pressing:
    • q
      • Windows
      • Linux (X11)
    • alt+q
      • Linux (Wayland)

Development

[!NOTE] Development requires a fully configured Dotfiles dev environment

source init.sh

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

crcutil-2.1.1.tar.gz (22.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

crcutil-2.1.1-py3-none-any.whl (25.9 kB view details)

Uploaded Python 3

File details

Details for the file crcutil-2.1.1.tar.gz.

File metadata

  • Download URL: crcutil-2.1.1.tar.gz
  • Upload date:
  • Size: 22.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for crcutil-2.1.1.tar.gz
Algorithm Hash digest
SHA256 f1dfad5248aa3118dc820d766cab79541872b735793b9fbe4e35a6167695e622
MD5 1abbf74b80bec2f83d662413dae2f32c
BLAKE2b-256 c12fd0e2a32e13836284bffc519fd537c3ed6abad9294153640d9b2c61fbf7e5

See more details on using hashes here.

File details

Details for the file crcutil-2.1.1-py3-none-any.whl.

File metadata

  • Download URL: crcutil-2.1.1-py3-none-any.whl
  • Upload date:
  • Size: 25.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for crcutil-2.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4fa2740b9997517b46e5eebf6ef3ec85365524b6e01a851830a7cc1901392eba
MD5 e6b6f3f20e791f811ec7109063a0ede8
BLAKE2b-256 6d8e0c2e7e55db8adc90275a1ae850aa772509b4102563777ac1ca0666a4fbe2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page