Metadata-Version: 2.4
Name: minimindslab-record-integer-summary
Version: 0.1.0
Summary: Summarize one named integer field across {records:[objects]} with count, sum, min, max, and optional missing/non-integer counts.
Author: MiniMindsLab
License: MIT
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# MiniMindsLab Record Integer Summary

`minimindslab-record-integer-summary` is a tiny, offline utility library for summarizing one named integer field across a list of records.

## Features

- Computes deterministic integer statistics for a selected field:
  - `count`
  - `sum`
  - `min`
  - `max`
- Treats absent, `null` (`None`), and empty-string values as missing.
- Ignores booleans and non-integer values for numeric statistics.
- Optionally reports `missing_count` and `non_integer_count`.
- Stable output for empty record lists.

## Installation

This package is standard-library-only and supports Python 3.11+.

## Usage

```python
from minimindslab_record_integer_summary import summarize_integer_field

records = [
    {"value": 10},
    {"value": 5},
    {"value": None},
    {"value": "7"},
    {"other": 9},
    {"value": True},
]

result = summarize_integer_field(records, "value", include_skipped_counts=True)
print(result)
# {
#   'count': 2,
#   'sum': 15,
#   'min': 5,
#   'max': 10,
#   'missing_count': 2,
#   'non_integer_count': 2
# }
```
