semvec/pypi-packages huggingface dataset:
amqp-framework 0.1.1
Awesome producers and consumers powered by aio_pika.
License: MIT
Requires Python: >=3.9
Keywords: amqp aio_pika

# amqp_framework

Awesome producers and consumers powered by aio_pika

### Installation

```bash
pip install amqp-framework
```

### Example usage

- https://github.com/aobcvr/rpg_quest_accounts

### License

[MIT](https://en.wikipedia.org/wiki/MIT_License)

### TODO:

- [ ] Documentation
- [ ] Examples folder
tic-tac-toe-api-bot 0.2.7
simple bot for tic tac toe
License: MIT
Keywords: tic_tac_toe bot api game_api

[GitHub:](https://github.com/ruslan-ilesik/tic-tac-toe-bot-pip-package)
Usage Example
```python
import tic_tac_toe

map = tic_tac_toe.Field(clear_place_sign= '',player_sign='x',bot_sign='o',turn= 'player') #default values (turn is randomed if defaut, posible ['bot','player'])
bot = tic_tac_toe.Bot(map,level=100) #
print(map.is_payer_turn()) #>> True
print(map.get_map()) #>> [['', '', ''], ['', '', ''], ['', '', '']]
print(map.make_move(position = [0,0],skip_check=False,place_anyway=False)) #position = [0-2,0-2],skip_check - if True, skips check for turn, place_anyway - skip check if place free
#>> False # it prints if someone won after that (could be "bot","player","draw" (when no places free and anyone win),False)
print(map.get_map())#>>[['x', '', ''], ['', '', ''], ['', '', '']]
print(map.is_payer_turn())# >> False
print(bot.make_move())# >> False
print(map.get_map())#>> [['x', 'o', ''], ['', '', ''], ['', '', '']]
print(map.is_payer_turn())# >> True
print(map.make_move(position = [0,1],skip_check=False,place_anyway=True)) # False
print(map.get_map())#>> [['x', 'x, ''], ['', '', ''], ['', '', '']]
print(map.is_payer_turn())# >> False
print(map.make_move(position = [0,2],skip_check=True,place_anyway=False)) # player
print(map.check_win()) #player
```