Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ajb413/python-socket-demo
Socket programming demo with native Python and also PubNub.
https://github.com/ajb413/python-socket-demo
peer-to-peer pubnub python python-socket python-sockets socket-programming sockets
Last synced: about 2 months ago
JSON representation
Socket programming demo with native Python and also PubNub.
- Host: GitHub
- URL: https://github.com/ajb413/python-socket-demo
- Owner: ajb413
- Created: 2019-01-10T17:37:13.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-11T19:54:20.000Z (almost 6 years ago)
- Last Synced: 2024-11-02T00:50:19.298Z (2 months ago)
- Topics: peer-to-peer, pubnub, python, python-socket, python-sockets, socket-programming, sockets
- Language: Python
- Size: 1.95 KB
- Stars: 10
- Watchers: 3
- Forks: 13
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sockets with Python
Send data from client to server using Python sockets in **client.py** and **server.py**.
Send data from peer to peer (client to client) using PubNub with **pn_client_1.py** and **pn_client_2.py**.
Install the PubNub package with pip (lastest as of 01/2019):
```bash
pip install 'pubnub>=4.1.2'
```You **must** put in your **free** PubNub API keys to use **pn_client_1.py** and **pn_client_2.py**. Sign up at [https://dashboard.pubnub.com/signup](https://dashboard.pubnub.com/signup/?devrel_gh=ajb413-python-socket-demo)
Watch the tutorial video or read guide in the [Python Socket Programming Tutorial PubNub Blog post](https://www.pubnub.com/blog/socket-programming-in-python-client-server-p2p/?devrel_gh=ajb413-python-socket-demo).