Giter Site home page Giter Site logo

imskully / python-p2p-network Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 2.63 MB

A peer-to-peer encrypted file sharing network over sockets with threading support for multiple clients.

Home Page: https://skully.tech

License: GNU General Public License v3.0

Python 100.00%
python sockets peer-to-peer python3 threading sha224 torrenting hashlib

python-p2p-network's Introduction

Python Peer-to-Peer File Sharing Network

License Repo Size Version

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 <socket (0-25565)>)

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.