Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

drools-jpy

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

drools-jpy

A Python package to directly call Drools Java classes from python

  • 0.3.9
  • PyPI
  • Socket score

Maintainers
2

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/*

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc