Metadata-Version: 2.4
Name: minecore
Version: 0.1.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Rust
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX :: Linux
Requires-Dist: numpy>=2.1
Requires-Dist: pyarrow>=21
Requires-Dist: pyproj>=3.7
Requires-Dist: pyside6-essentials>=6.9
Requires-Dist: pyvista>=0.46
Requires-Dist: pyvistaqt>=0.11
Requires-Dist: matplotlib>=3.9
Requires-Dist: openpyxl>=3.1
Requires-Dist: scipy>=1.14
License-File: LICENSE
Summary: MineCore mining engineering platform
License-Expression: MIT
Requires-Python: >=3.12
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Homepage, https://github.com/dersders0120-rgb/minecore
Project-URL: Issues, https://github.com/dersders0120-rgb/minecore/issues
Project-URL: Source, https://github.com/dersders0120-rgb/minecore

# MineCore

MineCore is an integrated, desktop-first mining engineering platform: drillhole
data, geological modelling, geostatistics, block modelling, resource evaluation,
open-pit and underground design, and scheduling, built on one shared project
model, unit system and geometry kernel.

Open source under the [MIT License](LICENSE). Contributions are welcome.

## Install

```sh
pip install minecore        # Python 3.12+, Windows x64 or Linux x86_64
minecore info               # check the install
minecore-gui                # start the desktop application
```

## Layout

| Path | Contents |
| --- | --- |
| `crates/mc-core` | Rust core engine: contracts, geometry, numerics. No GUI, no Python. |
| `crates/mc-py` | PyO3 bindings, built as `minecore._core`. |
| `python/minecore` | Python application layer, CLI, scripting API. |
| `tests/python` | Python tests (pytest + hypothesis). |
| `tools` | Development tooling, including `verify_submission.py`. |
| `docs` | Architecture, roadmap, ADRs, task briefs, session handoff. |

## Development

Requirements: Rust (pinned in `rust-toolchain.toml`) and [uv](https://docs.astral.sh/uv/).

```sh
uv sync                      # create .venv and build the native extension
uv run minecore info         # check the Rust-Python bridge
uv run pytest                # Python tests
cargo test --workspace       # Rust tests
```

Quality gates (all must pass before merge):

```sh
uv run ruff check . && uv run ruff format --check . && uv run mypy
cargo fmt --all --check && cargo clippy --workspace --all-targets -- -D warnings
cargo test --workspace && uv run pytest
```

Read `CLAUDE.md` before contributing; it holds the rules every human and AI
contributor follows.

