https://github.com/hailpam/pyclientserver
Client/Server communication based on compressed JSON over TCP. Skeleton Project for bandwidth effective Client/Server Applications.
https://github.com/hailpam/pyclientserver
gzip json server-communication tcp
Last synced: 4 months ago
JSON representation
Client/Server communication based on compressed JSON over TCP. Skeleton Project for bandwidth effective Client/Server Applications.
- Host: GitHub
- URL: https://github.com/hailpam/pyclientserver
- Owner: hailpam
- License: mit
- Created: 2013-08-24T11:17:28.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2023-05-23T00:12:44.000Z (about 3 years ago)
- Last Synced: 2023-06-09T06:50:15.988Z (about 3 years ago)
- Topics: gzip, json, server-communication, tcp
- Language: Python
- Homepage:
- Size: 2.01 MB
- Stars: 3
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pyClientServer [](https://travis-ci.org/hailpam/pyclientserver)
Client-Server communication based on compressed JSON over TCP. Server returns compressed JSON data to the client for effective bandwidth usage.
## How to setup it
Client and Server instances read their parameters from 'src/settings.py'. Therefore, whatever special configuration is needed, put it there.
## How to run it
To run a test scenarion, proceed as follows:
1. Open a terminal and launch the server
```bash
> python src/startserver.py
```
2. Open a new terminal window/tab and launch the client
```bash
> python src/startclient.py
```
# Versions
- 0.1 First release: working scenario, ok compression.