Skip to main content

Coral

A PyTorch-based neural network library for board game evaluation.

Overview

Coral provides a flexible framework for building and deploying neural networks to evaluate board game positions. It includes modular components for input conversion, neural network architectures, and output interpretation.

Features

  • Multiple NN Architectures: Multi-layer perceptrons, transformers, and custom models
  • Flexible Input/Output Conversion: Modular converters for different board representations and evaluation formats
  • Point-of-View Evaluation: Support for evaluating positions from different player perspectives
  • PyTorch Integration: Built on PyTorch with JIT compilation support for optimized inference

Installation

pip install git+https://github.com/victorgabillon/coral.git@main

Requirements

  • Python >= 3.13
  • PyTorch
  • valanga (board game library)

Project Structure

src/coral/
├── board_evaluation.py          # Point-of-view and evaluation types
├── chi_nn.py                     # Base neural network class
└── neural_networks/
    ├── factory.py                # NN factory pattern
    ├── nn_content_evaluator.py   # Board evaluation with NNs
    ├── models/                   # NN architectures (MLP, Transformer)
    ├── input_converters/         # Board to tensor conversion
    └── output_converters/        # NN output to evaluation conversion

License

GPL-3.0-only

Metadata

Release files for algorhino-coral 0.1.15

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for algorhino-coral 0.1.15
File Size Uploaded
algorhino_coral-0.1.15.tar.gz 40.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for algorhino-coral 0.1.15
File Interpreter ABI Platform
algorhino_coral-0.1.15-py3-none-any.whl Python 3 none any Details

Total release size: 81.6 kB

Release files / algorhino_coral-0.1.15.tar.gz

Download URL algorhino_coral-0.1.15.tar.gz
Size 40.4 kB
Tags Source
SHA-256 checksum
How to use checksums
03be4a81766f2cbcb90fa272b3d07ef354a16164cc74cd7cb6c60f6c52d5f486
BLAKE2b-256 checksum
How to use checksums
9313e2f4d47ce40b128a181d33aa1383bd8dac3b15c0ca8925f4994fb592b7dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 18, 2026.

Transparency log

Release files / algorhino_coral-0.1.15-py3-none-any.whl

Download URL algorhino_coral-0.1.15-py3-none-any.whl
Size 41.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2637fb535a44610170bef654fe54956b6fbd784c026ac5f3016bd0213f6b86f7
BLAKE2b-256 checksum
How to use checksums
7a939db464228479b6fa11f7f9747e920df6999f0c405e87458d941fd21d6c83
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 18, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.15 This release

2 release files

0.1.14

2 release files

0.1.13

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.4

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page