Links
Version 1.5.5 passed unit tests under Python 3.14+
For the complete list of new features, improvements, and bug fixes, see the v1.5.3 release notes.
apsimNGpy: The Next Generation Agroe-cosystem Simulation Library
apsimNGpy is an open-source framework for advanced agroecosystem modeling, built entirely in Python. It enables object-oriented, data-driven workflows for interacting with APSIM Next Generation models, offering capabilities for:
Batch file simulation and model evaluation
APSIMX file editing and parameter inspection
Weather data retrieval and pre-processing
Optimization and performance diagnostics
Efficient soil profile development and validation
Parameter sensitivity analysis
Python serves as the execution environment, integrating scientific computing, data analysis, and automation for sustainable agricultural systems.
Requirements
.NET SDK — install from https://learn.microsoft.com/en-us/dotnet/core/install/
Python 3.10+
APSIM Next Generation — ensure the directory containing Models.exe is added to your system PATH.
(Optional) Use the official APSIM installer for easiest setup.
Minimum 8 GB RAM recommended.
Installation
## Run APSIM in Python
Option 1 – Install from PyPI (stable)
pip install apsimNGpy
If using the uv virtual environment manager:
uv pip install apsimNGpy
Option 2 – Clone the development repository
git clone https://github.com/MAGALA-RICHARD/apsimNGpy.git
cd apsimNGpy
pip install .
Option 3 – Install directly from GitHub
pip install git+https://github.com/MAGALA-RICHARD/apsimNGpy.git
APSIM Next Generation (NG) Installation Tip
Use the pinned APSIM release indicated on the documentation homepage to avoid forward-compatibility issues. The pinned version represents the latest APSIM NG build verified against apsimNGpy’s API and unit tests.
Metadata
Release files for apsimngpy 1.5.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| apsimngpy-1.5.6.tar.gz | 12.9 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| apsimngpy-1.5.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 22.5 MB
Release files / apsimngpy-1.5.6.tar.gz
| Download URL | apsimngpy-1.5.6.tar.gz |
|---|---|
| Size | 12.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8dc7fdbf02d4580a5794f7dbaff2cefa4e258c176baf58cc6c8ffa296b79d2dd
|
|
BLAKE2b-256 checksum How to use checksums |
3e875bfea75bdb0a98ee8a000f6612d8ef0a224df29543521a86d232cf223d72
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.2
|
Release files / apsimngpy-1.5.6-py3-none-any.whl
| Download URL | apsimngpy-1.5.6-py3-none-any.whl |
|---|---|
| Size | 9.6 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dc4dcf0de8082c10132461212d47aebaf2a36d74681c61fe3799f7d5eeb3d956
|
|
BLAKE2b-256 checksum How to use checksums |
17035aa22450c0615d424fa3a648f74f0fec24c116990d0cc3055388feb7d1c2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.2
|