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
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
- accomplish communication using udp protocol
- hole puching
- multi-thread sharing
- 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 details)
Built Distributions
kruz-0.0.6-py3.10.egg
(48.3 kB
view details)
kruz-0.0.6-py3.9.egg
(48.2 kB
view details)
kruz-0.0.6-py3.8.egg
(48.3 kB
view details)
File details
Details for the file kruz-0.0.6.tar.gz
.
File metadata
- Download URL: kruz-0.0.6.tar.gz
- Upload date:
- Size: 10.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c734f67eac3195630263092e0885d4ce6d62ee7f89f3bfc872860d8b8f16bc1b |
|
MD5 | 034b7ebe18581b72e85af45a84904777 |
|
BLAKE2b-256 | 2bcf5d1ba2a69db30e91e02a7e7c01864ab7857e8f2fe274526656da32d8e3de |
File details
Details for the file kruz-0.0.6-py3.10.egg
.
File metadata
- Download URL: kruz-0.0.6-py3.10.egg
- Upload date:
- Size: 48.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d87a3ad9a82296f76629fd010c80d6c262e39a2554ca01802f1e6b6255945ea5 |
|
MD5 | f398c679add6e098a7d7aaaca1a7725d |
|
BLAKE2b-256 | 792a54301217cbe0155f85276650ba63915898255c40c8ff25a88f05093879cd |
File details
Details for the file kruz-0.0.6-py3.9.egg
.
File metadata
- Download URL: kruz-0.0.6-py3.9.egg
- Upload date:
- Size: 48.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0fc7a60611134b15555e25c08961641ac7c57dba86bba521101942b76c009749 |
|
MD5 | 72a442e3bb540d4eb57ceb4b91ab3761 |
|
BLAKE2b-256 | b7ae706020c39120205a39925ea0c76b48eb34c1bc8a91a72cd0d15010b12e0e |
File details
Details for the file kruz-0.0.6-py3.8.egg
.
File metadata
- Download URL: kruz-0.0.6-py3.8.egg
- Upload date:
- Size: 48.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3de7c7a12c7edc5ebeb9641b8a437ae1cbeb87014efa4c11c251e04eae1e39e |
|
MD5 | 488db031c55347736e89946741ba467a |
|
BLAKE2b-256 | bfa973d823205d84bda5f00044184686eb9facb3ad33fb9b70b496465a426347 |