Skip to main content

Reliable filetransfer over UDP

Project description

UDP Filetransfer

Fast file transfer over UDP Broadcast.

Install (CLI)

From PyPI

pip install udp-filetransfer

From Git

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

Usage (CLI)

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.

Install (Dependency)

Just add the udp-filetransfer package, like with any other dependency.

Usage (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[1])

Note: Just like with CLI, the receiver needs to be started first.

Credits

Package maintained by Trickster Animations

Project details


Download files

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

Files for udp-filetransfer, version 0.4.5
Filename, size File type Python version Upload date Hashes
Filename, size udp_filetransfer-0.4.5-py3-none-any.whl (10.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size udp-filetransfer-0.4.5.tar.gz (9.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page