Skip to main content

Oak Python package

Project description

About

Oak is a Python package for perfect-info search in Pokemon RBY OU with two facets:

  • Program suite for data generation, network training and testing, position analysis, parameter tuning, and reinforcement learning

  • Library that is powerful enough to reproduce the above as Python scripts and replace the evaluation function in existing Battle AI

Install

pip install oak-lab

Detailed instructions and caveats are first in the tutorial.

Build

Note: Libpkmn currently only builds with the Zig master release. See the libpkmn README for more information

Note: Eigen has failed to build with some versions of g++-15. Try using version 14.

The project uses the GNU Multiple Precision library to solve for Nash equilibrium. It can be installed with

apt install libgmp3-dev

Must have Cmake and a Zig compiler installed. The script below clones the repo, builds the libpkmn libraries, and compiles the various programs in the /src directory

git clone --recurse-submodules --shallow-submodules https://github.com/lab-oak/oak
cd oak && git submodule update --recursive
chmod +x dev/libpkmn && dev/libpkmn
chmod +x dev/release && dev/release

If the installation fails, it is likely that the wrong version of Zig was used. The following command sets zig to a non-installed compiler for the duration of the terminal session. Be sure to change the path to the folder containing the zig compiler binary.

export PATH="/home/user/Downloads/zig-master/:$PATH"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

oak_lab-1.1.3-cp314-cp314-manylinux_2_34_x86_64.whl (56.9 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.34+ x86-64

oak_lab-1.1.3-cp313-cp313-manylinux_2_34_x86_64.whl (56.9 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.34+ x86-64

oak_lab-1.1.3-cp312-cp312-manylinux_2_34_x86_64.whl (56.9 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ x86-64

oak_lab-1.1.3-cp311-cp311-manylinux_2_34_x86_64.whl (56.9 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.34+ x86-64

oak_lab-1.1.3-cp310-cp310-manylinux_2_34_x86_64.whl (56.9 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.34+ x86-64

File details

Details for the file oak_lab-1.1.3-cp314-cp314-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for oak_lab-1.1.3-cp314-cp314-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 01483bbdd49467727ee58c6e9871cc37c42a7d8a88d3d8afb4b03352611d6228
MD5 f799184022f4005cb1128f9e2f1b326c
BLAKE2b-256 9fb55b9ea9bea7252b98ac5c8b5862b23d324f5a98d58dd11234ae7a5083f57f

See more details on using hashes here.

File details

Details for the file oak_lab-1.1.3-cp313-cp313-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for oak_lab-1.1.3-cp313-cp313-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 5911abca4c3bb1e3dfe0a8eb3834d5c75536e0c5ceca06af2ae1a3b6bf08f7b4
MD5 a13420d132f43ce935c2c99780ade0d8
BLAKE2b-256 30e0a3abcd23a8245ba11c13b1edec0da5b84d8e6030f9b6c0c6a86a98b705bb

See more details on using hashes here.

File details

Details for the file oak_lab-1.1.3-cp312-cp312-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for oak_lab-1.1.3-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 2bee08ee61bdbdf0f152c2d23c0dcdee3042fd839a506e0aae7b243058064a55
MD5 bddd8cc0e036bd228da4dda361be569e
BLAKE2b-256 4902702e838c56d17243cb82c57065cb2a1c6f553db8c87d30375dad5ae0fe01

See more details on using hashes here.

File details

Details for the file oak_lab-1.1.3-cp311-cp311-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for oak_lab-1.1.3-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 cfd31f337a4f08238a797d2cb662838a5d716e2da52396f0f8144e88e1b78884
MD5 e8bff0af260f0144428ad4838c901163
BLAKE2b-256 98e33a9056caa4541baf80005a3a9522fceff6dbfaacba622dc7b3b85e032448

See more details on using hashes here.

File details

Details for the file oak_lab-1.1.3-cp310-cp310-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for oak_lab-1.1.3-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 55a9cdbf77c392d30cc6581472ff9bafa31621a21a2c38fb238dff1033d6995f
MD5 62c66e8eafeccc5a55124ae61119a9f5
BLAKE2b-256 e06e1573ed693688ff478b435c3061af4dcf8d59cad432ea5370ee5bee8139c4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page