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.1.tar.gz (6.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.3.1-py3-none-any.whl (6.0 MB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for drools_jpy-0.3.1.tar.gz
Algorithm Hash digest
SHA256 f3c97e6b01ca9c88aa9873e01a526b21e78b3df265a207b7b9a271a83bc12ffb
MD5 6568f7ba0cbfc884786cc5c929c922d6
BLAKE2b-256 c9d6f3c4e6dfb1ee3e3b629fe2f7092ab0fb5b37f6ccc25234488add009417d4

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for drools_jpy-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 89fcc25ba5b800b179bb2653459278bb6e3642eff2ed41b7eb96d41dcc8cd24e
MD5 afa328844a2429c981ba176174c07802
BLAKE2b-256 cae1d0029bbe5e16cb8477f172ac205df0110a87ee55bc7c0e6711c6c65ca34c

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