semvec/pypi-packages huggingface dataset:
TBGDL 1.0.3
A Python library for creating text-based games.
License: MIT
Keywords: pygame,textadventure,text,game

![TBGDL Logo](/docs/img/logo.png)
# TBGDL
A Python library for creating text-based games.

# Features
tbgdl_print(text, color) - Like print but also adds the ability to color the text. Makes cool ASCII art too!

tbgdl_clear() - Clears the screen.

tbgdl_quit() - Quits the application.

tbgdl_getinput() - Gets user input.

tbgdl_new_scene(command1, command2, command3, command4, command5, command6, command7, command8, command9, command10) - Can only be used in a variable, else that scene can't be referenced anywhere else in your code. If you have empty spaces, replace them up to command10 with 0. tbgdl_getinput() cannot be used in this function.

tbgdl_load_scene(scene) - Loads the variable that you stored your scene in.

tbgdl_playsound(note, sound) - Make beeps with it. The notes need to be in a string, and the sound param is the duration of the beep. 

# Variables
default - The default color white. Can only be used when a function needs a color.

red - The color red. Can only be used when a function needs a color.

black - The color black. Can only be used when a function needs a color.

blue - The color blue. Can only be used when a function needs a color.

magenta - The color magenta. Can only be used when a function needs a color.

yellow - The color yellow. Can only be used when a function needs a color.

cyan - The color cyan. Can only be used when a function needs a color.

green - The color green. Can only be used when a function needs a color.

# Requirements

colorama - For tbgdl_print(text, color) command.

musicalbeeps - For tbgdl_playsound(note, sound) command.
protolizer 1.1.1
A simple library to serialize and deserialize protobuf messages
License: MIT
Keywords: protobuf serialization deserialization

# Protolizer Documentation

## Introduction
Protolizer is a simple library to serialize and deserialize protobuf messages

## Installation

```bash
pip install protolizer
```

## Usage for serialization

```python
from protolizer import Serializer, fields

class AccountSerializer(Serializer):
    username = fields.CharField()
    balance = fields.IntField()

    class Meta:
        # Here we define our generated protobuf message name
        # our protobuf message is something like:
        # message Account {
        #     string username = 1;
        #     int32 balance = 2;
        # }
        schema = Account

# Define an account in JSON and Protobuf format
protobuf_data = Account(username='John', balance=100)
json_data = {'username': 'John', 'balance': 100}

# Serialize the data to Protobuf format
protobuf_serializer = AccountSerializer(protobuf_data)
print(protobuf_serializer.protobuf)

# Serialize the data to JSON format
json_serializer = AccountSerializer(json_data)
print(json_serializer.json)

# Deserialize the data from Protobuf format to JSON format
protobuf_deserializer = AccountSerializer(protobuf_serializer.protobuf)
print(protobuf_deserializer.data)

# Deserialize the data from JSON format to Protobuf format
json_deserializer = AccountSerializer(json_serializer.json)
print(json_deserializer.data)
```

## Contribute

```text
If you want to contribute to this project, please open an issue on GitHub.
```

## License

```text
This project is licensed under the MIT License.
```

## Author
This project is authored by [@uwsgi](https://instagram.com/uwsgi)