No description
  • Python 97.5%
  • Shell 2.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Pino Toscano 2012229f03
Merge pull request #82 from mkanoor/release_0_4_1
chore: added new version of drools_jpy
2026-06-23 15:11:48 +02:00
.github ci: extend Java testing with 17 & 21 with py3.12 2026-06-22 18:02:06 +02:00
src/drools fix: fixed a purgeCancelledJob concurrency issue 2026-06-17 17:27:43 +09:00
tests update runtime jar to 2.0.1-SNAPSHOT-HA 2026-06-04 16:23:42 +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: added new version of drools_jpy 2026-06-23 08:50:07 -04:00
QUICK_NOTES.md update runtime jar to 2.0.1-SNAPSHOT-HA 2026-06-04 16:23:42 +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/*