A simple library for NationStates RP stats management and evaluation
Project description
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
from wisenations import SheetManager
sm = SheetManager()
sm.new_sheet("s1")
my_sheet = sm.get_sheet("s1")
Let's add some stats...
my_stats = {
"hp": "200",
"speed": "10",
"damage": '30',
"attack_speed": "speed * 2.5"
}
my_sheet.add_stats(my_stats)
Output
{'attack_speed': 'speed * 2.5', 'damage': '30', 'hp': '200', 'speed': '10'}
Evaluate expressions
result = my_sheet.solve_expressions()
print(result)
Output
{'attack_speed': '25.0', 'damage': '30', 'hp': '200', 'speed': '10'}
#CHANGELOG
[25.12.2025] 0.0.0.dev0:
Hello, world – and merry christmans!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wisenations-0.0.0.dev0.tar.gz.
File metadata
- Download URL: wisenations-0.0.0.dev0.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d34da20cdf65fe47d08ee76df4ab0b0ab3df0963d5e184c17c33178071a1486c
|
|
| MD5 |
6e6238aa0ad0e56f43e489f0eafd2b85
|
|
| BLAKE2b-256 |
b5cb15e730f08995e99f6809f27943231c222d7ab521b3b48e3669cf69b979e6
|
Provenance
The following attestation bundles were made for wisenations-0.0.0.dev0.tar.gz:
Publisher:
release.yml on Stalot/WiseNations
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
wisenations-0.0.0.dev0.tar.gz -
Subject digest:
d34da20cdf65fe47d08ee76df4ab0b0ab3df0963d5e184c17c33178071a1486c - Sigstore transparency entry: 779679635
- Sigstore integration time:
-
Permalink:
Stalot/WiseNations@6d6671cb4998c897e840f861f9901df2718d3526 -
Branch / Tag:
refs/tags/0.0.0.dev0 - Owner: https://github.com/Stalot
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@6d6671cb4998c897e840f861f9901df2718d3526 -
Trigger Event:
release
-
Statement type:
File details
Details for the file wisenations-0.0.0.dev0-py3-none-any.whl.
File metadata
- Download URL: wisenations-0.0.0.dev0-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ccb4ef55261d93a624b433f6169e9d5cadf5b6ee2f69b016ad81f6a934c46fc7
|
|
| MD5 |
d65b5730156a1485feb0887cd1a26c42
|
|
| BLAKE2b-256 |
3cd5dcd03e77ef6f632f18ff9594b1d4f0e06748fded330ae70a5122b5e725e5
|
Provenance
The following attestation bundles were made for wisenations-0.0.0.dev0-py3-none-any.whl:
Publisher:
release.yml on Stalot/WiseNations
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
wisenations-0.0.0.dev0-py3-none-any.whl -
Subject digest:
ccb4ef55261d93a624b433f6169e9d5cadf5b6ee2f69b016ad81f6a934c46fc7 - Sigstore transparency entry: 779679636
- Sigstore integration time:
-
Permalink:
Stalot/WiseNations@6d6671cb4998c897e840f861f9901df2718d3526 -
Branch / Tag:
refs/tags/0.0.0.dev0 - Owner: https://github.com/Stalot
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@6d6671cb4998c897e840f861f9901df2718d3526 -
Trigger Event:
release
-
Statement type: