Skip to main content

GeoNormML

Research utilities for petrographically informed machine learning with whole-rock geochemistry. GeoNormML provides data validation, feature preparation, grouped evaluation and model-export helpers. GeoNormPy 1.1.0 is installed as an exact, separate dependency for normative CIPW calculations.

Scope

This package distributes source code. It does not include a training dataset, pretrained classifier, application installer or private model weights. Installing it does not train a model or download those resources. PetroPyQAPF's operational v5 adoption is a separate application integration.

Installation:

python -m pip install geonormml==0.1.0

Python 3.10 or newer is declared; the validated scientific environment uses Python 3.11. See the repository constraints file for that development environment.

Inspect package and model-contract metadata

import geonormml
from geonormml.catalog import generation_catalog

print(geonormml.__version__)
contract = generation_catalog(include_operational=True)
print(contract["operational_adoption"]["generation_id"])

This example reads metadata only. Historical export identities remain unchanged. For source-only research scripts, use the source distribution or repository and explicitly provide authorized input data and new output paths.

Installed command and prediction API

The wheel installs the geonormml command. Its portable defaults use user-owned storage; data and artifacts never default to the Python installation directory.

geonormml paths
geonormml example --output "/my/work/new synthetic example"
geonormml inspect "/my/work/new synthetic example/manifest.json"
geonormml predict --model "/my/work/new synthetic example/manifest.json" --input "/my/work/new synthetic example/input.csv" --output "/my/work/predictions.csv" --id-column Sample_ID --trust-model

The example generates invented chemistry and a DummyClassifier with arbitrary labels, not a geologically validated model. Existing outputs are preserved. For your own model, provide an explicit manifest recording its feature order, classes, domain, training-library versions and input contract. Inspection reads metadata and hashes without deserializing model objects. Loading joblib requires an explicitly trusted source.

import pandas as pd
from geonormml import load_model, predict
model = load_model("/my/work/new synthetic example/manifest.json", trusted=True)
samples = pd.read_csv("/my/work/new synthetic example/input.csv", dtype={"Sample_ID": str})
results = predict(samples, model, id_column="Sample_ID")

Raw chemistry uses a declared, checked normative contract; historical models can consume prepared features without silently changing their CIPW profile. Every input row is retained, with explicit rejections and missing predictions where appropriate. No dataset or scientific model is selected automatically.

See the application guide for path configuration, metadata registration, supported chemistry and output fields.

Scientific limits

A CIPW norm is not measured modal mineralogy. Internal grouped validation does not establish external accuracy or geographic transfer. Model probabilities do not have externally demonstrated calibration. Plutonic predictions have important class-level limitations and remain supporting information.

GPL-3.0-or-later. Author: Jordan Zavaleta.

Metadata

Release files for geonormml 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for geonormml 0.1.0
File Size Uploaded Provenance Actions
geonormml-0.1.0.tar.gz 242.1 kB With provenance Details for geonormml-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for geonormml 0.1.0
File Interpreter ABI Platform Actions
geonormml-0.1.0-py3-none-any.whl Python 3 none any Details for geonormml-0.1.0-py3-none-any.whl

Total release size: 294.1 kB

Release files / geonormml-0.1.0.tar.gz

Download URL geonormml-0.1.0.tar.gz
Size 242.1 kB
Tags Source
SHA-256 checksum
How to use checksums
78daabb9b39767b2c416fd85b29e6cec00ec40f57a21a9818b5d794222ec5c05
BLAKE2b-256 checksum
How to use checksums
352369852702d753cc9dbba9e9540b6ba0bd761605842457cf8a8f2cc385a060
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.

Transparency log

Release files / geonormml-0.1.0-py3-none-any.whl

Download URL geonormml-0.1.0-py3-none-any.whl
Size 52.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3545facbf4c497bfd95dd420d61b16069657d56e3399dbc29ec3c746b737c5b4
BLAKE2b-256 checksum
How to use checksums
ddf99bf803e5974c86dacfea623233f3c76c4468bcc6d5b7fb90cddbfcac89d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.

Transparency log

Security for geonormml 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for geonormml-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page