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 .
Publish the package to PyPI
The preferred publishing process is to create and publish a GitHub Release
for the package version. The pypi-publish.yaml workflow will build the
distributions and publish them to PyPI using trusted publishing (OIDC).
Manual publishing fallback
python3 -m pip install --upgrade build
rm -rf dist
python3 -m build
python3 -m pip install --upgrade twine
python3 -m twine upload dist/*
Metadata
Release files for drools-jpy 0.4.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| drools_jpy-0.4.2.tar.gz | 20.0 MB | With provenance | Details for drools_jpy-0.4.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| drools_jpy-0.4.2-py3-none-any.whl | Python 3 | none | any | Details for drools_jpy-0.4.2-py3-none-any.whl |
Total release size: 39.9 MB
Release files / drools_jpy-0.4.2.tar.gz
| Download URL | drools_jpy-0.4.2.tar.gz |
|---|---|
| Size | 20.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
580e910739dbee70d1315507c3c88a97819d04a0116fc25a1eb46f7a7ee33a4a
|
|
BLAKE2b-256 checksum How to use checksums |
8f92e8a313a2cce48130c8c38d7eb38a288146caad99a8acef3985f1e03f9349
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.
Transparency logRelease files / drools_jpy-0.4.2-py3-none-any.whl
| Download URL | drools_jpy-0.4.2-py3-none-any.whl |
|---|---|
| Size | 20.0 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f27886e4e218858ec13acf9fc36299e3354d790681378a546e7d687759dcff68
|
|
BLAKE2b-256 checksum How to use checksums |
5c4c32f228508a66ca16493e290b6a0e2cf347e716788929f3919211eb089ef4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.
Transparency logSecurity for drools-jpy 0.4.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for drools_jpy-0.4.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.