security/py-dirhash 0.5.0 FreeBSD
Python module and CLI for hashing of file system directories
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
3cc2ef380f- License
- MIT
- Categories
- security, python
- Package size
- 21.3 KiB, 107.5 KiB installed
Description
A lightweight python module and CLI for computing the hash of any directory based on its files structure and content.
- Supports all hashing algorithms of Python's built-in hashlib module.
- Glob/wildcard (".gitignore style") path matching for expressive filtering of files to include/exclude.
- Multiprocessing for up to 6x speed-up
The hash is computed according to the Dirhash Standard, which is designed to allow for consistent and collision resistant generation/verification of directory hashes across implementations.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | security/py-dirhash | 0.5.0 |
| DragonFly | security/py-dirhash | 0.2.1_2 |
Install
Binary package:
pkg install py312-dirhash
From the ports tree:
cd /usr/ports/security/py-dirhash/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-dirhash>0:security/py-dirhash
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.5.0 | 0.5.0 | - | 0.2.1_2 | 0.5.0 |
| FreeBSD:14:quarterly | 0.5.0 | 0.5.0 | n/a | 0.2.1_2 | 0.5.0 |
| FreeBSD:15:latest | 0.5.0 | 0.5.0 | n/a | 0.2.1_2 | 0.2.1_2 |
| FreeBSD:15:quarterly | 0.5.0 | 0.5.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.5.0 | 0.5.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}versioneer>0: devel/py-versioneer
Runtime 1
${PYTHON_PKGNAMEPREFIX}scantree>0: devel/py-scantree
The full lists below include those, and their dependencies in turn.
Build dependencies 12
Run dependencies 10
Required by 2
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| dirhash-0.5.0.tar.gz | 21377 | e60760f0ab2e935d8cb088923ea2c6492398dca42cec785df778985fd4cd5386 |
Master sites 1
- PYPI