Metadata-Version: 2.4
Name: autocraftofexile
Version: 0.1.2
Summary: Console application for automating Craft of Exile recipes
Author: ProphetLamb
Author-email: ProphetLamb <prophet.lamb@gmail.com>
License-Expression: MIT AND (Apache-2.0 OR BSD-2-Clause)
Requires-Dist: keyboard>=0.13.5
Requires-Dist: pyautogui>=0.9.54
Requires-Dist: requests>=2.32
Requires-Dist: pywinctl>=0.4.1
Requires-Dist: typer>=0.27.0
Requires-Dist: pytweening>=1.2.0
Requires-Dist: pyperclip>=1.11.0
Requires-Dist: uv>=0.12.0
Requires-Dist: pytest>=8.0 ; extra == 'dev'
Requires-Python: >=3.14
Project-URL: GitHub, https://github.com/ProphetLamb/autocraftofexile
Project-URL: Repository, https://github.com/ProphetLamb/autocraftofexile.git
Provides-Extra: dev
Description-Content-Type: text/markdown

# Auto Craft of Exile

Automatically executes a [Craft of Exile](https://www.craftofexile.com/?game=poe1) Simulator recipe in [Path of Exile](https://www.pathofexile.com/).

## How to use

### Copy your base item using `[CTRL]+[ALT]+[C]`

![Copy your base item using `[CTRL]+[ALT]+[C]`](data/base-item.png)

### Import the base item in the simulator

![Import the base item in the simulator](data/simulator-import-item.png)

### Compose the recipe to execute

![Compose the recipe to execute](data/simulator-recipe.png)

### Validate your recipe works. Then export the recipe to `data/recipe.json`

![Validate your recipe works. Then export the recipe to `data/recipe.json`](data/simulator-generate-export-data.png)

### Start `autocraftofexile`

Install package from PyPi. Ensure python 3.14 is installed on your system.

```bash
pip install autocraftofexile
autocraftofexile
```

### First time setup

For the first time setup `autocraftofexile` asks the positions of crafting components.
| Info |
| --- |
| Keep `autocraftofexile` focussed. Do not click or `[Alt]+[Tab]` Path of Exile to focus. |

```
Move mouse to the Orb of Transmutation and press ENTER.
```

![Move mouse to the Orb of Transmutation and press ENTER.](data/hover-orb-of-transmutation.png)

Then `autocraftofexile` asks for the position of the item.

```
Move mouse to the Item Showcase and press ENTER.
```

![Move mouse to the Item Showcase and press ENTER.](data/base-item.png)

Finally the setup asks for the start and stop hotkey. The first key-combination pressed is used.

```
Press the start hotkey.
start hotkey: f9

Press the stop hotkey.
stop hotkey: f10
```

The setup is written to `data/gui.json`.

### Begin crafting

Activate `autocraftofexile` crafting by pressing the start hotkey, e.g. `f9`.
| Info |
| --- |
| Ensure the Stash tab is open on the page with the crafting items |


## Building from source

```bash
git clone https://github.com/ProphetLamb/autocraftofexile.git
# activate the python venv
python -m venv .venv
# use activate.bash or activate.fish on linux
.venv\Scripts\Activate.ps1
# install uv
pip install uv
# install autocraftofexile
uv pip install -e .
# start the program
autocraftofexile
```