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/*
Metadata
Release files for drools-jpy 0.4.1
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 | |
|---|---|---|---|---|
| drools_jpy-0.4.1.tar.gz | 20.0 MB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| drools_jpy-0.4.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 39.9 MB
Release files / drools_jpy-0.4.1.tar.gz
| Download URL | drools_jpy-0.4.1.tar.gz |
|---|---|
| Size | 20.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
587fd1d385667da61333b41b3414123195602f52fdac954b1220e2dabc37025a
|
|
BLAKE2b-256 checksum How to use checksums |
c82c5536639d4180ce0d4a7e8af8309824e1ef604e062ce17c7c2be0031b97a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.16
|
Release files / drools_jpy-0.4.1-py3-none-any.whl
| Download URL | drools_jpy-0.4.1-py3-none-any.whl |
|---|---|
| Size | 20.0 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6beb85090d20256f81bbf312234f0bf9c2856ca45aad27a20104a5f86db35f58
|
|
BLAKE2b-256 checksum How to use checksums |
8b3fd84d837108aa9579794c9e686c2295649c12167ae25c1a4a61bebeae775e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.16
|
Security for drools-jpy 0.4.1
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.