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

Uploaded CPython 3.14manylinux: glibc 2.34+ x86-64

oak_lab-1.1.1-cp313-cp313-manylinux_2_34_x86_64.whl (12.0 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.34+ x86-64

oak_lab-1.1.1-cp312-cp312-manylinux_2_34_x86_64.whl (12.0 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ x86-64

oak_lab-1.1.1-cp311-cp311-manylinux_2_34_x86_64.whl (12.0 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.34+ x86-64

oak_lab-1.1.1-cp310-cp310-manylinux_2_34_x86_64.whl (12.0 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.34+ x86-64

File details

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

File metadata

File hashes

Hashes for oak_lab-1.1.1-cp314-cp314-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 88dda5fdc261266f0192e6b1016c6f2542602743a5c1f01b2290d0badba12d73
MD5 8a1b2911ca6e6839fa8f97848e984452
BLAKE2b-256 6d6847a4759203df96b3a799ac1254537e4ea05e4d49cfe148a66a284eda95eb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for oak_lab-1.1.1-cp313-cp313-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 91291d218697293a770e535b076b5d0808e7c3602e1b16be36ff10e98135710e
MD5 5c874a6bbafc49ad7bb3c37b364b74c6
BLAKE2b-256 386855f9c8e0516e46f705e9e013134212a61655650292da098969f26936d923

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for oak_lab-1.1.1-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 8f8299eb5a650c4a22e44193d99a8a963404f64ac53db2e0017212a956cfaf42
MD5 7abc0a74aee2c7d1f737152c31dafd14
BLAKE2b-256 757f7e5ab85e2fe5ee40925f324078c727a306295481c7ed98dfb1c8874aad95

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for oak_lab-1.1.1-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 f99ee1eeb032e72fb0e3af998345033af7489c0321304fdc8766be5f36d1d7ed
MD5 b9afa897bb55dd26571bfc1a9a60192b
BLAKE2b-256 beb396609c498564e79b968940cc9c8051905ce47957df60cdcad1514876ac72

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for oak_lab-1.1.1-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 e3d549f0413eac7bbd220f6a9de00b9cddf825c0a8cf324b3062e2feefa64714
MD5 738caffcaa98bf6d422a3cb9a8dd64a2
BLAKE2b-256 1b11414baf5c8fa9d57c9a3d8e500b5d7055ae6fc3a14a1d78ddbdbe68f875c6

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