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 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/*
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.3.9.tar.gz
(6.6 MB
view details)
Built Distribution
File details
Details for the file drools_jpy-0.3.9.tar.gz
.
File metadata
- Download URL: drools_jpy-0.3.9.tar.gz
- Upload date:
- Size: 6.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c27a7514d16a5f52c4f8980fd1f75ecb8e1835d61a077b08c44a356f5e0f58b |
|
MD5 | 67c24b6cb7e8b6eaa0cbab572483ff41 |
|
BLAKE2b-256 | 8ed1191ad32ed1fb79250f0c45ff520dc4b4f30f1d71dcea5a67e405d7ab8323 |
File details
Details for the file drools_jpy-0.3.9-py3-none-any.whl
.
File metadata
- Download URL: drools_jpy-0.3.9-py3-none-any.whl
- Upload date:
- Size: 6.6 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1e59cce8af263011dcd08e7357871dc00429f28a2b6f084e228d0c8b5ffdce5 |
|
MD5 | d72e7094f48ec3ec020c8577e652f3ad |
|
BLAKE2b-256 | da0e0ff32dc29b403d9ced8d2d79d70a40194aada9cf51a6ee5abbd9846f7e76 |