APSIM next generation package interface
Project description
Links
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.
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 apsimngpy-1.3.0.tar.gz.
File metadata
- Download URL: apsimngpy-1.3.0.tar.gz
- Upload date:
- Size: 16.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dffd15a178af238dfb99380a52974daea7cd415641b30ef64c4061f10d9fcc50
|
|
| MD5 |
01f6968aa7a33091e300b5c2acb00205
|
|
| BLAKE2b-256 |
d0cbe96089d8f71242e8abe7b3a521080b0a8eb231f0b9cd517007d532d8e060
|
File details
Details for the file apsimngpy-1.3.0-py3-none-any.whl.
File metadata
- Download URL: apsimngpy-1.3.0-py3-none-any.whl
- Upload date:
- Size: 13.6 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
012acf1b9e6307eac58bf7370346393eaf050428225b91f074a88695463009dc
|
|
| MD5 |
1591add31aecf74e23e565c64746a80d
|
|
| BLAKE2b-256 |
d65d0f2eee4bdcc6ec2c85a1158fe1727fb163cfdf380c7b982edf555df654bd
|