semvec/pypi-packages huggingface dataset:
pygeostat 1.2.0
Python interface for geostatistics
License: MIT
Requires Python: >=3.10
Keywords: geostatistics

# Pygeostat

<picture align="center">
  <source media="(prefers-color-scheme: dark)" srcset="http://www.ccgalberta.com/pygeostat/_images/pygeostat_logo.png">
  <img alt="Pygeostat Logo" src="http://www.ccgalberta.com/pygeostat/_images/pygeostat_logo.png">
</picture> 

[![PyPI](https://badge.fury.io/py/pygeostat.svg)](https://badge.fury.io/py/pygeostat)
[![Python](https://img.shields.io/pypi/pyversions/pygeostat.svg)](https://pypi.org/project/pygeostat/)
[![CI](https://github.com/CcgAlberta/pygeostat/workflows/IntegrationCheck/badge.svg?branch=master)](https://github.com/CcgAlberta/pygeostat)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

:warning: This package has been updated. Expect breaking changes when migrating
from last stable [version](https://github.com/CcgAlberta/pygeostat/releases/tag/v1.1.1)

## Installation

### Quick Install

```bash
pip install pygeostat
```

### Requirements
- Python 3.10 or higher

### Verify Installation

```{python}
import pygeostat as gs
print(f"Pygeostat version: {gs.__version__}")
print("Basic import successful!")
```

# Test with example data

```{python}
# Load example data (this tests data loading functionality)
data = gs.ExampleData('oilsands')
print(f"Data loaded: {data.shape}")
print(f"Columns: {list(data.columns)}")
print(f"First few rows:\n{data.head()}")
```

## Introduction

This is a Python package for geostatistical modeling. Pygeostat is aimed at preparing spatial data, scripting geostatistical workflows, modeling using tools developed at the Centre for Computational Geostatistics ([CCG](http://www.ccgalberta.com)), and constructing visualizations to study spatial data, and geostatistical models. More information about installing and using pygeostat can be found in the [documentation](http://www.ccgalberta.com/pygeostat/welcome.html).

For lessons on geostatistics visit [Geostatistics Lessons](http://geostatisticslessons.com/).

For a full featured commercial alternative to pygeostat, see [RMSP](https://resourcemodelingsolutions.com/rmsp/) from [Resource Modeling Solutions](https://resourcemodelingsolutions.com).

<a href="https://resourcemodelingsolutions.com/">
<picture>
  <source media="(prefers-color-scheme: dark)" srcset="https://resourcemodelingsolutions.com/static/93cbdd9bde3a60780e21d4ae1c501d18/127cf/Resource-Modeling-Solutions-Home-Page-Logo-KO.webp" width="500px">
  <img alt="Adpative by theme." src="https://resourcemodelingsolutions.com/static/ec83077e0259aa9925747a9199614def/127cf/Resource-Modeling-Solutions-Home-Page-Logo-RGB.webp" width="500px">
</picture>
</a>

Contact [Resource Modeling Solutions](https://resourcemodelingsolutions.com/contact/) about a commercial or academic license.

## Changelog

See [CHANGELOG.md](CHANGELOG.md) for detailed release notes.

# Contact:
Refer to [www.ccgalberta.com](http://www.ccgalberta.com).
richstyle 1.0
A Python library for creating and applying full-color, linear, and circular gradients to text with easy color management. Includes utilities for ANSI styling, colored prints, and more.
License: MIT
Requires Python: >=3.6
Keywords: python, color, colors, easy, cmd, app, manage, text, colour, ansi, terminal, gradient, gradients, bold, italic, underscore, command, commands

# styler

A Python library for creating and applying full-color, linear, and circular gradients to text with easy color management. Includes utilities for ANSI styling, colored prints, and more.

## Features

- **Text Styling:** Bold, italic, underline, strikethrough, bullet lists, and more.
- **Color Management:** Use named presets, custom RGB, gradients, and HSL/HTML color parsing.
- **Gradients:** Linear and circular gradients for text.
- **ANSI Support:** Automatically detects terminal support for ANSI escape codes.
- **Utility Prints:** Info, warning, error, success, timed, and mutable prints with color.
- **Composable:** Combine styles and colors easily.

## Installation

```sh
pip install .
```

or with [Poetry](https://python-poetry.org):
```sh
poetry install
```

## Usage

Basic Styling

```py
from styler import bold, italic, underline, strikethrough

print(bold("Bold text"))
print(italic("Italic text"))
print(underline("Underlined text"))
print(strikethrough("Strikethrough text"))
```

Bullet Lists

```py
from styler import bullet_list, bold
tasks = [
    "Complete report",
    "Send email to client",
    "Buy groceries"
]

print(bold("Task List:"))
print(bullet_list(*tasks))
```

Colors and Gradients

```py
from styler import presets, foreground, background

print(foreground(presets.red, "Red text"))
print(background(presets.blue, "Text with blue background"))
```

Colors and Gradients

```py
from styler import presets, foreground, background

print(foreground(presets.red, "Red text"))
print(background(presets.blue, "Text with blue background"))
```

Rainbow Text

```py
from styler import rainbow_text
print(rainbow_text("This is a rainbow text message."))
```

Utility Prints

```py
from styler import info, success, warn, error, timed_print

info("This is an informational message.")
success("This is a success message.")
warn("This is a warning message.")
error("This is an error message.")
timed_print("This is a timed print message.")
```

Mutable Print
```py
from styler import mutable_print
from time import sleep

mutable = mutable_print("Loading")
sleep(1)
mutable("Still loading...")
sleep(1)
mutable("Done!\n")
```

> [!WARNING]  
> You can only use a mutable print when it's the last print.

## Examples

See the `examples/` directory for more usage examples.

## Credits

- **Author:** [PcoiDev](https://github.com/PcoiDev)
- **Inspiration:** [colorama](https://github.com/tartley/colorama), [rich](https://github.com/Textualize/rich) and [stylepy](https://github.com/web-slate/stylepy).

## License

This project is licensed under the `MIT License`.