pub fn valid_requirement(s: &str) -> bool
A package requirement the model may ask for: a name with optional extras and version constraints (pandas, scikit-learn>=1.4, xarray[io]). No URLs, paths or options.
pandas
scikit-learn>=1.4
xarray[io]