https://github.com/imskully/python-p2p-network
A peer-to-peer encrypted file sharing network over sockets with threading support for multiple clients.
https://github.com/imskully/python-p2p-network
hashlib peer-to-peer python python3 sha224 sockets threading torrenting
Last synced: 7 months ago
JSON representation
A peer-to-peer encrypted file sharing network over sockets with threading support for multiple clients.
- Host: GitHub
- URL: https://github.com/imskully/python-p2p-network
- Owner: ImSkully
- License: gpl-3.0
- Created: 2021-12-13T22:06:53.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-03-20T00:07:26.000Z (over 3 years ago)
- Last Synced: 2025-01-15T10:06:21.523Z (9 months ago)
- Topics: hashlib, peer-to-peer, python, python3, sha224, sockets, threading, torrenting
- Language: Python
- Homepage: https://skully.tech
- Size: 2.57 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Python Peer-to-Peer File Sharing Network


A simple peer-to-peer file sharing torrenting network with encrypted payload transportation and support for multiple clients over sockets with multi-threading. The application emulates multiple clients connecting to a single server in order to retrieve a list of clients which have files, and then be able to transport files across each client via sockets.
## Usage
1. Start the torrent server. (`python server.py`)
2. Start a client. (`python client.py `)## Help
All clientsided commands are executed with plain words, for serversided commands the global command deilimeter is used to recognize commands that should be encrypted with a payload and sent to the server with the respective request. This can be changed in the `shared.py` file.You can toggle debug outputs in `shared.py`.
## Design Documentation
For a detailed overview of the full system design and specification, along with usability of all features that exist, refer to the [Design Documentation available in the Wiki](https://github.com/ImSkully/python-p2p-network/wiki).