Getting Scapy with it
I like reading books to gather my info. However the only book I could find was Python Scapy Dot 11. And it costs $30. I was not that interested in this module. There was one book I found that had a chapter on Scapy. This was Hands-On Enterprise Automation with Python.
The Scapy chapter was the second to last one of the book. This book had 400 pages. It talked about a lot of things. I found out Scapy's specialty is generating network packets. It can also capture packets from the network.
Scapy has a Domain Specific Language to specify the packets. It makes it easy to generate network traffic, as it fills in defaults for most fields. You can do all kinds of things if you have full control over the network traffic. For example, you can undertake a man-in-the-middle attack.
I will need to play around with this Scapy module to see what other kinds of network programs I can think up.