semvec/pypi-packages huggingface dataset:
pycasino 0.0.1
Command-line utility to simulate casino games
Requires Python: >=3.6

<p align="center">
<a href="https://gitlab.com/dkreeft/pycasino">
<img align="center" src="https://gitlab.com/dkreeft/pycasino/-/raw/master/logo.svg" width="165" height="187.5" />
</a>
</p>

# pycasino - casino games in Python
pycasino is a Python library and command-line utility aiming to recreate several [casino games](https://en.wikipedia.org/wiki/Casino_game). The idea for this library is based on the book [Hands-On Programming with R](https://rstudio-education.github.io/hopr/) by Garret Grolemund (available for free). The implementation of the Deck class is based on [`deck`](https://github.com/zooba/deck).

## Installation
[pip](https://pip.pypa.io/en/stable/) can be used to install pycasino:

```bash
pip install pycasino
```

However, we recommend to install pycasino using [pipx](https://github.com/pipxproject/pipx) to make it available outside your virtual environment:

```bash
pipx install pycasino
```

## Usage
pycasino can be used as a command-line utility as follows:

```bash
pycasino <dir>
```

## Contributing
Please refer to [CONTRIBUTING.md](https://gitlab.com/dkreeft/pycasino/-/blob/master/CONTRIBUTING.md)

## License
[BSD-3](https://gitlab.com/dkreeft/pycasino/-/blob/master/LICENSE)
soc 0.0.1
A lightweight websocket micro framework
Keywords: websocket micro framework

## Soc - A Python websocket micro-framework

> Work in progress

```py3
from soc import Soc, jsonify


def create_app() -> Soc:

    app: Soc = Soc()

    @app.route("/foo")
    def foo(request):
        return jsonify({"hello": "world"})

    return app


if __name__ == "__main__":
    app: Soc = create_app()
    app.run(host="localhost", port=8765)
```