yomi
A collection of tools for running tournaments of AI agents against each-other on various games
Install
pipenv install yomi
Local Development
For local work, setting up a new Pipfile and Pipfile.lock can be acomplished via:
pipenv install -e .
pipenv install --dev -e .[dev]
Example
Running an example random_unlimited_tournament
from yomi.base import random_unlimited_tournament
from yomi.agents import RandomAgent
from yomi.games import TicTacToe
results = random_unlimited_tournament(TicTacToe, ((RandomAgent, {'name': 'p1'}), (RandomAgent, {'name': 'p2'})))
print(results[0].mean())
Testing
pytest
flake8
Metadata
Release files for yomi 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| yomi-0.0.1.tar.gz | 3.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| yomi-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.8 kB
Release files / yomi-0.0.1.tar.gz
| Download URL | yomi-0.0.1.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
efaca2795b2dff8696dca8f580c4be9b2b520df26732ff537403316903770f7a
|
|
BLAKE2b-256 checksum How to use checksums |
451c8abf79a1682c8b4155abc9470c8e8ddcbb9efb47bc76ad8f441633d7d05b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.7.1
|
Release files / yomi-0.0.1-py3-none-any.whl
| Download URL | yomi-0.0.1-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
06e52cbd5c41d5d25d554ed6144718a289efc7240c6aeacc128473e211c7781f
|
|
BLAKE2b-256 checksum How to use checksums |
b4821ed0e67c035d3fce4db184c9b47707e383019ade4038f78ebac92b6e2876
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.7.1
|