Skip to main content

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.

Release files for frattlesnake 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for frattlesnake 0.1.2
File Size Uploaded
frattlesnake-0.1.2.tar.gz 7.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for frattlesnake 0.1.2
File Interpreter ABI Platform
frattlesnake-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 16.4 kB

Release files / frattlesnake-0.1.2.tar.gz

Download URL frattlesnake-0.1.2.tar.gz
Size 7.5 kB
Tags Source
SHA-256 checksum
How to use checksums
15e98f09870576096f4ef4adf83ebfcd85a900bd6bdd727b8646de02b4615924
BLAKE2b-256 checksum
How to use checksums
4e6d163f68f78e68fbea2912a68a9cfdd509b30251b2fdb9fec44e2da2816f02
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.10 CPython/3.8.5 Darwin/19.6.0

Release files / frattlesnake-0.1.2-py3-none-any.whl

Download URL frattlesnake-0.1.2-py3-none-any.whl
Size 8.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8a36f11cbbfe83e0eb9719d6e529f5ff57174fe8012d28b76f14d515eef11f63
BLAKE2b-256 checksum
How to use checksums
49175ae62e5833b92e54fc5d7320d15b50e257a7cc0150e14745c2eefc0b1d0b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.10 CPython/3.8.5 Darwin/19.6.0

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page