Skip to main content

A Python package to directly call Drools Java classes from python

Project description

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/*

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

drools_jpy-0.4.1.tar.gz (20.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

drools_jpy-0.4.1-py3-none-any.whl (20.0 MB view details)

Uploaded Python 3

File details

Details for the file drools_jpy-0.4.1.tar.gz.

File metadata

  • Download URL: drools_jpy-0.4.1.tar.gz
  • Upload date:
  • Size: 20.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.16

File hashes

Hashes for drools_jpy-0.4.1.tar.gz
Algorithm Hash digest
SHA256 587fd1d385667da61333b41b3414123195602f52fdac954b1220e2dabc37025a
MD5 5f4c11799ec81aee264ef152abd816b9
BLAKE2b-256 c82c5536639d4180ce0d4a7e8af8309824e1ef604e062ce17c7c2be0031b97a6

See more details on using hashes here.

File details

Details for the file drools_jpy-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: drools_jpy-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 20.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.16

File hashes

Hashes for drools_jpy-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6beb85090d20256f81bbf312234f0bf9c2856ca45aad27a20104a5f86db35f58
MD5 5e1de1fedcef2ef79332392ddb71d46e
BLAKE2b-256 8b3fd84d837108aa9579794c9e686c2295649c12167ae25c1a4a61bebeae775e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page