Catalog PyPI
PACKAGE EXPLORERView in registry

agriforest-crops

PyPI

Extended crop info and irrigation suggestion library for Agri-Forest.

agriculturecropeducationirrigationndvi
Versions collected1
Direct dependencies0From release 0.2.4
Last observed21 Oct, 09:26 UTC

README

Version 0.2.4 documentation

agriforest-crops

Extended, dependency-free crop knowledge library for the Agri-Forest project.

Key Features

  • 20+ built‑in crop profiles (water need, diseases, NDVI demo range, fertilizer hint).
  • Generic fallback for unknown crops.
  • Runtime extension: add_crop(name, info_dict)
  • Bulk loading from JSON: load_crops_from_json(path)
  • Partial/fuzzy search: find_crops("whea") -> ["wheat"]
  • Irrigation suggestion: suggest_irrigation(name, recent_rain_mm)
  • Weekly water plan from daily rain: get_water_plan(name, [...])
  • Growing Degree Days: compute_gdd(base_temp, daily_temps)
  • Pure Python only (no third-party dependencies).

Quick Usage

from agriforest_crops import get_or_generic, suggest_irrigation, find_crops

print(find_crops("gra"))              # ['grape']
info = get_or_generic("wheat")
print(info["fertilizer_hint"])

irrigation = suggest_irrigation("wheat", recent_rain_mm=12)
print(irrigation["recommended_irrigation_mm"])

Install (after publishing)

pip install agriforest-crops

Extend At Runtime

from agriforest_crops import add_crop
add_crop("supercrop", {
  "description": "Experimental high-yield crop",
  "water_need_mm_per_week": 33
})

Data Disclaimer

Values are heuristic educational placeholders. Calibrate with local agronomy data for production use.

License

MIT

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.2.423 Nov 20250

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
youruser/agriforest-crops

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 09:26 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:aca234513b8b9787f5b1bedd0f9e2f87ef50d8f3c636ef072bb6b7f5f596abcc