semvec/pypi-packages huggingface dataset:
ukrdc-stats 2.13.2
A package to produce stats from the ukrdc database to be displayed on the dashboard
License: MIT
Requires Python: <4.0,>=3.12

# Dashboard Statistics Library

Library for generating statistics for the UKRDC dashboard

## Installation

`pip install ukrdc-stats`

## Basic usage

Statistics calculations require an SQLAlchemy session with a connection to the UKRDC3 database.
In this example, we use `ukrdc3_session`, and calculate for the unit code "TEST_UNIT".

```python
from ukrdc_stats import DemographicStatsCalculator

demographics = DemographicStatsCalculator(ukrdc3, "TEST_UNIT").extract_stats()
```

Each calculator returns multiple stats from the same cohort, and each of those includes basic metadata required for rendering and plotting the data.
oddments 0.6.0
Collection of general-purpose utilities.
License: MIT
Requires Python: <4.0,>=3.8

# oddments

<div>

[![Package version](https://img.shields.io/pypi/v/oddments?color=%2334D058&label=pypi)](https://pypi.org/project/oddments/)
[![License](https://img.shields.io/github/license/zteinck/oddments)](https://github.com/zteinck/oddments/blob/master/LICENSE)

</div>

`oddments` is a Python package that offers a collection of general-purpose utilities.

## Installation
```sh
pip install oddments
```