hash4j

(β˜… 157)

Dynatrace hash library for Java

  • .gitattributes
  • .gitignore
  • .gitmodules
  • AGENTS.md
  • build.gradle
  • CLAUDE.md
  • gradle.properties
  • gradlew
  • gradlew.bat
  • LICENSE
  • README.md
  • renovate.json
  • requirements.in
  • requirements.txt
  • settings.gradle

# Installation Guide

1. Get the code
git clone https://github.com/dynatrace-oss/hash4j

Downloads the entire project code from GitHub to your computer.

cd hash4j

Moves into the project folder you just downloaded.

2. Gradle (Java/Kotlin)

Medium Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • JDK (Java) Required to build and run Java/Kotlin projects.
  • Gradle If the repo includes gradlew (Gradle Wrapper), you don't need to install Gradle separately.
./gradlew build

Builds the project using Gradle.

βœ… A BUILD SUCCESSFUL message means it worked. The output is created under build/.

3. Python

Easy
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Python 3 On Windows, be sure to check 'Add Python to PATH' during installation.
python -m pip install --only-binary :all: --require-hashes -r requirements.txt

Installs the Python libraries listed in requirements.txt (or similar).

python -m pip install pip-tools

Installs the Python libraries listed in requirements.txt (or similar).

pip-compile --generate-hashes --allow-unsafe --no-strip-extras --output-file requirements.txt requirements.in

Type this command into your terminal and run it.

βœ… If it runs without errors and prints output in the terminal, it worked.

Pulled directly from this repo's README.

4. Go

Medium
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Go The Go compiler and toolchain.
⚠️ This is a large repository, so this method may point to an internal sub-package rather than the actual core product. Check the full README as well.
cd reference-implementations/imohash_1_0_2

This project's files live in a subfolder, so move into it first.

go build ./...

Compiles the Go program into an executable.

go run .

Runs the Go program directly without a separate build step.

βœ… If the build finishes without errors, it worked. If you used go run ., check the terminal output.
// repository documentation