Metadata-Version: 2.4
Name: wisenations
Version: 0.0.0.dev0
Summary: A simple library for NationStates RP stats management and evaluation
Author-email: Orly Neto <orly2carvalhoneto@gmail.com>
Maintainer-email: Orly Neto <orly2carvalhoneto@gmail.com>
License-Expression: MIT
Project-URL: Repository, https://github.com/Stalot/WiseNations
Project-URL: Issues, https://github.com/Stalot/WiseNations/issues
Project-URL: Changelog, https://github.com/Stalot/WiseNations/blob/main/CHANGELOG.md
Keywords: NationStates,Roleplay
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python
Classifier: Operating System :: OS Independent
Requires-Python: >=3.10
Description-Content-Type: text/markdown

# WiseNations

*NOTE*: This project is still in **development phase**, don't use it for actual production.

A simple library for NationStates RP stats management and evaluation.

## Getting started

WiseNations works with stat sheets
``` python
from wisenations import SheetManager

sm = SheetManager()
sm.new_sheet("s1")
my_sheet = sm.get_sheet("s1")

```

Let's add some stats...
``` python
my_stats = {
    "hp": "200",
    "speed": "10",
    "damage": '30',
    "attack_speed": "speed * 2.5"
}
my_sheet.add_stats(my_stats)
```

Output
``` bash
{'attack_speed': 'speed * 2.5', 'damage': '30', 'hp': '200', 'speed': '10'}
```

Evaluate expressions
``` python
result = my_sheet.solve_expressions()
print(result)
```

Output
``` bash
{'attack_speed': '25.0', 'damage': '30', 'hp': '200', 'speed': '10'}
```
#CHANGELOG

## [25.12.2025] 0.0.0.dev0:
Hello, world – and merry christmans!
