semvec/pypi-packages huggingface dataset:
fadids 0.32
Personal
Requires Python: >=3.8

# Fast Anomalies Detection in Data Stream - FADIDS

Library including some anomaly detection models 
- MeanDeviationAD
- SpectralResidualAD
- HSTreesAD
- RrcfAD
- IforestASD

Tools : 
- Stream simulator

## Installation
```
pip install bash
```
shuffle-email-rules 0.8
An open-source language for email filtering rules.

# Introduction

Email rules for everyone

## Installation

```bash
pip install shuffle-email-rules
```


## Usage

```python
from shuffle_email_rules.evaluate import evaluate_email_expression
email_json = '{"sender": "test@example.com"}'
expression = 'email.sender.endsWith("@example.com")'
result = evaluate_email_expression(email_json, expression)
print(result)
```

## To-do

Attach all binary .so files to the package to be uploaded to PyPI. Right now, only works on ARM"
load-balancer 0.1.1
Simple FastAPI load balancer
Requires Python: >=3.10

# Load Balancer

> Simple FastAPI load balancer

```bash
pip install load-balancer
```

## Usage

```python
from multiprocessing import Process
from fastapi import FastAPI
import uvicorn
from load_balancer import session_affinity, # or round_robin

myapp = FastAPI()
# ...

NUM_WORKERS = 4
UDP_PATHS = [f'udp-{i}.sock' for i in range(NUM_WORKERS)]
balancer = session_affinity(UDP_PATHS)

procs = [Process(target=uvicorn.run, args=(balancer,))] + [
  Process(target=uvicorn.run, args=(myapp, path))
  for path in UDP_PATHS
]

for proc in procs:
  proc.start()

for proc in procs:
  proc.join()
```