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 11+
  • 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.6.tar.gz (6.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.6-py3-none-any.whl (6.5 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: drools_jpy-0.3.6.tar.gz
  • Upload date:
  • Size: 6.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for drools_jpy-0.3.6.tar.gz
Algorithm Hash digest
SHA256 5cf64b99975ce1c4e6d0bcad15a3d0129bcc42c252156dcbc4f9cc64fbdc43f2
MD5 e3a7d2aca2ba7bf581bfadcd8b1268ff
BLAKE2b-256 44ea78168fc706318acb48be4add07831fd8f689b8416dccaba017f08651118d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: drools_jpy-0.3.6-py3-none-any.whl
  • Upload date:
  • Size: 6.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for drools_jpy-0.3.6-py3-none-any.whl
Algorithm Hash digest
SHA256 75464dc95ba88952da314cea9d5d43a19789ed0b8ce8686e777f97185f15a0b2
MD5 1f39660b0de1e4e73aff52a866a73326
BLAKE2b-256 e51fd2e0b62423e0c1da402905f606772e765fd46686a056208e2723702f2a4d

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