Metadata-Version: 2.1
Name: ayto
Version: 0.1.0
Summary: A Python library for calculating couple probabilites for the TV show *Are You the One?*
Author-email: Dan Turkel <daturkel@gmail.com>
Project-URL: Homepage, https://github.com/daturkel/ayto
Project-URL: Bug Tracker, https://github.com/daturkel/ayto/issues
Project-URL: Author's Website, https://danturkel.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Provides-Extra: dev
License-File: LICENSE

# AYTO

A Python library for calculating couple probabilities for the TV show [Are You the One?](https://en.wikipedia.org/wiki/Are_You_the_One%3F).

## Installation

```
pip install ayto
```

## Usage

```python
from ayto import AYTO

guys = ["Al", "Bill", "Carl"]
girls = ["Daisy", "Emily", "Faith"]

season = AYTO(guys, girls)

# "there are 6 possible scenarios"
print(f"there are {len(season.scenarios)} possible scenarios")

# Al and Daphne go to the Truth Booth and get "NO MATCH"
season.apply_truth_booth("Al", "Daphne", False)

# "4 scenarios remain"
print(f"{len(season.scenarios)} scenarios remain")

# A matchup ceremony with 1 beam
season.apply_matchup_ceremony(
    [("Al", "Emily"), ("Bill", "Daisy"), ("Carl", "Faith")], beams=1
)

# "2 scenarios remain"
print(f"{len(season.scenarios)} scenarios remain")

# Calculate couple probabilities
season.calc_probs()

print(season.probs)
#         Albert  Billy  Carl
# Daphne     0.0    0.5   0.5
# Emily      0.5    0.0   0.5
# Faith      0.5    0.5   0.0
```
