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
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file oak_lab-1.1.1-cp314-cp314-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: oak_lab-1.1.1-cp314-cp314-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 12.0 MB
- Tags: CPython 3.14, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
88dda5fdc261266f0192e6b1016c6f2542602743a5c1f01b2290d0badba12d73
|
|
| MD5 |
8a1b2911ca6e6839fa8f97848e984452
|
|
| BLAKE2b-256 |
6d6847a4759203df96b3a799ac1254537e4ea05e4d49cfe148a66a284eda95eb
|
File details
Details for the file oak_lab-1.1.1-cp313-cp313-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: oak_lab-1.1.1-cp313-cp313-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 12.0 MB
- Tags: CPython 3.13, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
91291d218697293a770e535b076b5d0808e7c3602e1b16be36ff10e98135710e
|
|
| MD5 |
5c874a6bbafc49ad7bb3c37b364b74c6
|
|
| BLAKE2b-256 |
386855f9c8e0516e46f705e9e013134212a61655650292da098969f26936d923
|
File details
Details for the file oak_lab-1.1.1-cp312-cp312-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: oak_lab-1.1.1-cp312-cp312-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 12.0 MB
- Tags: CPython 3.12, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8f8299eb5a650c4a22e44193d99a8a963404f64ac53db2e0017212a956cfaf42
|
|
| MD5 |
7abc0a74aee2c7d1f737152c31dafd14
|
|
| BLAKE2b-256 |
757f7e5ab85e2fe5ee40925f324078c727a306295481c7ed98dfb1c8874aad95
|
File details
Details for the file oak_lab-1.1.1-cp311-cp311-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: oak_lab-1.1.1-cp311-cp311-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 12.0 MB
- Tags: CPython 3.11, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f99ee1eeb032e72fb0e3af998345033af7489c0321304fdc8766be5f36d1d7ed
|
|
| MD5 |
b9afa897bb55dd26571bfc1a9a60192b
|
|
| BLAKE2b-256 |
beb396609c498564e79b968940cc9c8051905ce47957df60cdcad1514876ac72
|
File details
Details for the file oak_lab-1.1.1-cp310-cp310-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: oak_lab-1.1.1-cp310-cp310-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 12.0 MB
- Tags: CPython 3.10, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e3d549f0413eac7bbd220f6a9de00b9cddf825c0a8cf324b3062e2feefa64714
|
|
| MD5 |
738caffcaa98bf6d422a3cb9a8dd64a2
|
|
| BLAKE2b-256 |
1b11414baf5c8fa9d57c9a3d8e500b5d7055ae6fc3a14a1d78ddbdbe68f875c6
|