semvec/pypi-packages huggingface dataset:
wombat-utils 0.2.6
Various utilities for making python development easier
Requires Python: >=3.11.11

# wombat-utils

Utilities made to support my personal development, sort of a "catch all" package

## Structure

```
.
├── .coveragerc - Configure code coverage generation
├── .gitignore - Configure files ignores by git commands
├── .gitlab-ci.yml - Configure our gitlab CI pipeline
├── .pre-commit-config.yaml - Configure our pre-commit for code quality checks
├── .python-version - Set our python version, used for python selection in terminals
├── .vscode - Configure our vscode workspace
│   ├── launch.json - Settings used for debugging/running code
│   └── settings.json - Workspace settings
├── README.md - YOU ARE HERE
├── flake.lock - Stores the state of our nix flake
├── flake.nix - Configure our nix environment
├── pyproject.toml - Our project configuration
├── src - Source code to be packaged with the wheel
│   └── wombat - Namespace folder
│       └── utils - Contains utilities for different types
│           ├── __init__.py
│           ├── dictionary.py - Utilities for dictionaries
│           ├── errors - Utilities for handling or generating errors
│           │   ├── decorators.py - Decorators that help enforce code constraints
│           │   └── exceptions.py - Common Exceptions that can be raised
│           └── files
│               └── search.py - Utilities for searching files
└── uv.lock - Stores our installed python versions
```
hedera-sdk-py 2.50.0
Hedera SDK in Python
Requires Python: >=3.8

# hedera-sdk-py
[Hedera](https://hedera.com/) SDK in Python

This is basically a python wrapper of [Hedera SDK in Java](https://github.com/hashgraph/hedera-sdk-java).

## Install

```sh
pip install hedera-sdk-py
```

## How to build
- Make sure to install Hedera Java SDK Git submodule
- Build Hedera Java SDK JAR
  - Go to Java SDK directory and apply most recent patch:
  ```sh
  cd ./hedera-sdk-java
  git apply ../patches/v2.46.0.patch
  ```
  - Build JAR
  ```sh
  ./gradlew assemble
  ```
- Go back to root and run code generation script:
  ```sh
  cd ..
  python ./scripts/generate_code.py
  ```

## How to Use
```python
from hedera import PrivateKey
prikey = PrivateKey.generate()
print("Private key: {}".format(prikey.toString()))
print("Public key: {}".format(prikey.getPublicKey().toString()))
```
You must make sure JAVA_HOME is set to a JRE/JDK that's >=11. Do a `echo $JAVA_HOME` on Linux/MacOS or `echo %JAVA_HOME%` on Windows to confirm.

MacOS example:

    export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-16.0.2.jdk/Contents/Home

Linux example:

    export JAVA_HOME=/usr/lib/jvm/java-16-openjdk-amd64

Windows:

Type to search "advanced system", you should see "View Advanced System settings", click it, then click "Environment Variables..."

On Windows, if you get "no jvm dll found" error, you need to add %JAVA_HOME%/bin/server (i.e. C:\Program Files\Java\jdk-11.0.10\bin\server) to your path.

See [examples](https://github.com/wensheng/hedera-sdk-py/tree/main/examples) for more example usages.