Metadata-Version: 2.4
Name: ceresgeo
Version: 0.1.0
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Science/Research
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Rust
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Scientific/Engineering :: GIS
Classifier: Typing :: Typed
Requires-Dist: numpy>=1.26
Requires-Dist: tqdm>=4.66
Requires-Dist: pyvista>=0.45 ; extra == '3d'
Requires-Dist: matplotlib>=3.8 ; extra == 'all'
Requires-Dist: pandas>=2.2 ; extra == 'all'
Requires-Dist: polars>=1.4 ; extra == 'all'
Requires-Dist: pyarrow>=16 ; extra == 'all'
Requires-Dist: pyvista>=0.45 ; extra == 'all'
Requires-Dist: matplotlib>=3.8 ; extra == 'plot'
Provides-Extra: 3d
Provides-Extra: all
Provides-Extra: plot
License-File: LICENSE
Summary: My Python tooling for day-to-day geostatistics
Keywords: geostatistics,kriging,variogram,simulation,mining,geology
Author: Gustavo Pretto Scholze
License-Expression: MIT
Requires-Python: >=3.11
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Documentation, https://gstvschlz.github.io/ceres/
Project-URL: Homepage, https://github.com/gstvschlz/ceres
Project-URL: Issues, https://github.com/gstvschlz/ceres/issues
Project-URL: Repository, https://github.com/gstvschlz/ceres

<p align="center">
  <picture>
    <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/gstvschlz/ceres/main/docs/assets/logo-dark.svg">
    <img src="https://raw.githubusercontent.com/gstvschlz/ceres/main/docs/assets/logo.svg" alt="ceres" width="120">
  </picture>
</p>

<h1 align="center">ceres</h1>

<p align="center">
  My Python tooling for day-to-day geostatistics.<br>
  <a href="https://gstvschlz.github.io/ceres/">Documentation</a> ·
  <a href="https://gstvschlz.github.io/ceres/examples/01-first-steps/">Examples</a> ·
  <a href="https://gstvschlz.github.io/ceres/api/containers/">API</a>
</p>

ceres holds the tools I use for resource work: drill hole checks, statistics, transforms, variograms, kriging, simulation and model checks. It runs from Python; the numerical core is Rust.

## Install

```sh
pip install "ceresgeo[all]"
```

Published on PyPI as `ceresgeo`, imported as `ceres`. Wheels for Linux, macOS and Windows, Python ≥ 3.11.
Extras: `plot` (matplotlib), `3d` (pyvista), `all` (also polars, pandas, pyarrow).
See the [install page](https://gstvschlz.github.io/ceres/install/) for uv, poetry, conda, pixi and offline installs.

## Examples

- [First steps](https://github.com/gstvschlz/ceres/blob/main/examples/README.md#first-steps): a quick tour, storing containers in Parquet
- [Data and geometry](https://github.com/gstvschlz/ceres/blob/main/examples/README.md#data-and-geometry): drill holes, composites, block models, solids, meshes, GIS files
- [Exploratory analysis](https://github.com/gstvschlz/ceres/blob/main/examples/README.md#exploratory-analysis): declustering, top cuts, contacts, swaths, data spacing
- [Transforms](https://github.com/gstvschlz/ceres/blob/main/examples/README.md#transforms): normal scores, log-ratios, multivariate factors, imputation
- [Spatial continuity](https://github.com/gstvschlz/ceres/blob/main/examples/README.md#spatial-continuity): experimental variograms, fitting, coregionalization
- [Kriging](https://github.com/gstvschlz/ceres/blob/main/examples/README.md#kriging): point and block kriging, cokriging, indicators, search
- [Categories and domains](https://github.com/gstvschlz/ceres/blob/main/examples/README.md#categories-and-domains): rock-type proportions, probabilities, SIS, plurigaussian
- [Stochastic simulation](https://github.com/gstvschlz/ceres/blob/main/examples/README.md#stochastic-simulation): SGS, turning bands, cosimulation
- [Recoverable resources](https://github.com/gstvschlz/ceres/blob/main/examples/README.md#recoverable-resources): tonnes and grade above cutoff on mining blocks
- [Checking models](https://github.com/gstvschlz/ceres/blob/main/examples/README.md#checking-models): cross-validation, realization checks, classification
- [Geological modeling](https://github.com/gstvschlz/ceres/blob/main/examples/README.md#geological-modeling): grade shells, contact surfaces, layered horizons
- [Case studies](https://github.com/gstvschlz/ceres/blob/main/examples/README.md#case-studies): four deposits, from raw tables to a result

## License

MIT

