frattlesnake is a bridge and library from KoLmafia's Java environment to a Python environment
Project description
frattlesnake
frattlesnake
is a bridge and library from KoLmafia's Java environment to a Python environment. It is extremely 🚧 under construction 🚧 but it is usable!
For now just clone this repo and play with the examples. It will even download the latest kolmafia.jar
for you to hook into.
Requirements
- Python 3.8+
- I am running the same version of Java that was used to compile the JAR on the build server just in case.
Development
poetry install
to install our dependencies and then just run your file! You may need to manually specify the path to your libjvm.so
. For example, on my machine I needed to run
JVM_PATH=~/.jenv/versions/1.8/jre/lib/amd64/server/libjvm.so python ./example.py
because I use jEnv
to manage my Java versions. And that path is totally different in my Java 11 directory so it's a pain for now.
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
Built Distribution
Hashes for frattlesnake-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a36f11cbbfe83e0eb9719d6e529f5ff57174fe8012d28b76f14d515eef11f63 |
|
MD5 | b36497f2e777c8dd719baad0b49e2fa5 |
|
BLAKE2b-256 | 49175ae62e5833b92e54fc5d7320d15b50e257a7cc0150e14745c2eefc0b1d0b |