Skip to main content

pynetworking

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

License

The project is licensed under the Apache Software License.

Metadata

Release files for pynetworking 0.1.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pynetworking 0.1.11
File Size Uploaded Provenance Actions
pynetworking-0.1.11.tar.gz 28.3 kB Without provenance Details for pynetworking-0.1.11.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pynetworking 0.1.11
File Interpreter ABI Platform Actions
pynetworking-0.1.11-py3-none-any.whl Python 3 none any Details for pynetworking-0.1.11-py3-none-any.whl

Total release size: 92.6 kB

Release files / pynetworking-0.1.11.tar.gz

Download URL pynetworking-0.1.11.tar.gz
Size 28.3 kB
Tags Source
SHA-256 checksum
How to use checksums
1ee476f709c4ddeee8fe1006df143186ba58a79e057821a0e6aa2a442d7f648a
BLAKE2b-256 checksum
How to use checksums
fc0133ecb1fc77ed237bfe13144d59811d28b99372cc018fd0b96a8f44fd9a08
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

Release files / pynetworking-0.1.11-py3-none-any.whl

Download URL pynetworking-0.1.11-py3-none-any.whl
Size 64.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d78e78cdf78e14d6a8d37a6995e14b9dd2bffa3a010f00928a20c45b0cc14549
BLAKE2b-256 checksum
How to use checksums
e9be0bdba6893368086638dcaf05a529f57be8f3aa22775a22f62879a1ad2061
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

Security for pynetworking 0.1.11

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page