High level network communication
Project description
High level network communication
This tool abstracts network communication to a level, where you don’t have to care about network communication. Server side functions can be called at the client as they were local. Functions may be called with parameters and may return values.
NOTE: This library has currently not a stable version. You are welcome, to use this library in your project and report issues or improvements.
Features
Directly call functions at the remote side
Get the return values
Don’t care about sockets
Example
When you have setup everything this is an example how easy it will be to communicate between the server and client:
At the server:
def add(number1, number2):
return number1 + number2
To call it at the client:
result = server.add(5, 10)
print(result) # Output: 15
More simple examples: https://github.com/JulianSobott/pynetworking/tree/master/pynetworking_examples
Installation
The easiest way to install is to use pip:
pip install pynetworking
It is also possible to clone the repository from Github with:
git clone https://github.com/JulianSobott/pynetworking.git
Documentation
Latest stable documentation: https://pynetworking.readthedocs.io/en/latest/
Or if you want the current documentation in a branch (e.g. dev), you can clone the repository, open the cmd and cd to the docs folder. You need sphinx installed. Then you can type make html and see the local created docs.
Getting started
There is a getting started guide at the documentation. In this guide you will learn how to write a simple login application. This guide covers all basics, that are necessary.
If you are already familiar with this library and just need a brief recap, there is a checklist for what you need in new projects.
Contribute
Issue Tracker: https://github.com/JulianSobott/pynetworking/issues
Source Code: https://github.com/JulianSobott/pynetworking
License
The project is licensed under the Apache Software License.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pynetworking-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 924a58563b6d342e9310c896821f99d03e998190f7caf6934959f1d1cfa3effc |
|
MD5 | a84aab3599ffeb35e07809739b444ce8 |
|
BLAKE2b-256 | e12f0738b001bd312039b13cfc7fa72d8aaf3afe7ff3ad5be19de45db9c17d44 |