gd.rpc is a library that implements GD Discord RPC in Python.
The config file, rpc_config.toml is located in the same directory as gd/rpc.py or rpc.exe file.
It is created automatically on first run. For more details on how to configurate, there is a rpc_config.toml file located in the root of this repository that gives more information on arguments.
Python 3.6 or higher is required
To install the library, you can just run the following command:
# Windows
py -3 -m pip install -U gd.rpcIn order to install the library from source, you can do the following:
$ git clone https://github.com/nekitdev/gd.rpc
$ cd gd.rpc
$ python -m pip install -U .Running the app is quite simple.
You can either invoke it from python:
import gd.rpc
gd.rpc.run()Or run a console command:
$ python -m gd.rpc
# OR
$ gd.rpcYou can build an executable file from the gd/rpc.py file using PyInstaller:
$ pyinstaller --onefile --exclude-module PIL --exclude-module numpy --exclude-module IPython --exclude-module Crypto --exclude-module lxml --icon=icon.ico gd/rpc.pyGenerated executable will be in ./dist folder.
This project is mainly developed by nekitdev.