{"id":23828,"library":"gstools-cython","title":"GSTools Cython backend","description":"Provides the Cython-accelerated backend for GSTools, the geostatistical toolbox. Version 1.2.0 is the latest stable release. This package is not intended to be installed standalone; it is automatically included as a dependency of gstools. Release cadence is low, with major versions aligned to GSTools releases.","status":"active","version":"1.2.0","language":"python","source_language":"en","source_url":"https://github.com/GeoStat-Framework/GSTools-Cython","tags":["geostatistics","cython","backend","gstools"],"install":[{"cmd":"pip install gstools","lang":"bash","label":"Recommended installation via gstools"},{"cmd":"pip install gstools-cython","lang":"bash","label":"Standalone installation (not recommended)"}],"dependencies":[],"imports":[{"note":"Library name contains a hyphen; pip install uses hyphen, but import uses hyphen if module name allows? Actually filenames use underscore? Check: import gstools_cython works? Known issue: import fails due to hyphen.","wrong":"import gstools_cython","symbol":"gstools-cython","correct":"import gstools-cython"}],"quickstart":{"code":"import gstools as gs\n# example usage of GSTools which automatically uses gstools-cython backend\nmodel = gs.Gaussian(dim=2, var=1.0, len_scale=10.0)\nsrf = gs.SRF(model, seed=20170519)\nfield = srf((100, 100))\nprint(field.shape)","lang":"python","description":"GSTools-Cython is automatically used when importing gstools. No explicit import of gstools-cython is needed."},"warnings":[{"fix":"Install gstools: pip install gstools","message":"Do not install gstools-cython standalone. It is meant to be installed as a dependency of gstools. Standalone installation may cause version conflicts.","severity":"gotcha","affected_versions":"all"},{"fix":"Do not import gstools-cython directly; import gstools instead.","message":"Importing gstools_cython directly (with underscore) fails because the package name uses a hyphen and the module name inside is not exposed.","severity":"gotcha","affected_versions":"all"},{"fix":"Upgrade Python to 3.10 or later.","message":"Requires Python >=3.10. Older Python versions are not supported.","severity":"breaking","affected_versions":">=1.0.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Import gstools instead: import gstools","cause":"Trying to import the Cython backend directly using underscore.","error":"ModuleNotFoundError: No module named 'gstools_cython'"},{"fix":"Do not import this package. Install gstools and use import gstools.","cause":"Trying to import with import gstools-cython (invalid syntax).","error":"Error: gstools-cython is not a Python package"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}