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

Uploaded CPython 3.14manylinux: glibc 2.34+ x86-64

oak_lab-1.1.2-cp313-cp313-manylinux_2_34_x86_64.whl (46.6 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.34+ x86-64

oak_lab-1.1.2-cp312-cp312-manylinux_2_34_x86_64.whl (46.6 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ x86-64

oak_lab-1.1.2-cp311-cp311-manylinux_2_34_x86_64.whl (46.5 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.34+ x86-64

oak_lab-1.1.2-cp310-cp310-manylinux_2_34_x86_64.whl (46.5 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.34+ x86-64

File details

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

File metadata

File hashes

Hashes for oak_lab-1.1.2-cp314-cp314-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 f274fd64f83fb625b6182cb9d4859e1e6fa8b9cd1f74a8a87724d615c323d97a
MD5 8bbcfd6059539d7b9860eb3fc9bb4209
BLAKE2b-256 6b058de5a40b76299ae40127c72b1fbeda78aca51d79271256f29760470cb6be

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for oak_lab-1.1.2-cp313-cp313-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 9844c9eaeecdefaff3a5dfd17a55ed951bd78f1b66d8160cdc93c7ca64a6a413
MD5 9cf5b7aac2d21ba585231837178d79e8
BLAKE2b-256 cde0505ceed06a2472808fd3af43c4162adff075f558863789fb7d505bd6c4f5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for oak_lab-1.1.2-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 2724eceac6af60b8ff6af8ff7122bf7d79075e5b6dfdfe40acc26b648e4b20a2
MD5 4041f594879a4021359f6c1627b0f978
BLAKE2b-256 3292184ae3f0200e0f917aeb5a19a1c30ad2e6ca97c170d9889cc747b5d580e2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for oak_lab-1.1.2-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 9d95b82d7b384a372c18d78702c843c4cdf675323efcfedfc8211fcece95a82a
MD5 ea3e5638613a427513fccec0abfb4ea9
BLAKE2b-256 67b31a7398c34fcafd75778c72a15933e6dd9d82443031d3934c7a9b4d154451

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for oak_lab-1.1.2-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 b04bf7a5a78a6e0c6961f2527113911aeac8f0b9460cb36543a140e7d6362233
MD5 fa17670f7624c72a0c28eec07584446c
BLAKE2b-256 39f1fa303b5a0e07792cdfcdc6907766ba1abd9ec392e373638a1b3848d0b71f

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