Skip to main content

AgroDesign

AgroDesign is a unified analysis framework for agricultural experiments.

Instead of manually choosing statistical tests, you describe the experiment — AgroDesign automatically performs the correct analysis and produces biological recommendations.

It converts experimental data directly into decisions, reports, figures, and publication-ready outputs.


Install

pip install agrodesign

5-Minute Example

Randomized Complete Block Design (variety trial)

import pandas as pd
from agrodesign.experiment import Experiment

df = pd.DataFrame({
    "Block":["B1","B1","B1","B1",
             "B2","B2","B2","B2",
             "B3","B3","B3","B3",
             "B4","B4","B4","B4"],
    "Variety":["V1","V2","V3","V4"]*4,
    "Yield":[48,52,56,60,45,50,54,58,47,51,55,59,46,49,53,57]
})

result = Experiment(df,"Yield").rcbd("Variety","Block").run()

result

Output:

AgroResult (RCBD)
Response: Yield
Significant factors: Variety
Best treatment: V4
Expected yield: 58.50

What can you do next?

print(result)      # Full scientific report
result.summary()   # Agronomic recommendation
result.plot()      # Publication figures
result.export("report")  # Tables + plots folder

Universal Workflow

All analyses follow the same pattern:

result = (
    Experiment(data, response)
    .design(...)
    .run()
)
Command Meaning
result Decision snapshot
print(result) Scientific statistical report
summary() Farmer/agronomic recommendation
plot() Visualization
export() Publication files

Supported Experimental Designs

Category Designs
Field trials CRD, RCBD
Input studies Factorial, Split-plot
Random variation Mixed models (BLUP)
Breeding trials Multi-environment (G×E stability)
Multi-year data .by("Year") grouped analysis
Multiple traits Automatic combined ranking

Example Analyses

Factorial experiment

Experiment(df,"Yield").factorial(["Nitrogen","Spacing"]).run()

Mixed model (adjusted performance)

Experiment(df,"Yield").mixed(fixed=["Treatment"], random=["Block"]).run()

Multi-environment trial (stability)

Experiment(df,"Yield").gxe("Genotype","Environment","Rep").run()

Multi-year experiment

Experiment(df,"Yield").by("Year").rcbd("Variety","Block").run()

Multi-trait selection

Experiment(df,["Yield","Height"]).rcbd("Variety","Block").run()

What AgroDesign Handles Automatically

  • Correct ANOVA model construction
  • Error-term selection
  • Mean separation (LSD, Tukey, DMRT)
  • Interaction interpretation rules
  • Mixed-model BLUP ranking
  • G×E stability analysis (AMMI, GGE, FW, ER)
  • Assumption diagnostics
  • Publication-ready plots

No manual statistical decisions required.


Philosophy

Traditional workflow:

Choose model → run statistics → interpret biology

AgroDesign workflow:

Describe experiment → AgroDesign chooses statistics → interpret biology

Citation

If you use AgroDesign in academic work:

AgroDesign v0.6.0 — Stable Research Release https://github.com/DeepStatistix/AgroDesign

(DOI will be added via Zenodo)


License

MIT License


Author

Aqib Gul DeepStatistix

Metadata

Release files for agrodesign 0.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agrodesign 0.7.0
File Size Uploaded Provenance
agrodesign-0.7.0.tar.gz 53.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for agrodesign 0.7.0
File Interpreter ABI Platform
agrodesign-0.7.0-py3-none-any.whl Python 3 none any Details

Total release size: 120.4 kB

Release files / agrodesign-0.7.0.tar.gz

Download URL agrodesign-0.7.0.tar.gz
Size 53.7 kB
Tags Source
SHA-256 checksum
How to use checksums
aa91eda0dd55764eeaa1f0484be7380df90f218f0f2d096e743c2f14a3dcd537
BLAKE2b-256 checksum
How to use checksums
1337496304497d679f7e829eb4cc960b418ce683a9b88177adde3f8a9ba7dafa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.7

Release files / agrodesign-0.7.0-py3-none-any.whl

Download URL agrodesign-0.7.0-py3-none-any.whl
Size 66.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bb8299fabd6f3f94b6737d91baa69ff09a5136936afbe4266df72f6386009853
BLAKE2b-256 checksum
How to use checksums
2875356ae9dde9eb7e68075b7d7b73d9d4bcddaf3e6770152b38d14dd4250f6b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.7

Security for agrodesign 0.7.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.7.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page