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.0.tar.gz (19.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.4.0-py3-none-any.whl (19.5 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: drools_jpy-0.4.0.tar.gz
  • Upload date:
  • Size: 19.5 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.0.tar.gz
Algorithm Hash digest
SHA256 5a36a978922f087526c8c27a61e50a393803c4dbfd0a1246751fe54db9064ae4
MD5 ce626fcabb0adf0c024970930db9a541
BLAKE2b-256 294462f6148e28023e6c6bf682ac4c0bbba17a33735d6ea9ce2370a2aaabb0f3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: drools_jpy-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 19.5 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 883ad3c08707eb3d3da16655d557e95717daf9a0b31c837954c69644acb46a8f
MD5 980b943464c32454f381402de0e5e70e
BLAKE2b-256 3da12cbee6965c3d4ecf1a06757dd96d52bb61f0a7aab95c38eefbb1497490df

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