semvec/pypi-packages huggingface dataset:
brioche-enrichment 0.1.2a0
Bayesian tests for set enrichment.
License: MIT
Requires Python: >=3.8,<3.12

<p align="center">
  <img width="602" height="200" src="https://github.com/dpohanlon/brioche/blob/main/assets/brioche.png">
  <br>
  Bayesian tests for set enrichment.
</p>

![Tests!](https://github.com/dpohanlon/brioche/actions/workflows/python-package.yml/badge.svg)

Installation
---
Install from PyPI
```bash
pip install brioche-enrichment
```

or install from the Github repository
```bash
git clone git@github.com:dpohanlon/brioche.git
pip install -r requirements.txt .
```

Usage
---
Prepare some data in a contingency table format, with row and column set annotations
```python
row_names = ["a", "b", "c", ...]
col_names = ["l", "m", "n", ...]

data = np.array([[30, 27, 10, ...], [28, 25, 11, ...], [31, 29, 15, ...], ...])
```

<p align="center">
  <img width="388" height="450" src="https://github.com/dpohanlon/brioche/blob/main/assets/data.png">
</p>

Import Brioche and create the multi-set enrichment object
```python
from brioche.multisetEnrichment import MultisetEnrichment

enrichment = MultisetEnrichment(data, col_names, row_names, likelihood_type="sum")
```
Optionally, specify whether there are total-sum constraints on the rows or columns
```python
enrichment = MultisetEnrichment(data, row_names, col_names, row_constraint = True,
								col_constraint = False, likelihood_type="sum")
```

`likelihood_type` determines the form of the likelihood model for each cell, and also therefore what the 'null' model is. Both assume that each cell is a combination of a row and a column term, and a term that describes the deviation of the cell from the row and column terms:

$$n_{ij} = r_i + c_j + d_{ij}$$

When `likelihood_type = 'sum'`, these are combined with a sum (the default), and when `likelihood_type = 'prod'` these are multiplied.

Run the Markov-chain Monte Carlo inference on the enrichment model, retrieve samples from the posterior, and return a Pandas DataFrame of enrichment z scores
```python
samples = enrichment.runMCMC(num_samples=10000)

results = enrichment.getSummary(samples)
```

Plot model parameters and enrichment posterior probability distributions
```python
from brioche.plot import plotDeviations

plotDeviations(samples, threshold=2, x_labels=col_names, y_labels=row_names, name="test-")
```

<p align="center">
  <img width="800" height="450" src="https://github.com/dpohanlon/brioche/blob/main/assets/deviations.png">
</p>
bali-cli 2.7.0
Simplify gRPC services and clients
License: MIT

<p align="center">
  <img src="https://raw.githubusercontent.com/bali-framework/bali/master/docs/img/bali.png" alt='bali framework' />
</p>

<p align="center">
    <b>bali-cli</b> is 
    CLI tools to simplify gRPC services and clients
</p>

# bali-cli

<img src="https://img.shields.io/pypi/v/bali-cli" />

CLI tools to simplify gRPC services and clients


## Cli commands 

### `bali add`
> Add service to clients folder, syntax is **bali add {service}**
```bash
# Example: added a service named `user`
bali add user
```

### `bali build`
> Build current development service protobuf 
>
> Legacy protobuf path: <b>/services/rpc/*.proto</b>
> New protobuf path: <b>*/protos/*.proto*</b>
```bash
# Example: build in a service root directory
bali build
```

### `bali run`
> New in `2.5.0`
> 
> Start Bali App service, include `http`/`rpc`/`event`
```bash
# Example: start http
bali run http
# Example: start rpc
bali run rpc
# Example: start event
bali run event
```

### `bali shell`
> New in `2.5.0`
> 
```bash
# Enter Bali App shell
bali shell
```

## Related Projects

[![bali](https://github-readme-stats.vercel.app/api/pin/?username=bali-framework&repo=bali)](https://github.com/bali-framework/bali)


## CONTRIBUTE

**Developer Environment**

```bash
make init
``` 

```examples
# setup examples environments
git submodule update --init --recursive

# execute bali commands 
# cd examples/gateway_service && bali add greeter
```


**Tag a new release**

tag a version:

```bash
git tag -a v0.1.0
```

push tags to remote:

```bash
git push --tags
```

**Get a test report**
```bash
make test
```
dahu12 0.0.0.0.2.2
Package de calcul formel (pour l'instant ;=) )
License: MIT
Requires Python: >=3.7,<4.0

# DAHU.py (En cours de développement)
## _Package scientifique python_
***
## Auteurs : 
- LOUVAT SEGURA Anthony
- CHEMINOT Virgile

## Remerciements
Nous souhaitons dans un premier temps remercier tous particulièrement notre professeur de mathématiques : Bernard Parisse, sans qui le projet ne serait pas là où il en est actuellement (faites un tour sur sa page personnel de l'université joseph fourrier).
Il a nous permis d'utiliser sa création : le CAS Giac, sur laquelle est basé toute la gestion d'expression algébrique du package.

DAHU est une librairie python destiné aux étudiants et scientifiques, qui contient beaucoup de fonction leurs étant utile.

Installation provisoire : https://pypi.org/project/DAHU12/