semvec/pypi-packages huggingface dataset:
bencheval 1.3.3
Tools for measuring sensitivity and diversity of multi-task benchmarks.
License: MIT
Requires Python: >=3.7

<p align="center">
<img src="https://raw.githubusercontent.com/socialfoundations/bencheval/main/assets/logo.jpg" height="400" width="600">
</p>

**BenchEval** is a Python package that provides a suite of tools to evaluate multi-task benchmarks focusing on
diversity and sensitivity against irrelevant variations, such as label noise injection and the addition of irrelevant
candidate models. This package facilitates comprehensive analysis of multi-task benchmarks through a social choice lens,
exposing the fundamental trade-off between diversity and stability in both cardinal and ordinal benchmarks.

For more information, including the motivations behind the measures and our empirical findings, please
see [our paper](https://github.com/socialfoundations/bencheval).

## Quick Start

To install the package, simply run:

```bash
pip install bencheval
```

## Example Usage

To evaluate a cardinal benchmark, you can use the following code:

```python
from bencheval.data import load_cardinal_benchmark
from bencheval.measures.cardinal import get_diversity, get_sensitivity

data, cols = load_cardinal_benchmark('GLUE')
diversity = get_diversity(data, cols)
sensitivity = get_sensitivity(data, cols)
```

To evaluate an ordinal benchmark, you can use the following code:

```python
from bencheval.data import load_ordinal_benchmark
from bencheval.measures.ordinal import get_diversity, get_sensitivity

data, cols = load_ordinal_benchmark('HELM-accuracy')
diversity = get_diversity(data, cols)
sensitivity = get_sensitivity(data, cols)
```

To use your own benchmark, you just need to provide a pandas DataFrame a list of columns indicating the tasks.
Check the [documentation](https://socialfoundations.github.io/bencheval) for more details.

## Reproduce the Paper

<p align="center">
<img src="https://raw.githubusercontent.com/socialfoundations/bencheval/main/assets/banner.png" height="400" width="600">
</p>

Please check out [cardinal.ipynb](https://githubtocolab.com/socialfoundations/bencheval/blob/main/examples/cardinal.ipynb), [ordinal.ipynb](https://githubtocolab.com/socialfoundations/bencheval/blob/main/examples/ordinal.ipynb) and [banner.ipynb](https://githubtocolab.com/socialfoundations/bencheval/blob/main/examples/banner.ipynb)
for
reproducing our results.
compteur 1.1
Count how many time errors occur
License: MIT
Keywords: Compteur, error, count, track

# Compteur

I use Python scripts in crontab. Sometimes, a script crashes, and I receive an email with the error.  
But it can be a random crash and I do not need to know it, as it will not crash next time the script is launched.

Goal of this package is to track how many times an error occurs. I can define a limit of # errors before warning me.

## Exemple

```python
#!/usr/bin/env python3
from compteur import Compteur

cpt = Compteur('smartname')

try:
    # My wonderful script
except:
    cpt.inc()
    if cpt.isLimit():
        raise
else:
    cpt.reset()
finally:
    # do something
```
dcdljeu 2.0.0
Un solveur du jeu Compte Est Bon et Mot Le Plus Long issu de Des Chiffres et Des Lettres
License: MIT
Requires Python: <4.0,>=3.12

Un solveur du jeu Compte Est Bon et Mot Le Plus Long issu de Des Chiffres et Des Lettres.

Pour l'installer, exécutez simplement `pip install dcdljeu` sur le terminal

## Le Compte Est Bon

Le Compte Est Bon consiste à l'aide d'un tirage de nombres, d'essayer de reconstituer un nombre à chercher à l'aide d'opérations.

Pour utiliser le compte est bon, j'ai fait une fonction demo où vous n'aurez qu'à entrer le tirage de nombres et le nombre à rechercher (vous pouvez laisser vide pour le laisser générer un tirage):

```python

from dcdljeu import ceb
ceb.demo()
```

La fonction `ceb.generer()` permet de générer un tirage de nombres.

La fonction `ceb.solve` permet de résoudre le tirage, en affichant la progression, par example

```python

ceb.solve([9, 8, 25, 100, 5, 4],254)
```

retourne les solutions et les nombres trouvées.

## Le Mot le plus long

Cela consiste à trouver Le Mot Le Plus Long à partir de 10 lettres.

```python

from dcdljeu import mlpl
mlpl.demo()
```

## Projets sur scratch

Jetez aussi un coup d'oeil à mes projets scratch 

* jouer au [compte est bon](https://scratch.mit.edu/projects/529613029/)
* [au mot le plus long](https://scratch.mit.edu/projects/537035213/)
meldrx-fhir-client 0.0.8
A simple FHIR client for MeldRX.
License: MIT

# meldrx-client-py
MeldRx Python Client

## Setup/Installation
- Create `config.py` (use `config.example.py` as an example)

## Unit Tests
`python3 -m unittest`

## Publish (on test registry)
1. Update version in `setup.py`
2. `python3 setup.py sdist bdist_wheel`
3. `twine upload --repository testpypi dist/*`

## Publish (on main registry)
1. Update version in `setup.py`
2. `python3 setup.py sdist bdist_wheel`
3. `twine upload dist/*`