Installation¶
This guide explains how to install and configure FTP_CALCULATOR for Rust, Python, and Excel.
Prerequisites¶
For all environments¶
- Git: To clone the repository.
- Rust: To compile the crates.
For Rust and Python¶
- Python 3.8+:
- Build tools:
For Excel (Windows only)¶
- .NET SDK 6.0: Download from dotnet.microsoft.com.
- Excel 2016 or later (for the add-in).
Installation¶
1. Clone the repository¶
2. Install Rust dependencies¶
3. Install Python dependencies¶
4. Compile Rust bindings¶
For Python (PyO3)¶
For Excel (C)¶
5. Configure the Excel add-in (Windows)¶
- Compile the C# project:
-
Copy the
.xllfile:- The
TonAddIn.xllfile is generated inexcel/AddIn/bin/Debug/. - Copy it to an accessible folder (e.g.,
~/Desktop/).
- The
-
Load in Excel:
- Open Excel.
- Go to
File > Options > Add-ins > Browse. - Select
TonAddIn.xll.
Verification¶
- Test the Python bindings:
- Test the Excel add-in: In an Excel cell, type: