semvec/pypi-packages huggingface dataset:
brs-py 0.5.2
Brickadia savefile reader/writer
Requires Python: >=3.6

# brs-py

A savefile reader/writer for the Brickadia game

[Brickadia](https://www.brickadia.com) is a multiplayer brick building game

Made for version 8 savefiles (Brickadia Alpha 5)

## Install

```
pip3 install brs-py
```

## Example Usage

### Display info about a save
```python
import brs

save = brs.readBRS("Freebuild.brs")
print(save)
```

### Make a save from scratch, with bricks showing the default colorset
```python
import brs

save = brs.default()

for color_index in range(len(save.colors)):
    brick = brs.Brick.default()
    brick.position = [color_index * 10, 0, 6]
    brick.color = brs.Color(save.colors[color_index])
    save.bricks.append(brick)

brs.writeBRS("colors.brs", save)
```
torchmojiartifact 0.0.4
BentoML artifact framework for the Torchmoji Model
Requires Python: >=3.6

# torchmojiartifact

BentoML artifact framework for the Torchmoji Model.

Installation:

    pip install torchmojiartifact==0.0.1

Usage example (decorate service):

    from torchmojiartifact.TorchmojiModelArtifact import TorchmojiModelArtifact

    @artifacts([TorchmojiModelArtifact('emojify')])
    class MyBentoService(BentoService):


Usage example (package model):

    svc = MyBentoService()

    svc.pack('emojify', model_path)

Alternatively, during training:

    svc.pack('emojify', {'state_dict': my_state_dict, 'emoji_list': my_emoji_list, 'pax_list': my_pax_list, 'vocabulary': my_vocab})