semvec/pypi-packages huggingface dataset:
weather-swarm 0.0.7
Weather Swarm - Pytorch
License: MIT
Requires Python: <4.0,>=3.10
Keywords: artificial intelligence, deep learning, optimizers, Prompt Engineering

# Baron Weather

## Overview
Baron Weather is a sophisticated toolset designed to enable real-time querying of weather data using the Baron API. It utilizes a swarm of autonomous agents to handle concurrent data requests, optimizing for efficiency and accuracy in weather data retrieval and analysis.

## Features
Baron Weather includes the following key features:
- **Real-time Weather Data Access**: Instantly fetch and analyze weather conditions using the Baron API.
- **Autonomous Agents**: A swarm system for handling multiple concurrent API queries efficiently.
- **Data Visualization**: Tools for visualizing complex meteorological data for easier interpretation.


## Prerequisites
Before you begin, ensure you have met the following requirements:
- Python 3.10 or newer
- git installed on your machine
- Install packages like swarms

## Installation

There are 2 methods, git cloning which allows you to modify the codebase or pip install for simple usage:

### Pip 
`pip3 install -U weather-swarm`

### Cloning the Repository
To get started with Baron Weather, clone the repository to your local machine using:

```bash
git clone https://github.com/baronservices/weatherman_agent.git
cd weatherman_agent
```

### Setting Up the Environment
Create a Python virtual environment to manage dependencies:

```bash
python -m venv venv
source venv/bin/activate  # On Windows use `venv\Scripts\activate`
```

### Installing Dependencies
Install the necessary Python packages via pip:

```bash
pip install -r requirements.txt
```

## Usage
To start querying the Baron Weather API using the autonomous agents, run:

```bash
python main.py
```

## API

```bash
python3 api.py
```


### Llama3

```python
from swarms import llama3Hosted


# Example usage
llama3 = llama3Hosted(
    model="meta-llama/Meta-Llama-3-8B-Instruct",
    temperature=0.8,
    max_tokens=1000,
    system_prompt="You are a helpful assistant.",
)

completion_generator = llama3.run(
    "create an essay on how to bake chicken"
)

print(completion_generator)

```

# Documentation
- [Llama3Hosted](docs/llama3_hosted.md)

## Contributing
Contributions to Baron Weather are welcome and appreciated. Here's how you can contribute:

1. Fork the Project
2. Create your Feature Branch (`git checkout -b feature/YourAmazingFeature`)
3. Commit your Changes (`git commit -m 'Add some YourAmazingFeature'`)
4. Push to the Branch (`git push origin feature/YourAmazingFeature`)
5. Open a Pull Request


## Tests
To run tests run the following:

`pytest`

## Contact
Project Maintainer - [Kye Gomez](mailto:kye@swarms.world) - [GitHub Profile](https://github.com/baronservices)


# Todo
- [x] Implement the parser and the function calling mapping to execute the functions
- [ ] Then, implement the API server wrapping the hiearchical swarm
- [ ] Then, Deploy on the server 24/7
- [ ] Temperature and forecast of tomorrow


# Requirements
- Simple
instrulink 1.0.5
Python package to interface diverse laboratory instruments
License: MIT
Keywords: laboratory instrument interface python

# instrulink

This python package provides built-in classes to interface diverse laboratory instruments, including:
- **waveform generators**: [Rigol DG 1022Z](https://www.rigolna.com/products/waveform-generators/dg1000z/) (`RigolDG1022Z`)
- **oscilloscopes**: [B&K Precision 2555](https://www.bkprecision.com/products/oscilloscopes/2555) (`BK2555`), [Rigol DS 1054Z](https://www.rigolna.com/products/digital-oscilloscopes/1000z/) (`RigolDS1054Z`)
- **micro-manipulators**: [Sutter Instruments MP-285A](https://www.sutter.com/MICROMANIPULATION/mp285_frame.html) (`SutterMP285A`)
- **infrared cameras**: [FLIR cameras](https://www.flir.com/browse/industrial/machine-vision-cameras/) (`Camera`)
- **acquisition systems**: [NI DAQmx](https://www.ni.com/docs/en-US/bundle/ni-daqmx/page/daqhelp/nidaqoverview.html) for pulse triggers

## Software dependencies

To interface VISA instruments (i.e., waveforms generators and oscilloscopes), you will need to:
- Download and install [IVI Compliance Package 21.0](https://www.ni.com/en-us/support/downloads/drivers/download.ivi-compliance-package.html#460618)
  When installing, opt to include .NET Adapters and COM adapters as well (these are not selected by default)
- Download and install the [NI Package Manager](https://www.ni.com/en-us/support/downloads/software-products/download.package-manager.html#322516). Through the NI package manager, also install the NI-VISA Driver.

To interface Rigol instruments specifically, you will also need to download and install the associated [Rigol driver](https://www.rigolna.com/products/waveform-generators/dg1000z/)

To interface FLIR cameras, you will need to download and install the [FlyCapture SDK](https://www.flir.com/products/flycapture-sdk/)

You will also need to install `Python 3.6` (for compliance with FlyCapture SDK), preferably as part of an environment manager such as [Anaconda](https://www.anaconda.com/products/individual).

## Installation

This package can be directly installed from PyPI:

```
pip install instrulink
```

However, if you wish to edit the code base, you can also clone this repo and install it locally as an editable package: 

```
git clone https://github.com/tjjlemaire/instrulink.git
cd instrulink
pip install -e .
```

## Usage

### Connecting to instruments

Instruments can be easily connected to via generic `grab_camera`, `grab_generator`, `grab_oscilloscope` and `grab_manipulator` functions. By default, these functions will automatically detect the first available instrument connected to the PC. Optionally, you can also provide an instrument `key` to connect to a specific model type (e.g. `grab_osciloscope(key='bk')` to specifically connect to a B&K Precision oscilloscope).

### Using instruments

Example scripts are located in the `/scripts` subfolder.

## Authors

This package is written and maintained by [Theo Lemaire](mailto:theo.lemaire1@gmail.com).