Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Project generated with PyScaffold

Logo

This module lets you perform stat calculations for Fire Emblem units.

With this module, you can:

  • Create a virtual copy of a unit and their stats.
  • Level up that unit.
  • Promote that unit.
  • Compare one unit to another.
  • And much more!

Advice

Just use Triangle Attack.

Installation

To start, install aenir.

pip install aenir

Usage

Let's begin by starting up an interactive Python shell. We will start by importing the shortcut function get_morph.

from aenir import get_morph

To create a virtual copy of a unit (i.e. a 'Morph'), bear in mind the following:

  1. The name of the unit; this should have the SerenesForest.Net spelling.
  2. The number of the game the unit is from.

Let's say we want to get Roy's stats. Note that Roy is from FE6: The Sword of Seals.

roy = get_morph(6, "Roy")
print(roy)

As you can see, these stats suck. Let's fix that; let's level him up to level twenty.

num_levels = roy.max_level - roy.current_lv
roy.level_up(num_levels)
print(roy.current_stats.as_dict())

That's better. But it's still not enough. Let's promote him.

roy.promote()

For the fun of it, let's max him out.

num_levels = 19 # because he starts out at level one again.
roy.level_up(num_levels)
print(roy.current_stats.as_dict())

Note that when initializing certain characters, like Rutger, extra initialization parameters will be needed.

rutger = get_morph(6, "Rutger", hard_mode=True)
larcei = get_morph(4, "Lakche", father="Lex")
lyn = get_morph(7, "Lyn", lyn_mode=True)

Compare characters by using the greater-than operator.

stat_diff = roy.current_stats > lyn.current_stats
print(stat_diff.as_dict())

Limitations

Currently, this calculator works only for characters from:

  1. Genealogy of the Holy War
  2. Thracia 776
  3. Sword of Seals
  4. Blazing Blade
  5. The Sacred Stones
  6. Path of Radiance

COMING SOON!

Combat simulation Link Arena

Note

This project has been set up using PyScaffold 4.6. For details and usage information on PyScaffold see https://pyscaffold.org/.

Metadata

Release files for aenir 0.0.post1.dev1390

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aenir 0.0.post1.dev1390
File Size Uploaded Provenance Actions
aenir-0.0.post1.dev1390.tar.gz 221.5 kB Without provenance Details for aenir-0.0.post1.dev1390.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aenir 0.0.post1.dev1390
File Interpreter ABI Platform Actions
aenir-0.0.post1.dev1390-py3-none-any.whl Python 3 none any Details for aenir-0.0.post1.dev1390-py3-none-any.whl

Total release size: 314.5 kB

Release files / aenir-0.0.post1.dev1390.tar.gz

Download URL aenir-0.0.post1.dev1390.tar.gz
Size 221.5 kB
Tags Source
SHA-256 checksum
How to use checksums
9e690fe806487569b6e13dbfeaa9d21786dcf546cf383615a94dc00e8db2a5c3
BLAKE2b-256 checksum
How to use checksums
2637da82e38b20b4b6d72d30db105bca6aa91b9713e58e00bd5f3502a1682cc6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / aenir-0.0.post1.dev1390-py3-none-any.whl

Download URL aenir-0.0.post1.dev1390-py3-none-any.whl
Size 93.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9d12bfe9235b8ecc0433a4c00aa488390c1f939697c1db5610731fe439f2d85b
BLAKE2b-256 checksum
How to use checksums
aa8705f8bc06edccfda8a14a6247d0767538ece4258bd74bad529b1f5efcb81c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Security for aenir 0.0.post1.dev1390

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page