Skip to main content

A command line p2p file transfer

Project description

kruz

kruz is a command line p2p file transfer

> kruz share file.txt
Share server started, waiting for client...
Connected from ('::ffff:127.0.0.1', 12478, 0, 0)
file.txt: 100%|██████████████████████████████████████████████████████████████████▉| 4.27M/4.27M [00:00<00:00, 98.5MB/s]

receive file

> kruz recv 127.0.0.1 19302
Connected to peer 127.0.0.1:19302
file.txt: 100%|███████████████████████████████████████████████████████████████████▉| 4.27M/4.27M [00:00<00:00, 100MB/s]
File recved, cost 0.7420966625213623s

Install

Supported Versions Require python>=3.8

pip install kruz

or you can install from source

git clone https://github.com/JamesHoi/kruz
cd kruz & python setup.py install

Run tests

pip install pytest pytest-xdist
cd kruz & pytest

TODO

  1. accomplish communication using udp protocol
  2. hole puching
  3. multi-thread sharing
  4. send folder

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kruz-0.0.6.tar.gz (10.0 kB view hashes)

Uploaded Source

Built Distributions

kruz-0.0.6-py3.10.egg (48.3 kB view hashes)

Uploaded Source

kruz-0.0.6-py3.9.egg (48.2 kB view hashes)

Uploaded Source

kruz-0.0.6-py3.8.egg (48.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page