semvec/pypi-packages huggingface dataset:
botprint 1.0.1
A small Package for printing in Discord
Requires Python: >=3.7

# botprint

A small Project to make a Module to print out stuff in a Discord-Channel with your Bot

Usage:
update/create environment Variables in TOKEN.env in for example .../Python/Python37/Lib/site-packages/Bot_Print
PRINTER_TOKEN = your Discord-Bot Token
DISCORD_GUILD = the Standard Guild you want to use (you can call it manualy in the functions if you want)
DISCORD_CHANNEL = the Standard Cannel in your Guild you want to use ("")

finaly just import botprint and have fun

Functions:
tostring(Array): Converts Python-Array into String
splitString(STRING): Splits String in Strings of length 2000 which is the Maximum String-Size in Discord
bprint(Object, guild=GUILD, Channel=CHANNEL): converts some stuff and prints out x in given channel
def shutdown(): closes bot-event-loop (should always be called at the end of the program)
pypgdb 1.0.0
A wrapper around psycopg2
Requires Python: >=3.5

# pypgdb
pgdb is a simple wrapper around psycopg2 python library to simplify its usage.

  - Connection is established before the first query or manually by calling ```open``` function.
  - You can close connection using ```close``` function or by deleting PGDB object.
  - Use logger object for more output information ```pgdb.logger.setLevel(logging.INFO)```

### Typical usage example
```py
from pypgdb import pgdb
import logging
db = pgdb.PGDB("host=127.0.0.1 dbname=my_db port=5432 user=myUser password=myPassword")
pgdb.logger.setLevel(logging.INFO)
res = db.query("SELECT 'hello world'::TEXT, NOW()")
```
### Installation
pypgdb requires psycopg2>=2.8.3 to run.

pip installation:
```sh
pip install pypgdb
```

Install from source:
```sh
python setup.py bdist_wheel
pip install dist\pypgdb-VERSION-py3-none-any.whl
```