Reliable filetransfer over UDP
Fast file transfer over UDP Broadcast.
pip install udp-filetransfer
git clone https://gitlab.com/Trickster-Animations/udp-filetransfer.git cd udp-filetransfer poetry || pip install poetry poetry install
Now, you can use it through poetry:
poetry run python -m udp_filetransfer
To use it from system python, do:
poetry build cd dist pip3 install *.whl
Now, you can use it by running:
python3 -m udp_filetransfer
To send a file:
python3 -m udp_filetransfer send [filepath]
To receive a file:
python3 -m udp_filetransfer receive
Note: The receiver has to be started first.
Just add the
udp-filetransfer package, like with any other dependency.
# receive.py import udp_filetransfer output = udp_filetransfer.receive() print(output)
# send.py from sys import argv import udp_filetransfer udp_filetransfer.send(argv)
Note: Just like with CLI, the receiver needs to be started first.
Package maintained by Trickster Animations
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for udp_filetransfer-0.4.4-py3-none-any.whl