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.4-cp314-cp314-manylinux_2_34_x86_64.whl (56.8 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.34+ x86-64

oak_lab-1.1.4-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.4-cp312-cp312-manylinux_2_34_x86_64.whl (56.8 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ x86-64

oak_lab-1.1.4-cp311-cp311-manylinux_2_34_x86_64.whl (56.8 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.34+ x86-64

oak_lab-1.1.4-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.4-cp314-cp314-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for oak_lab-1.1.4-cp314-cp314-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 6067a899fc56905450272c73a4195100c84c33c027d091d2368e27610bc409fe
MD5 9dc6feb6edf60f118e094139b7e631f5
BLAKE2b-256 125d50ab06e4c4c8b39efc34971acdde7d094ca6fb144c6e3fc9a9711e698cf1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for oak_lab-1.1.4-cp313-cp313-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 eda55e7a175fb46c43dcb404ca1ab5c9a4e1b5a38dd9ce5a0a501f158496ca22
MD5 6efd5317b5c87fb14d41a383a35a88ab
BLAKE2b-256 a0ba585cd41774cc41511fa7ae6474850ad7404c4159e150512a4a91b91ea31d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for oak_lab-1.1.4-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 6ec204ac8f1dbb28f41169f77cf9aa49b60f7ffda6023dfa7df43457b93d1bb9
MD5 93f02df88989e101bb51c07f8189263c
BLAKE2b-256 c79ad1c5b4bec56abf520670bf3706a8a33fba2e800b2664090872f092817215

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for oak_lab-1.1.4-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 60289a4d1be4d1ffcd62f0804c4a2514b67308e20103c12185c06734c610ac66
MD5 66aba9b6551b72123b749af47ec776e2
BLAKE2b-256 c7115e0f271b3957266525e04a5001d3102944952694d35168dce2826d964020

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for oak_lab-1.1.4-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 00e8a5a03ba1f4a31b2546a5b19a71a043eff0bf4aafbc4595389c82a74814b8
MD5 a5eec43f4c173b69f58ac660f9731448
BLAKE2b-256 e5ab018cbbb11282de8fa20a718adc2e03cf8630009d75dc62d7c2294e3b8c0d

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