semvec/pypi-packages huggingface dataset:
swarmpython 1.0.2
A lightweight swarm intelligence framework for Python models
Requires Python: >=3.12

# 🐝 Swarm Intelligence Framework (V1)

**Swarm** is a lightweight Python framework designed to orchestrate multiple independent AI agents (or simple scripts) to solve a single problem. It uses **Swarm Intelligence** principles to aggregate the results of these agents, reducing error and increasing confidence.

We belive in swarm principle so we thought to make it easier for people to use.
Train lot of small model and combine the results rather than buildind a large model.

## 🚀 Key Features

* **Parallel Execution:** Runs all agents simultaneously using a high-performance thread pool.
* **Agnostic Loader:** Can load *any* Python script as an agent dynamically.
* **Auto-Strategy:** Automatically detects if your agents are returning numbers (Regression) or text/classes (Classification) and applies the correct math.
* **Deep Analytics:** Returns not just the answer, but the *confidence*, *entropy* (confusion), and *outlier data*. (this is expandable)

---

## 🛠️ Usage Guide
 **I.Setup:** Your script should have a function which executes the model and returns the output, then all set.
 **II.Execution:** 
 1.if the name of the fuction in the script is `predict` or `run`, then all good just pass the script's path, 

   ```python
   b1 = "model_1/pred.py"
   ```
    but is anyother name, then you have to pass the function name also and wrap it up in parenthesis,

   ```python
   b2 = ( "model_h52/pred.py", "dano")
   ```
 2.After that initialize the object like,
   ```python
   swarm = Swarm(b1, b2)
   ```
 3.Once initialized just call the run function,
 
   ```python
   results = swarm.run(input, priorities=[0.6, 0.1, 0.1,0.1,0.1], mode="numeric", sensitivity=1.5)
   ```
    -priorities, sensitivity and mode are all optional.
    -mode is automatically detected if doesn't specified.
    -if sensitivity value is lower then the outlier filtering will be strict, default value is 1.5.

- there are some sample codes for you,go tp our github repo( https://github.com/Feininon/swarmpython ) and just run main.py.
- feel free to contribute, we appreciate that.`
JavaScriptNU 0.0.2
JavaScript syntax in Python

# JavaScriptNU
**Gebruik JavaScript-syntax in Python!**

JavaScriptNU is een lichtgewicht Python-module die bekende JavaScript-elementen zoals `console.log`, `const`, `let` en `Math` naar Python brengt. Ideaal voor ontwikkelaars die overstappen van JS naar Python of voor educatieve doeleinden.

## Installatie

Installeer de module via pip:

```bash
pip install JavaScriptNU
stackedup-helper-scripts 0.0.17
Tooling to help manage CloudFormation stacks
Requires Python: >=3.9

# Stacks Helper Scripts

[![main](https://github.com/ombu/stacks-helper-scripts/actions/workflows/main.yml/badge.svg)](https://github.com/ombu/stacks-helper-scripts/actions/workflows/main.yml)

This repository contains various helper scripts for deploying with OMBU
infrastructure Cloudformation packaged templets.

The target Python version of these scripts is documented in `.python-version`.

## Adding to infrastructure

### Add to the `requirements.txt` with:

```
git+ssh://git@github.com/ombu/stacks-helper-scripts.git@<version>
```

### Add to install MakeFile command:

```
	@$(eval PKG_LOCATION := $(shell pip show stackedup-helper-scripts | grep Location | sed -n 's/Location: //p')/stackedup_helper_scripts)
	@ln -s -f -n ${PKG_LOCATION}/scripts scripts
	@ln -s -f -n ${PKG_LOCATION}/tasks tasks
	@ln -s -f -n ${PKG_LOCATION}/templates templates
```

### Add `/infrastructure/scripts` to .gitignore

### Templete changes:

Rehome `CodeUri` in `Properties` sections to refer to the `infrastructure/scripts`
directory.

## Types of scripts

### account_cost

Account cost alam features a lambda that will get the current estimated
costs of an account and alert a specified SNS Topic.

### cloudformation_update

This script sends a notification to SNS when an ECS deployment is detected from
a CloudFormation update. A starting deployment notification to the SNS topic
then send another notification once the ECS deployment is complete.

### cluster_lifecyclehook

Auto Scaling Lifecycle Hook to drain Tasks from your Container Instances
when an Instance is selected for Termination in your Auto Scaling Group.

### deploy_notification

This script sends a notification to SNS when an ECR image is built.

### email_notification

This script sends email to recipients from an SNS topic.

### force_deploy

When a ECS task is configured to have force deployment of the current tag
this script will restart the ECS task and send a starting deployment
notification to the SNS topic then send another notification once the ECS
deployment is complete.

### instance_refresh

This script refreshes the cloudformation stack with a new AMI.

### reset_task_notification

This script sends a SNS notification when the reset task is requested.

### slack_notification

This script sends a Slack notification to a webhook endpoint from an SNS topic.

### sns_relay

SNS Relay will reformat an alarm messages sent when an alarm triggers and hand
it off to another SNS Topic for delivery.

### web_deploy

When a ECS task is configured to use automatic deployment of the latest tag
this script will restart the ECS task and send a starting deployment
notification to the SNS topic then send another notification once the ECS
deployment is complete.