A simple framework written in Python 3 created to make it easier to create socket servers and clients.
Install gpcp using the setup.py
file: just run python3 -m pip install .
in the root folder. Then you can import gpcp
from anywhere.
gpcp is not ready yet, but if you want to try it you are free to use it.
Some simple examples are available in the examples/ folder.
The roadmap is available on Trello. Now gpcp is not so ready to use it in projects but it will, if you find problems or want to give a suggestion please open an issue here.
Testing the project requires the following pip
packages: pytest
, pytest-reraise
.
Just run pytest
in the root directory to run all tests.
To save gpcp logs to file in your application, use the following code:
import logging
logging.basicConfig(filename="./logs.txt", level=logging.DEBUG, force=True)