semvec/pypi-packages huggingface dataset:
sent 0.0.20
A package for sending Telegram messages
License: MIT
Keywords: telegram api

# sent

A Fast Telegram API for Lighweight bots

## Installation

To install this package, use pip:


```
pip install sent
```

## Usage

Here is an example of how to use the package:

```py
from sent.telegram import Telegram

token = 'BOT_TOJJEN' # bot token from bot father
chatid = 'CHAT_ID'  # chat id of user | group | channel

bot = Telegram(token)

bot.send_message(chatid, "Wow !!!")

@bot.message_handler(commands=['start', 'help'])
def send_welcome(message):
    bot.reply_to(message, "Howdy, how are you doing?", protect_content=True)


bot.polling()
```

## Documentation

For more detailed information about how to use this package, please refer to the full documentation at

## Contributing

We welcome contributions to this package. To contribute, please fork the repository, make your changes, and submit a pull request.

## License

This package is open-sourced under the MIT license

## Issues

If you encounter any issues or bugs, please open an issue in the issue tracker.
snakey 2.1.0
A simple snake game written in python.
License: MIT
Requires Python: >=3.7
Keywords: snake,pygame

# Snakey

A simple snake game made with pygame with multiplayer option.

## Running the game

To install Snakey, run the following command:

```bash
python -m pip install snakey
```

Then, to run the game, execute:

```bash
python -m snakey
```

A new window should appear where you and your friend can play a game of snake. Default keys for player one are 
<kbd>&uarr;</kbd>, <kbd>&darr;</kbd>, <kbd>&rarr;</kbd> and <kbd>&larr;</kbd>. Keys for player two are 
<kbd>W</kbd>, <kbd>S</kbd>, <kbd>D</kbd> and <kbd>A</kbd>.

## Game configuration
Game configuration is defined with a json configuration file, by default, this configuration is set like this:

```json
{
    "main_window_size": [640, 480],
	"block_size": 10,
    "refresh_rate": 100,
    "num_snakes": 2,
    "start_pos": [[300, 100],
			   [300, 200],
			   [300, 300],
			   [300, 400]],
    "keys": [["K_UP", "K_RIGHT", "K_DOWN", "K_LEFT"],
		     ["K_w", "K_d", "K_s", "K_a"],
		     ["K_t", "K_h", "K_g", "K_f"],
		     ["K_i", "K_l", "K_k", "K_j"]],
	"initial_snake_length": 10,
	"num_cherries": 2
}
```

In order to run the game with different configuration, create a new .json file, and modify the configuration there.
Then, provide the path to the created file with *--config* option, like this

```bash
python -m snakey --config {path to configuration file}
```