semvec/pypi-packages huggingface dataset:
consoleplusplus 0.1.0.1
A game engine... for the console
Requires Python: >=3.6

# A very simple console game engine
A functional game engine. How does it work?
Well, there are two core parts of this engine.
The *game state dictionary*, and the *entity system*. 

## Game state dictionary
The game state dictionary is a dictionary containing the game state as well as entities. Good Console++ code uses the dictionary to store data instead of global variables.

The game state dictionary must contain two keys: `"running"` and  `"entities"`. `"running"` is a bool. At the end of every iteration of the main loop, if running is false, the loop ends.`"entities"` is a dictionary of `Entity`. More on that later

The game state is important because of how you update it. Every frame input is taken, and passed to a function that you define along with the game state. The call looks like this: `game(state, key)`. This call returns a new dictionary which replaces the old one.

## Entity system
The entity system is simple. There is a class called `Entity`. Its constructor takes 4 parameters: `x, y, char, style`.

Each iteration of the main loop, each entity calls `update()` (so, `entity.update()`.  Then, they are drawn at the x and y with the char and style. Update is a stub, but you can extend entity to add your own behaviour.

## Main loop

Finally, to initialize the main loop, run
```py
run_loop(game, {"running": True, "entities": {
  "player": Entity(10, 10, "@", style.RED)
  }})
````
Replace `game` with your own update function, and add and remove entities.
redditPoster 0.1.4
Get exciting and funny posts into your discord server from reddit!

# RedditPoster
RedditPoster was built so you can have memes and all sort of reddit posts into your discord server with only one line or more of code!

For more information, or if you have any concerns, please email nooby xviii. His email: ```xviii2008@gmail.com```

## Installation
You can install RedditPoster from [PyPi](https://pypi.org/project/redditPoster/):
  ```pip install redditPoster```
The module is available for python versions 3.4+

## How to use
Inorder to use RedditPoster for your discord bot you must import the module into your code:
  ```import redditPoster```

# Examples
Meme Command:

```python
import discord
from discord.ext import commands
import redditPoster

client = commands.Bot(command_prefix="!")

@client.command()
async def meme(ctx):
  #await redditPoster.reddit(subreddit, channel)
  await redditPoster.reddit("memes", ctx.channel) #since this is a meme command I put ctx.channel, you could also put an ID to a channel where you want the memes to be sent to!
  ```
anysell 0.0.5
Sell any item you want on any market platform easily.
Requires Python: >=3.6, <4
Keywords: automatization,sale,goods,cli

# anysell

Welcome! Sell anything on multiple platforms at once.

Features:
- generate item config
- creates posts on bazos
    - supports images
    - mobile 2fa
    - multiple at once

**TODO:**
- fb marketplace
- works only with "clothes", maybe add all/more categories

# install & usage

```bash
pip3 install anysell
```

There are 2 config files we're gonna use:
- **main config file** - stores important global info (name, email etc.) 
- **items config file** - stores info about items you want to sell, at one place. then anysell will propagate it in multiple places

### cfg file

You can provide main config file by passing `--config-path` option to commands. Default path for
your config is `~/.config/anysell/.cfg`. Go ahead, create and fill the file. 

```
name=
password=  # some tmp password, e.g. for edit on bazos
phone=
email=
psc=
img_path=/Users/bla/Desktop/img_clothes  # generate-cfg cmd will use structure to create yaml 
item_config_path=/Users/bla/cfg.yaml  # sell cmd use this to create the item posts
```

To start quickly, do:
```
anysell generate-cfg --config-path /my/cfg/path/.cfg
```

This will generate the file based on structure in `img_path`. It's good to have folder per item and
images for items in that folder. Folder names needs to be unique.

Open file on `item_config_path` and fill it:
```
damske_cierne_nohavice_sportove__40:
  category: 'Športové oblečenie'
  price: '8'
  filepaths:
    - /img/folder/damske_cierne_nohavice_sportove__40.jpg
    - /img/folder/damske_cierne_nohavice_sportove_detail__40.jpg
  title: 'Damske Sportove Cierne Nohavice'
  description: 'Daju sa odopinat na tristvrtove. Velkost 40.'
damske_siroky_golier__detail__36_38:
  category: ''  # fill
  description: ''  # fill
  filepaths:  # fill
    - /img/anotherfolder/damske_siroky_golier__detail__36_38.jpg
  price: ''  # fill
  title: ''  # fill
```

Now, you have the items config (no need to use generate command, you can create your own if you want)

Run
``
anysell sell --config-path /my/cfg/path/.cfg
``

This will read the item config file using `item_config_path` key in your main config and 
create all the posts based on that.

Note - this will prompt you for doing auth. E.g. 2fa with mobile key. When you fill it first time
key will be cached and reused for 1hr.

# bazos 

These are keys you can use for categories.
```json
[
    "Blúzky",
    "Bundy a Kabáty",
    "Čiapky, Šatky",
    "Doplnky",
    "Džínsy",
    "Funkčné prádlo",
    "Hodinky",
    "Kabelky",
    "Košele",
    "Kožené oblečenie",
    "Mikiny",
    "Nohavice",
    "Obleky, Saká",
    "Plavky",
    "Plecniaky a kufre",
    "Rukavice a Šály",
    "Rúška",
    "Šaty, Kostýmy",
    "Šortky",
    "Šperky",
    "Spodná bielizeň",
    "Športové oblečenie",
    "Sukne",
    "Svadobné šaty",
    "Svetre",
    "Tehotenské oblečenie",
    "Topánky, obuv",
    "Tričká, roláky, tielka",
    "Ostatné"
]
```