dssatlab
dssatlab is intentionally starting small.
Version 0.1 has one job: make a DSSAT-CSM executable easy to locate, install, and reuse from Python on Windows, Linux, Jupyter, and Google Colab.
It is not yet a DSSAT experiment editor, FileX parser, plotting package, calibration system, or replacement for DSSATTools.
Intended API
import dssatlab as dl
dssat = dl.connect()
print(dssat)
Advanced/non-interactive use:
dssat = dl.connect(executable="/opt/dssat/bin/dscsm048", interactive=False)
Inspection without side effects:
info = dl.detect()
print(info)
Linux/Colab managed installation:
dssat = dl.install() # latest stable DSSAT release
# or
dssat = dl.install("4.8.6.0")
v0.1 behavior
Windows
- Use an explicit
executable=orpath=if supplied. - Reuse saved configuration if valid.
- Check
DSSAT_HOMEif set. - Check the usual
C:\\DSSAT48installation. - If still missing and interactive, ask the user for the DSSAT folder/executable.
- Save a successful choice for future calls.
Windows v0.1 should not compile DSSAT automatically.
Linux
- Use an explicit executable/path if supplied.
- Reuse saved configuration if valid.
- Check
DSSAT_HOMEandPATH. - Reuse a previous dssatlab-managed build if present.
- If missing and interactive, offer to install the latest stable DSSAT release.
- Build with Git + CMake + a Fortran compiler and cache the resulting installation.
Google Colab
Colab is treated as Linux plus a detected notebook environment. On a fresh runtime, connect() may offer to install DSSAT automatically. The installation should be cached for the current runtime and must not be rebuilt repeatedly within the same runtime.
Upstream DSSAT
Official source repository: https://github.com/DSSAT/dssat-csm-os
The upstream project uses CMake, recommends out-of-source builds, and places the compiled executable under the build bin/ directory. This package should use the latest stable release by default, not the upstream development branch.
Scope rule
If a proposed feature is not directly necessary to detect, install, validate, remember, or connect to DSSAT, it does not belong in v0.1.
Metadata
Release files for dssatlab 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dssatlab-0.1.1.tar.gz | 14.6 kB | With provenance | Details for dssatlab-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dssatlab-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for dssatlab-0.1.1-py3-none-any.whl |
Total release size: 24.6 kB
Release files / dssatlab-0.1.1.tar.gz
| Download URL | dssatlab-0.1.1.tar.gz |
|---|---|
| Size | 14.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
df3232e051f01de2c5015b0ef99e638c301d513a8a50a58d426c473ea2422e39
|
|
BLAKE2b-256 checksum How to use checksums |
f9b84bd4b3e6343a05abe38889afb0fdd02104877d98cba845f96716d0e12030
|
| 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 Sep 28, 2026.
Transparency logRelease files / dssatlab-0.1.1-py3-none-any.whl
| Download URL | dssatlab-0.1.1-py3-none-any.whl |
|---|---|
| Size | 9.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2ded66e2c5e23b021d88438670413dbc89bd8c941ed439544ba18bd16bb5c497
|
|
BLAKE2b-256 checksum How to use checksums |
8e39b0773f85599561c968409684728f2548a23ee8db58f4e2d864c4cbdb574e
|
| 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 Sep 28, 2026.
Transparency logSecurity for dssatlab 0.1.1
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
Both files in this release have been uploaded with provenance metadata.
Attestation for dssatlab-0.1.1.tar.gz
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 Sep 28, 2026.
Transparency logA 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.