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.3.14.tar.gz (7.5 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.3.14-py3-none-any.whl (7.5 MB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for drools_jpy-0.3.14.tar.gz
Algorithm Hash digest
SHA256 e0aa1e7779ab6062e6c2d0db0b993825bbe7c7c0dafcd411d996810e92381daf
MD5 d03c8a1fd739fa671deab3c9d378e137
BLAKE2b-256 bf1ba9c63ffe6436ff3dcc9a750c8a3f67daf1aa99a9894ab81ef831df9ee681

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for drools_jpy-0.3.14-py3-none-any.whl
Algorithm Hash digest
SHA256 66cb887ce13bcd4fcaa4e35ec8ee725cb9e042f612ff493ea5142616c0c445ea
MD5 4fd53c142343d53c48b856d7122fac7b
BLAKE2b-256 bc018cd8f4742f2404ae505973b3f1be95716e878fb06d36d790549e9d90b3b1

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