jedevc / EuPy

An API that wraps sockets in a nice interface.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EuPy by @jedevc

An API that wraps sockets in a nice interface and provides methods for sending and receiving packets from euphoria.

How to set up

So, there is a setup.py file for installing which works as follows:

python3 setup.py install

But if you don't want to actually install the library you can just download it like so:

#Install dependencies
pip3 install websocket-client

#Clone the repo
git clone https://github.com/jedevc/euphoria-python.git

#Navigate to the directory and compress the files into one file
cd eupy
python3 min.py > eupy.py

Quick use

Create a new class which extends all the classes that you need to access from your bot. That's probably not enough to go on, unless you go digging into the code. So, there's a basic tutorial over at the wiki that you can look at and learn from. You can look in the examples folder for a few demos of what you might want to do.

About

An API that wraps sockets in a nice interface.

License:MIT License


Languages

Language:Python 100.0%