semvec/pypi-packages huggingface dataset:
arelai 0.0.7
A library for creating games and training agents using reinforcement learning.
Requires Python: >=3.8

# Arelai

Arelai is a framework for creating games and training agents using reinforcement learning (RL). It includes core components like states, actions, observations, and players that can be customized for specific games.

## Usage

Using the framework is simple.

1. **Create a Custom Game**
   - Subclass `State`, `Action`, `Observation`, and `Game` to define your game’s rules and mechanics.

2. **Define Players**
   - Subclass `Player` to define how players interact with the game.

3. **Run the Game**
   - Create a `Game` object with players and an initial state, then call the `play()` method.

## Example

```python
class MyState(State):
    # Define the game state

class MyAction(Action):
    # Define an action structure
    
class MyObservation(Observation):
    # Define an observation structure
    

class MyPlayer(Player):
    def get_all_actions(self, state: MyState) -> list[MyAction]:
        # Return a list of actions

    def select_action(self, list[MyAction], observation: MyObservation, simulate_action_fnc: Callable[[Action], Observation]) -> MyAction:
        # Select an action for the player

class MyGame(Game):
    def log(self):
        # Define anything that should be logged for the round

    def terminal(self) -> bool:
        # Define the game-ending condition

    def observe(self, player: MyPlayer, state: MyState) -> MyObservation:
        # Return the observation for the player

    def all_actions(self, player: MyPlayer, state: MyState) -> list[MyAction]:
        # Return all possible actions for the player

    def apply_action(self, state: State, action: Action) -> State:
        # Apply the action profile and return the new state

    def calculate_reward(self,player: Player, old_state: MyState, action: MyAction, new_state: MyState) -> float:
        # Calculate the reward from the environment for the player
```
akimbo 2025.3.0
Awkward Array Extension for Dataframes
Requires Python: >=3.9

# akimbo

**For when your data won't fit in your dataframe**

[![Tests](https://github.com/intake/akimbo/actions/workflows/pypi.yml/badge.svg)](https://github.com/intake/akimbo/actions/workflows/pypi.yml)
[![Documentation Status](https://readthedocs.org/projects/akimbo/badge/?version=latest)](https://akimbo.readthedocs.io/en/latest/?badge=latest)

Akimbo provides fast vectorized processing of nested, ragged data
in dataframes, using the ``.ak`` accessor.

### Features

- numpy-like API for slicing and accessing data deep in nested structures
- apply any function, ufunc or aggregation at any level
- use with different backends: pandas, polars, dask-dataframe and cuDF
  exactly the same way (more backends may come in the future)
- CPU and GPU processing and support for ``numba``-jit
- attach object-like behaviours to your record (sub)structures

See the [quick
start](https://akimbo.readthedocs.io/en/latest/quickstart.html)
in the documentation for an introduction to akimbo.

Acknowledgements
----------------

Support for this work was provided by NSF grant [OAC-2103945](https://www.nsf.gov/awardsearch/showAward?AWD_ID=2103945).
sharptools 0.5.0
Jednoduchý balíček s užitečnými funkcemi pro práci s čísly a textem.
Requires Python: >=3.6

# SharpTools

SharpTools je jednoduchý Python balíček, který obsahuje několik užitečných funkcí pro práci s čísly a textem.

## 📥 Instalace

Stačí použít `pip`:


## 🚀 Použití

```python
import sharptools

print(sharptools.nahodne_cislo())  # Náhodné číslo (např. 42)
print(sharptools.secti(10, 20))  # 30
print(sharptools.veliky_text("ahoj"))  # AHOJ
print(sharptools.maly_text("ČAU"))  # čau
print(sharptools.text_to_emoji(text)) #Převede text na emoji
print(sharptools.generate_password(length))
workcraft-peon 0.1.18
The worker library that eats celery for breakfast
Requires Python: >=3.10

![zug-zug](https://github.com/user-attachments/assets/7c60873d-5c35-4cd3-985e-2b61e690c6f9)

# Workcraft Peon

## A simple, lightweight, worker library in Python and Go

This is the worker half of the Workcraft project.

Go read the docs!

Todo: Add docs