pySerial VS scapy

Compare pySerial vs scapy and see what are their differences.

Our great sponsors
  • SonarLint - Clean code begins in your IDE with SonarLint
  • Scout APM - Less time debugging, more time building
  • SaaSHub - Software Alternatives and Reviews
pySerial scapy
6 16
2,599 7,716
0.9% 1.6%
2.8 8.9
about 1 month ago 2 days ago
Python Python
BSD 3-clause "New" or "Revised" License GNU General Public License v3.0 only
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.


Posts with mentions or reviews of pySerial. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-06-11.


Posts with mentions or reviews of scapy. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-05-30.
  • BMW F Series Gear Selector, Part One: Failures
    1 project | | 26 Jun 2022

    The depth of BMW diagnosis tools is impressive.

    Even more impressive has been the work of scapy around the debug and diagnosis protocols BMW uses.

    Check it out:

  • Spending spring days crafting packets at NahamCon 2022
    3 projects | | 30 May 2022
    scapy for packet manipulation
  • This Week in Python
    5 projects | | 13 May 2022
    scapy – the Python-based interactive network packet manipulation program & library
  • How do I properly contribute to someone's repo?
    3 projects | | 11 May 2022
  • interfacing with a wireless network adapter
    1 project | | 6 May 2022
    For generating specific types of packets I recommend scapy
  • Searching PCAP files with python
    1 project | | 2 Mar 2022
    I'd imagine you could use scapy to open the pcap file and analyse the contents. Presumably you could tell from DNS packets what hosts they looked up, and from HTTP traffic what search terms were POSTed or passed via URL. Not much help for HTTPS though
  • Pros and Cons of Rust for Cybersecurity
    4 projects | | 23 Feb 2022
    But, due to the young ecosystem, Rust isn't often the best choice for the 2nd category. There are exceptions: while working on a ROP exploitation CLI tool, I was surprised to find the top 3 fastest x86-64 disassemblers are all written in Rust. But other languages just have more mature security ecosystems. Python in particular has some amazing libraries like scapy and bindings for yara.
  • Errors after starting Scapy
    1 project | | 8 Feb 2022
    ayp ayyyyyyySCP//Pp syY//C | Version 2.4.5 AYAsAYYYYYYYY///Ps cY//S | pCCCCY//p cSSps y//Y | SPPPP///a pP///AC//Y | A//A cyP////C | Have fun! p///Ac sC///a | P////YCpc A//A | Craft packets like it is your last scccccp///pSP///p p//Y | day on earth. sY/////////y caa S//P | -- Lao-Tze cayCyayP//Ya pY/Ya | sY/PsY////YCc aC//Yp sc sccaCY//PCypaapyCP//YSs spCPY//////YPSps ccaacs using IPython 7.28.0
  • Scapy
    1 project | | 19 Nov 2021
    Scapy is a powerful, interactive Python2/3 packet-manipulation program that can forge or decode packets for a wide array of protocols, send & capture them, match requests with replies and more. Easily handles tasks like scanning, tracerouting, probing, unit tests, attacks and network discovery so it can replace hping, most of nmap, arpspoof, arp-sk, arping, tcpdump, tshark, p0f, etc. Also performs specific tasks most other tools can’t handle, like sending invalid frames, injecting your own 802.11 frames and combining technics. Our thanks for this suggestion go to lazyjk.
  • Awesome Penetration Testing
    124 projects | | 6 Oct 2021
    scapy - Python-based interactive packet manipulation program and library.

What are some alternatives?

When comparing pySerial and scapy you can also consider the following projects:

pyshark - Python wrapper for tshark, allowing python packet parsing using wireshark dissectors

keyboard - Hook and simulate global keyboard events on Windows and Linux.

RustScan - 🤖 The Modern Port Scanner 🤖


ino - Command line toolkit for working with Arduino hardware

node_pcap - libpcap bindings for node

nfstream - NFStream: a Flexible Network Data Analysis Framework.

Astro Pi - Team Jakopičevca - Programs for Astro Pi - Mission Space Lab - Team Jakopičevca

Pingo - THIS IS A FORK! The main repo is at the pingo-io organization

PyUserInput - A module for cross-platform control of the mouse and keyboard in python that is simple to install and use.

elmocut - Eye candy ARP spoofer for Windows