No description
  • Python 97.4%
  • Shell 2.6%
Find a file
2026-03-31 08:09:53 +02:00
.github Bump codecov/codecov-action from 5 to 6 2026-03-30 17:20:22 +00:00
src/drools Fix SonarCloud string concatenation issues 2026-03-27 15:55:59 +09:00
tests Fix SonarCloud string concatenation issues 2026-03-27 15:55:59 +09:00
.flake8 Initial Release 2022-08-23 16:26:48 -04:00
.gitignore feat: add HA persistence and recovery support 2026-03-27 14:24:47 +09:00
codecov.yml Fixed race condition between threads 2023-03-06 11:00:06 -05:00
docker-compose-ssl.yaml feat: add HA persistence and recovery support 2026-03-27 14:24:47 +09:00
docker-compose.yaml feat: add HA persistence and recovery support 2026-03-27 14:24:47 +09:00
LICENSE Initial commit 2022-08-22 20:02:55 -04:00
MANIFEST.in Initial Release 2022-08-23 16:26:48 -04:00
pyproject.toml chore: release 0.4.0 2026-03-27 08:39:35 -04:00
QUICK_NOTES.md feat: add HA persistence and recovery support 2026-03-27 14:24:47 +09:00
README.md upstream drools-ansible-rulebook-integration Update to JDK 17 2023-07-28 11:27:47 +02:00

Drools JPY Package

This python package allows you to directly call Drools classes (implemented in Java) using JPY from your Python code. Needs

  • Java 17+
  • Maven 3.8.1+
  • Environment variable JAVA_HOME should be set appropriately

Setup and Testing

  python3 -m venv venv
  source venv/bin/activate
  python3 -m pip install --upgrade pip
  python3 -m pip install --upgrade build
  python3 -m pip install -e '.[dev]'
  tox
  python3 -m build

Check code coverage

   coverage run -m pytest
   coverage html
   open htmlcov/index.html

Format and lint the code before creating a PR

   black .
   flake8 .
   isort .		

To publish the package to PyPi

python3 -m pip install --upgrade build
rm -rf dist
python3 -m build
python3 -m pip install --upgrade twine
python3 -m twine upload dist/*