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
Release history Release notifications | RSS feed
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.2.0.tar.gz
(5.9 MB
view hashes)
Built Distribution
Close
Hashes for drools_jpy-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 687d599d14ea385dd9859cc26e2e01485dc22e35d0b2c375bffcb782a0f3331e |
|
MD5 | 617dc8b48fb5663357291b49d9aac344 |
|
BLAKE2b-256 | 2a3ebf3d5d07035143df66ac714f430e2dd8e7efcdd6377aa27c68454f9a353f |