Package: pySendCast
pySendCastA pure Python cross-platform program to send and receive data over local area network(LAN) with on-the-fly gzip streaming and broadcastingImportant noteOn firewall environments like Windows, set TCP port 18902 allowed. This port is used to transfer gzip stream. On Windows, it should be also checked that the network you are sending files over is set to be a private network.How to installpip install pySendCastHow to usesendcast send [file or messages...]
  sends without PIN.
sendcast send <-p|--pin> [file or messages...]
  sends with newly generated PIN
sendcast send <-up|--userpin> <user PIN> [file or messages...]
  sends with user specified PIN
sendcast send <-r|--recv|--receiver> <recv address> [file or messages...]
  sends to IP or address directlyfile or message can be any ofnothing : check up each other's ip addressfile path : send and receive files with glob searching (ex.*.py)url : receiver opens default web browser with itmessage : simple text messagessendcast recv
  receives without PIN
sendcast recv <user PIN>
  receives with user specified PIN
sendcast recv <n|new|g|gen>
  receives with newly generated PINHow to use with usecasescheckup IPSender : 192.168.0.10$sendcastsend192.168.0.11Receiver : 192.168.0.11$sendcastrecv192.168.0.10Send messageSender$sendcastsendhello192.168.0.11Receiver$sendcastrecv192.168.0.10
helloGeneral usecase : send two files without PIN. The First non-PIN receiver on network takes the fileSender$sendcastsenda.txtb.txt192.168.0.11
sendinga.txt
sendingb.txtReceiver$sendcastrecv192.168.0.10
extractinga.txt(23bytes)extractinga.txtdone(23bytes,0.0000413seconds,0.557163MB/s)extractingb.txt(27bytes)extractingb.txtdone(27bytes,0.0000405seconds,0.666000MB/s)generated PIN usecase : send with newly generated PIN. receiver must know PIN to receive the file (be aware that its stream itself isnot securely encrypted.)Sender$sendcastsend-pa.txtb.txt
generatedPIN:3061192.168.0.11
sendinga.txt
sendingb.txtReceiver$sendcastrecv3061192.168.0.10
extractinga.txt(23bytes)extractinga.txtdone(23bytes,0.0000413seconds,0.557163MB/s)extractingb.txt(27bytes)extractingb.txtdone(27bytes,0.0000405seconds,0.666000MB/s)user PIN usecase : send with user PIN. receiver must know PIN to receive the file (be aware that its stream itself isnot securely encrypted.)Sender$sendcastsend-up9999a.txtb.txt
userPIN:9999192.168.0.11
sendinga.txt
sendingb.txtReceiver$sendcastrecv9999192.168.0.10
extractinga.txt(23bytes)extractinga.txtdone(23bytes,0.0000413seconds,0.557163MB/s)extractingb.txt(27bytes)extractingb.txtdone(27bytes,0.0000405seconds,0.666000MB/s)receiver generated PIN usecase : send with receiver created user PIN. sender must know PIN to send the file (be aware that its stream itself isnot securely encrypted.)Receiver$sendcastrecvn
generatedPIN:2342192.168.0.10
extractinga.txt(23bytes)extractinga.txtdone(23bytes,0.0000413seconds,0.557163MB/s)extractingb.txt(27bytes)extractingb.txtdone(27bytes,0.0000405seconds,0.666000MB/s)Sender$sendcastsend-up2342a.txtb.txt
userPIN:2342192.168.0.11
sendinga.txt
sendingb.txtspecial usecasesend/recv from AndroidusingTermuxSecurity noteThe receiver takes any gzip tar stream from port number 18902.
Becuase this stream is not encrypted, it can be captured with network tools or can be easily targeted for hacking.Any responses from security issues are not taken by developer.