semvec/pypi-packages huggingface dataset:
aloy 0.2.0
A Python package containing algorithms and data structures for AI, ML, and Robotics.
Requires Python: >=3.11
Keywords: aloy,algorithms,data structures,ai,ml,robotics

# Aloy

The content of this repository is currently under development. Eventually, the aim is that this repository will contain a comprehensive suite of algorithms and data structures for artificial intelligence, machine learning, and autonomous robots.

## Current Ideas

- Lead-lag compensators for controllers,
- Control system demonstration and testing GUI,
    - Reimplement master's thesis design, but better!
- Genetic algorithms;
    - Support variable length chromosomes,
    - Support multiple-chromosomes.
- Particle swarm optimisation,
- The Bees algorithm,
- Optimisation test functions,
- Optimisation error surface plotting,
- Optimisation process viewer GUI,
- General reinforcement learning API,
    - Try Ray https://github.com/ray-project/ray and https://docs.ray.io/en/latest/rllib/index.html, and cleanRL https://github.com/vwxyzjn/cleanrl.
- General deep game tree and MCTS API,
- New event flow and command flow system with pub-sub style pattern for GUIs,
- New threadpool system and futures implementation,
- New thread-safe queues implementation,
- Snake game with GUI and RL,
    - Support saving options and highscores,
    - Support recoding games for use as replay and for immitation learning.
- Tetris game with GUI, curses, and RL,
    - Inspiration for GUI https://github.com/janbodnar/PyQt6-Tutorial-Examples, https://doc.qt.io/qt-6/qtwidgets-widgets-tetrix-example.html, and https://gitpress.io/u/1155/pyqt-example-tetrix,
    - Inspiration for curses https://github.com/cSquaerd/CursaTetra, https://github.com/orodley/curses-tetris/blob/master/main.py, https://codereview.stackexchange.com/questions/249326/python-3-curses-terminal-tetris, https://gitlab.com/mkhCurses/tetris-curses-python, https://github.com/adrienmalin/Terminis/tree/master.
- Pacman game with GUI and RL,
- Connect four game with GUI and deep game trees;
    - Take inspiration from http://blog.gamesolver.org/ and https://github.com/PascalPons/connect4.
    - Support playing over socket connection.
- Block breaker game using PyGame,
- Control interface for robots,
- Control and path planning simulator GUI for robots,
- More efficient data holders and multi-table data holders that you can attach to other classse and objects to capture performance statistics,
- Benchmarking tools.
amari-python 0.0.2
Python client library for the Amari API
Requires Python: >=3.7.1

# Amari Python Library

Amari connects your OpenAI calls to the internet. It automatically understands when your OpenAI calls need relevant real-time information from the internet and, augments your calls with them.

## Installation

You can install this package by running

```bash
pip install amari-python
```

### Example

```python
from amari import openai
openai.amari_api_key = "..."
openai.api_key = "sk-..."

chat_completion = openai.ChatCompletion.create(
    model="gpt-3.5-turbo", 
    messages=[{
        "role": "user",
        "content": "What's the weather in San Francisco today?"
    }],
    temperature=0,
)

print(chat_completion.choices[0].message.content)
# The current weather in San Francisco is 69°F with mostly sunny conditions.
```
py-objects 0.1.1
Better Than Enums
Requires Python: >=3.7,<4.0

# ATTENTION!

This repo is for the Python package `py-objects`, which was renamed to `simpleset` on 2023-10-09 at v0.1.0.  This repo only exists now for reference purposes, and will not change further.

Please check out `simpleset` here:

- [PyPI](https://pypi.org/projects/simpleset/)
- [Repo](https://github.com/odigity/simpleset/)
- [Docs](https://simpleset.readthedocs.io/en/latest/)
hf-argparser 0.1.1
Standalone version of the HuggingFace ArgParser from the Transformers library
Requires Python: >=3.9

# HF Argparser

Standalone Argument Parser from HuggingFace Transformers.

This is a standalone version of the argument parser used in the HuggingFace Transformers library. It is a simple wrapper around the `argparse` library that allows you to easily define your command-line arguments for your scripts using dataclasses.

## Installation

```bash
pip install hf-argparser
```

## Usage

```python
from dataclasses import dataclass
from hf_argparser import HfArgumentParser, HFArg

@dataclass
class AddArgs():
    x: int
    y: int

@dataclass
class OutputArgs():
    output_file: str = field(
        default=None,
        metadata={'help': 'output filename'})

    parser = HfArgumentParser([AddArgs, OutputArgs])
    
    add_args, output_args, unknown_args = parser.parse_args_into_dataclasses(
            return_remaining_strings=True)
    return add_args, output_args, unknown_args
```

> Above code is taken from [this post](https://python.plainenglish.io/how-to-automatically-generate-command-line-interface-for-python-programs-e9fd9b6a99ca) by @kenilc.

See the [Transformers documentation](https://huggingface.co/docs/transformers/v4.34.0/en/internal/trainer_utils#transformers.HfArgumentParser) for more information on how to use the `HfArgumentParser`.

## Todo
- [] Automate pulling new changes to `hf_argparser` from `transformers` repo.
- [] Automate creating new releases on PyPi.
- [] Add tests.
- [] Improve README.

## Acknowledgements
- [HuggingFace Transformers :hugs:]("https://github.com/huggingface/transformers")
PomeloRDG 0.0.9
This is a tool package for everyone to make the test data quickly
Requires Python: >=3.6

# PomeloRDG

**P**omelo **R**andom **D**ata **G**enerator - **By PomeloABC**

**This is a tool package for everyone to make the test data quickly.**

The currently supported functions include:

- Generate any type of data in the C++ basic data type

- Generate a set of one-dimensional vectors that allow for the same or different from each other

- Generate a random graph (simple or non simple, directed or undirected, weighted or unweighted)

- Generate a random tree (chain, random tree, or daisy chart, and you can set the strength of the tree)

- Convenient writing of input and output files