semvec/pypi-packages huggingface dataset:
upbitbox 0.0.1
python wrapper for Upbit
Requires Python: >=3.6

upbitbox is Python module for Upbit exchange api 

## Use Python Package (Dependencies)
upbitbox requires:

- requests (>= 2.27.1)
- pandas (>= 1.4.2)
- PyJWT (>= 2.3.0)
- PyYAML (>= 6.0)

## Installation
```cmd
python3 -m venv .venv
pip install -r requirements.txt
```

## Get Started (Example)
```python
import yaml
import pyupbit

def get_config():
    with open(r'config.yaml', encoding='UTF-8') as f:
        env = yaml.load(f, Loader=yaml.FullLoader)
    return env

if __name__ == "__main__":
    # get env
    config = get_config()

    # Quotaion
    print(pyupbit.markets().head())
    print(pyupbit.candles(1, "KRW-BTC", count=10).head())
    print(pyupbit.orderbook("KRW-BTC").head())

    # Exchange
    upbit = pyupbit.create_upbit(**config['upbit'])
    print(upbit.accounts())
```
```cmd
python run.py
```

## Source code
You can check the lastest sources with the command:
```cmd
git clone https://github.com/DK-Lite/upbitbox.git
```

## Testing
```cmd
pytest upbitbox
```
cl-games 0.4
A package for creating video games for command line
Requires Python: >=3.6

# cl_games

This package can be used for building basic video games using the command line.

## Usage

For creating a game, extend the clase "Game" and use "Game.run"

`import cl_games

class MainGame(cl_games.Game):

    """docstring for MainGame."""

    def __init__(self):

        super(MainGame, self).__init__()

        self.title = "My New Game"

    def update(self):

        #This is run every frame


game = MainGame()

game.run()
`
To add a sprite, extend class sprite

`class Player(cl_games.sprites.Sprite):

    def __init__(self, game):

        super(Player, self).__init__(game)

        self.image = [

            "  ^  ",

            " / \ ",

            "/___\\"

        ]

        self.posX, self.posY = 18, 17

        self.setLengthToImage()

    def update(self):

        #Also run every frame

game.addSprite(Player(game))

`



To stop the game, just set the running variable to false on game

`game.running = false`