Getting started
Installation
Install from PyPI, from source, or inside Pyodide.
From PyPI
bash
pip install pymlkitPrebuilt wheels cover Windows (32 and 64 bit), macOS (Intel and Apple Silicon) and Linux x86-64. Requires Python 3.9 or newer. The wheels are tagged py3, so one wheel per platform works on every supported Python version.
From source
The build uses scikit-build-core and CMake, so you need a C compiler.
bash
git clone https://github.com/JeryGPT/Multi-Layer-Perceptron-Kit
cd Multi-Layer-Perceptron-Kit
pip install .In the browser (Pyodide)
PyPI also hosts a WebAssembly wheel, so Pyodide can install it with micropip:
python
import micropip
await micropip.install("pymlkit")
from pymlkit import NetworkTry exactly this on the playground.
Verify
python
import pymlkit
print(pymlkit.__version__) # 0.1.1If you see
ImportError: Native library not found, pip selected a source install without a compiled library. Reinstall with a compiler available, or use a supported prebuilt platform.