Skip to main content

py-simba-pop-tools

Calibration, validation and backtesting tools for py-simba-pop, the SIMBA-POP banana cohort model.

pip install py-simba-pop-tools

Releases are compiled wheels for CPython 3.11-3.13 on Windows, macOS and Linux, with type stubs (py.typed) for editors and type checkers. There is no source distribution. Documentation: simba-ecosystem-docs.

Contents

Module What it does
py_simba_pop_tools.calibration.harvest Harvest timing from ribbon-tagged production records: a nonparametric life table, and a maximum-likelihood fit in the engine's own weekly model with field losses as a competing risk, with a cohort-block bootstrap; the field-loss (reproductive death) rate as an exposure hazard, by period, with a drift test
py_simba_pop_tools.calibration.vegetative Flowering and follower-selection timing (threshold, peak, spread) fitted to recorded bagging and parous/nulliparous selections, with the engine driven by the recorded selections; and flowering from bagging alone, through a temporal split with follower selection fixed, with a block bootstrap. Keeps the deviance profile over the threshold
py_simba_pop_tools.calibration.bootstrap Moving-block bootstrap weights for records ordered in time
py_simba_pop_tools.calibration.literature Parameter values reproduced from published calibrations, each with its source table
py_simba_pop_tools.evaluation.backtest Rolling-origin backtests with as-of data (each table filtered by its contract's lag; forecasters start from the last ledger week known, so a longer lag is forecast through): persistence, seasonal naive and Mode B baselines, and a calibrated Mode B that refits the field-loss rate and harvest timing at every origin; MAE, RMSE and bias by horizon and subgroup; Diebold-Mariano (Harvey-Leybourne-Newbold) with Holm across horizons
py_simba_pop_tools.evaluation.curves Lag-scanned agreement between a simulated and an observed weekly series (validation only, not a fit)
py_simba_pop_tools.data.contracts The canonical tables calibration and evaluation read: ribbon ledger, daily weather, plant monitoring
py_simba_pop_tools.data.snapshots Immutable, hashed as-of snapshots of those tables, for backtests that use only data known at each origin
py_simba_pop_tools.data.reconstruction An initial population reconstructed from production records, or spun up from a number of mats
py_simba_pop_tools.synthetic Records made by py-simba-pop's own model, with switches that break the calibration's assumptions (bagging lag, harvest shift, incomplete or noisy desuckering records, recording error) -- tests and robustness studies only

The package reads canonical tables only. Converting a farm's own exports into them is the job of a separate, farm-specific adapter.

Building from source (development)

A release build compiles every module (Cython, setup.py) and needs a C compiler. Without one, a development install uses the plain sources:

PY_SIMBA_POP_TOOLS_PURE=1 pip install -e "packages/py-simba-pop-tools[test]"   # PowerShell: $env:PY_SIMBA_POP_TOOLS_PURE = "1"
pytest packages/py-simba-pop-tools

release/check_wheel.py audits a built wheel: compiled modules, __init__ files, type stubs and py.typed only.

Licence and attribution

Apache-2.0 (see LICENSE).

Calibration, validation and backtesting tools for py-simba-pop. Values in calibration.literature are reproduced from the publications cited there (currently Guarín & Ochoa 2012, Table 2). Not affiliated with or endorsed by CIRAD or the original authors.

Metadata

Release files for py-simba-pop-tools 0.1.0

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

Built distributions (wheels)

Table of built distributions (wheels) for py-simba-pop-tools 0.1.0
File
py_simba_pop_tools-0.1.0-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
py_simba_pop_tools-0.1.0-cp313-cp313-musllinux_1_2_x86_64.whl CPython 3.13 CPython 3.13 Linux musl 1.2+ x86-64 Details
py_simba_pop_tools-0.1.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64, Linux glibc 2.17+ x86-64 Details
py_simba_pop_tools-0.1.0-cp313-cp313-macosx_10_13_universal2.whl CPython 3.13 CPython 3.13 macOS 10.13+ universal2 (ARM64, x86-64) Details
py_simba_pop_tools-0.1.0-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
py_simba_pop_tools-0.1.0-cp312-cp312-musllinux_1_2_x86_64.whl CPython 3.12 CPython 3.12 Linux musl 1.2+ x86-64 Details
py_simba_pop_tools-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details
py_simba_pop_tools-0.1.0-cp312-cp312-macosx_10_13_universal2.whl CPython 3.12 CPython 3.12 macOS 10.13+ universal2 (ARM64, x86-64) Details
py_simba_pop_tools-0.1.0-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
py_simba_pop_tools-0.1.0-cp311-cp311-musllinux_1_2_x86_64.whl CPython 3.11 CPython 3.11 Linux musl 1.2+ x86-64 Details
py_simba_pop_tools-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details
py_simba_pop_tools-0.1.0-cp311-cp311-macosx_10_9_universal2.whl CPython 3.11 CPython 3.11 macOS 10.9+ universal2 (ARM64, x86-64) Details

Total release size: 39.7 MB

Release files / py_simba_pop_tools-0.1.0-cp313-cp313-win_amd64.whl

Download URL py_simba_pop_tools-0.1.0-cp313-cp313-win_amd64.whl
Size 685.7 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
e21474df5baa1fba3387c794726dfc6c1ecaa61e36ea008c37898a332c713af5
BLAKE2b-256 checksum
How to use checksums
f1a389e76e97d27902860de09d8eb1f67cb5c24e4f5de9be7da8dd2f6afc8900
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Release files / py_simba_pop_tools-0.1.0-cp313-cp313-musllinux_1_2_x86_64.whl

Download URL py_simba_pop_tools-0.1.0-cp313-cp313-musllinux_1_2_x86_64.whl
Size 5.4 MB
Tags CPython 3.13 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
ac181890a0416e6b3ee2416dc6b1f8eb69def34a9d847704be3fda953ac2d40e
BLAKE2b-256 checksum
How to use checksums
68070fccb4bec98f650621ce56dcbe5d65a8640fd390170229b53114ab305ffe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Release files / py_simba_pop_tools-0.1.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl

Download URL py_simba_pop_tools-0.1.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Size 5.3 MB
Tags CPython 3.13 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
6d1b5549e3f6aaa74eedbeca40f8f9285b5d3feed559c0f774c68f6f30f388ab
BLAKE2b-256 checksum
How to use checksums
3825765d586e8868acbb9c62f51991a26b6df2bf03239285bfdc69e6722f3f39
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Release files / py_simba_pop_tools-0.1.0-cp313-cp313-macosx_10_13_universal2.whl

Download URL py_simba_pop_tools-0.1.0-cp313-cp313-macosx_10_13_universal2.whl
Size 1.6 MB
Tags CPython 3.13 macOS 10.13+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
e11a2e5b9da24b023539af3d65ea8effa60048acb1cae3ec2f792ff6202f45fc
BLAKE2b-256 checksum
How to use checksums
fdd6190cb1109cd977a12acdf34094a05375b1cc2b871d6200125e5ab0513d31
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Release files / py_simba_pop_tools-0.1.0-cp312-cp312-win_amd64.whl

Download URL py_simba_pop_tools-0.1.0-cp312-cp312-win_amd64.whl
Size 690.9 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
5bbf7fe9fbd24850ce780dcebea01464295e23a82ecb19f5fce5f1568eb77dde
BLAKE2b-256 checksum
How to use checksums
a5760abc6d034b42fb9a6806f73ec095ce442f60f58dae7555e7c2fdd0cf406a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Release files / py_simba_pop_tools-0.1.0-cp312-cp312-musllinux_1_2_x86_64.whl

Download URL py_simba_pop_tools-0.1.0-cp312-cp312-musllinux_1_2_x86_64.whl
Size 5.5 MB
Tags CPython 3.12 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
28dd950fb7a73b088174bb4e956df74414276bc7e5ac4e3e5771d189c4d9f488
BLAKE2b-256 checksum
How to use checksums
646907e7dd52036c72742656245d1411bafa9a3bc32b4f259ced862e3fcdbb29
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Release files / py_simba_pop_tools-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl

Download URL py_simba_pop_tools-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Size 5.4 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
a6490f7ffb6dadf82b9eb65a5d002365bfeb8393dfc86d0233ed9a226cd5ac3c
BLAKE2b-256 checksum
How to use checksums
58221a6f38124e1ffb1ed4e6ea717581de55971feb6e85ff793befd24b036b35
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Release files / py_simba_pop_tools-0.1.0-cp312-cp312-macosx_10_13_universal2.whl

Download URL py_simba_pop_tools-0.1.0-cp312-cp312-macosx_10_13_universal2.whl
Size 1.6 MB
Tags CPython 3.12 macOS 10.13+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
4eedd46f225299cb0f51725599d8365c991cb789f3c66eac1029c040be765e76
BLAKE2b-256 checksum
How to use checksums
02ed1732ce65cb664f60c25323ca53d3af7f094fac1604ed461b4a93bddfdd71
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Release files / py_simba_pop_tools-0.1.0-cp311-cp311-win_amd64.whl

Download URL py_simba_pop_tools-0.1.0-cp311-cp311-win_amd64.whl
Size 719.6 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
ef6f956553d3e5157d98d3ab0e7d5e7a9bddab873135100b9db17182ad9b772d
BLAKE2b-256 checksum
How to use checksums
e00e8bc6cf60ecbd9e397339444d6325afbf95bd4629b141b216ae72cf07b53a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Release files / py_simba_pop_tools-0.1.0-cp311-cp311-musllinux_1_2_x86_64.whl

Download URL py_simba_pop_tools-0.1.0-cp311-cp311-musllinux_1_2_x86_64.whl
Size 5.6 MB
Tags CPython 3.11 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
32685ceac6f1ef609cb2bf8f3bf5fa9685b9613bdfb840ad6d1a7d9cd4dc6761
BLAKE2b-256 checksum
How to use checksums
54fd4d753c0b293d051b6fb0c2075699be2e4cc601f1652bf327e3156f6c12e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Release files / py_simba_pop_tools-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl

Download URL py_simba_pop_tools-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Size 5.5 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
7966c27972480eeaa3b22dbfeb5ba69f505eb701d84c918d324e0c44c74b481c
BLAKE2b-256 checksum
How to use checksums
9aa8778da31e383e7b452c865a5eb2f9267c9d6867f4cff115bc9a2712b6e928
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Release files / py_simba_pop_tools-0.1.0-cp311-cp311-macosx_10_9_universal2.whl

Download URL py_simba_pop_tools-0.1.0-cp311-cp311-macosx_10_9_universal2.whl
Size 1.6 MB
Tags CPython 3.11 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
0ffc90f50cd9c1272c3e62f9a73b71879b43cea3792a380b9f806aea494cd00b
BLAKE2b-256 checksum
How to use checksums
8b960550969fa1f863da148a1acf1ecfab69c522a9402fec1e274185ca9a1eea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Security for py-simba-pop-tools 0.1.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.

Full provenance

All 12 files in this release have been uploaded with provenance metadata.

Select from 12 files

Attestation for py_simba_pop_tools-0.1.0-cp313-cp313-win_amd64.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

12 release files Full 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