Skip to main content

Open-source, code-first virtual farm runtime for agricultural researchers.

Project description

CropForge

Open-source, code-first virtual farm runtime for agricultural researchers.

CropForge lets you define a crop simulation entirely in Python. You write the model equations; CropForge handles time-stepping, spatial state management, logging, and visual playback.

What's New in v0.4.0

  • Plugin Ecosystem: Extensible architecture allowing third-party researchers to publish and install custom crop models (e.g., cropforge-wheat) via PyPI.
  • Multi-Season Rotations: Preserve soil state, moisture, and nitrogen between consecutive simulation runs on the same field to study long-term soil health and crop rotations.
  • Compare Dashboard: Visually compare multiple farm configurations on the same time-series chart and export session data directly to CSV.
  • Spatial Hydrology: D8 lateral surface water routing across gridded fields based on elevation.

What's New in v0.2.0

  • Opt-In Physics: Built-in, mathematically verified FAO-56 Penman-Monteith ET0 resolution and Root Impedance models. Enabled via the @farm.use_physics(et0=True, root_impedance=True) decorator.
  • Multi-Field Dashboard: Compare divergent physical environments and scenarios (GxE) directly in the UI with a new Field Selector Dropdown, filtering Heatmaps, 3D viewport, and Inspector panels per-field, while retaining a unified Time-Series comparative view.
pip install cropforge

See examples/wheat_basic.py for a minimal working simulation.

Licence

MIT — Saswat Sundar Rath, ICAR-IARI Jharkhand, 2026

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cropforge-0.4.0.tar.gz (106.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cropforge-0.4.0-py3-none-any.whl (53.8 kB view details)

Uploaded Python 3

File details

Details for the file cropforge-0.4.0.tar.gz.

File metadata

  • Download URL: cropforge-0.4.0.tar.gz
  • Upload date:
  • Size: 106.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for cropforge-0.4.0.tar.gz
Algorithm Hash digest
SHA256 c09bf65283fbefea95b4ad24a24fe86f04b6892092198f23cf9dcf49ec2b1c5e
MD5 da1808b5b5140f3240f6e14872d8fd09
BLAKE2b-256 66e4e639a13159ac85737d93652bcb8321cb38d0a4c7cd47b8cf307b417b9f4f

See more details on using hashes here.

Provenance

The following attestation bundles were made for cropforge-0.4.0.tar.gz:

Publisher: publish.yml on saswatsundar123/CropForge

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cropforge-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: cropforge-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 53.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for cropforge-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1da92b4f39c36e47899cb490d25cac36b0be126465e03d5091a87c9fb09356ad
MD5 a8e9b78aa5ea939ad5907549df10618e
BLAKE2b-256 9c8b88a668a19c68e95bbf33677181f6cb9d1b9997ed919e8a35d3982213b6db

See more details on using hashes here.

Provenance

The following attestation bundles were made for cropforge-0.4.0-py3-none-any.whl:

Publisher: publish.yml on saswatsundar123/CropForge

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page