semvec/pypi-packages huggingface dataset:
econarena 0.0.4
PyPI of Economic Arena
License: MIT
Requires Python: >=3.9,<4.0

# Economic Arena for Large Language Models

## Current Version
0.0.4

## Integrated LLM agent
| Series          | Models                 |
|-----------------|------------------------|
| OpenAI          | gpt-3.5, gpt-4         |
| Google DeepMind | PaLM2, Gemini-Pro      |
| Anthropic       | Claude, Claude-instant |
| Baichuan AI     | Baichuan2              |

## To use this package

Python requires **>= 3.9**

### 1. Install the package
```
pip install econarena
```

### 2. Write your script
In `example.py` you can write your script and run it.

To successfully run a script, you have to complete 3 steps in the script:

1. initial a `Host` instance
2. set api configurations
3. run the game and fetch the result

After that, just call `python example.py` and start your game with LLMs!
llm-autodocs 0.0.8
llm-autodocs 🧞: Automatically generate docstrings for your codebase using LLMs.
License: MIT
Requires Python: >=3.8,<3.13

# llm-autodocs 🪄

## Overview 🌞

`autodocs` is a Python-based command-line tool for automatically generating documentation for git-tracked Python files in a project. It leverages LLMs to generate documentation automatically and asynchronously.

## Features ⚡️
* Git Integration: Only selects Python files that are tracked by Git within a specified directory.
* Custom File Selection: Offers the flexibility to specify files to include or exclude in the documentation process.
* LLM Support: Currently supports OpenAI gpt models
* Asynchronous Execution: Improves performance by handling multiple files concurrently.

## Quickstart 🚴‍♂️

Install the library:

```bash
pip install llm-autodocs
```

Navigave to your git project and run:

```bash
cd my_project/
autodocs --directory .
```


This will run in the root of your project and include all tracked .py files. By default it uses `gpt-3.5-turbo`.

You will be prompted to review the files affected before continuing.

## Examples

Specify a specific directory:

    autodocs --directory ./src

Specify a different openai model (can be any of the gpt-3.5* or gpt-4* patterns):

    autodocs --documenter gpt-4

Allow only certain file patterns:

    autodocs --allowed-files utils.py data_model.py

Exclude certain file patterns:

    autodocs --ignored-files __init__.py
gulf-id-scanner 0.1.0b2
Python websocket client for reading Gulf IDs
License: MIT
Requires Python: >=3.10,<4.0

# Read Gulf ID card data

Python package that interfaces with the Gulf ID and EID card reader service. It uses websocket to connect to the service installed on the host machine where a USB smart card reader is connected.

## Usage

- Install the card reader service on a windows machine
- Ensure the services are running
- Get the IP of the machine

```python
import aiohttp
from gulf_id_scanner import Client, ServiceError

session = aiohttp.ClientSession()
client = Client(host="192.168.3.45", web_session=session)
# validate connection
try:
    await client.connect()
except ServiceError as err:
    return False

# read card data
try:
  card_data = client.async_read_card():
    # code to process returned card data
except ServiceError as err:
    return
# detect when card is inserted and read card data
try:
  async for card_data in client.async_detect_card():
    # code to process returned card data
except ServiceError as err:
    return
await session.close()
```

## Card Data

The [`CardData`](https://github.com/Gallagher-ME/gulf_id_scanner/blob/8a0d692c85b86c3486e73cb5dd0fcbf9da6315a9/gulf_id_scanner/models.py#L653) class provides the main card data fields that are commonly required when reading the ID. For more specific fields you can find all the data fields retrived from `CardData.card_data`.
ward-coverage 0.3.1
A coverage plugin for Ward testing framework
License: MIT
Requires Python: >=3.7.8,<4.0.0
Keywords: python

# Ward Coverage

[![CI/CD](https://github.com/petereon/ward_coverage/actions/workflows/python-test.yml/badge.svg?branch=master)](https://github.com/petereon/ward_coverage/actions/workflows/python-test.yml) 
[![MyPy Lint](https://github.com/petereon/ward_coverage/actions/workflows/python-lint.yml/badge.svg?branch=master)](https://github.com/petereon/ward_coverage/actions/workflows/python-lint.yml) 
[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=petereon_ward_coverage&metric=security_rating)](https://sonarcloud.io/summary/new_code?id=petereon_ward_coverage)
![PyPI - Downloads](https://img.shields.io/pypi/dm/ward-coverage)

__Disclaimer: Albeit useful already, this is a work-in-progress and should be seen as such.__ 

A coverage plugin for Python's [Ward testing framework](https://ward.readthedocs.io/en/latest/)

![Example image](https://raw.githubusercontent.com/petereon/ward-coverage/master/resources/screen.png)

## Installation

Build the plugin:

```bash
poetry build
```
and install using

```bash
pip install dist/ward_coverage-0.1.1-py3-none-any.whl
```

## Configuration

To include coverage in your test run, add the following to your `pyproject.toml`:

```toml
[tool.ward]
hook_module = ["ward_coverage"]
```

There are several options to configure the plugin which can be included under section `[tool.ward.plugins.coverage]`, namely:
- `report_type`, defaulting to `["term"]`, which is a list of report types to generate. Possible values are one or more of _'lcov'_, _'html'_, _'xml'_, _'json'_, _'term'_
- `threshold` for minimum coverage, affecting the color the result panel has for some sort of visual cue
- All of the options described [here](https://coverage.readthedocs.io/en/6.4.4/config.html#run-source-pkgs). Please note that everything here under [`[run]` section](https://coverage.readthedocs.io/en/6.4.4/config.html#run) goes to  `[tool.ward.plugins.coverage]` and other sections need their separate block (e.g `[tool.ward.plugins.coverage.report]`) or dictionary entry within the `[tool.ward.plugins.coverage]` section in toml.

### Example configuration
```toml
[tool.ward.plugins.coverage]
omit = ["*test*", "example.py", "**/__init__.py"]
report_type = ["term", "xml"]
source = ["."]
branch = true
relative_files = true
report = {skip_empty = true}
```

__Contributors, issues and feature requests are welcome.__