Python Networking

Open-source Python projects categorized as Networking | Edit details

Top 23 Python Networking Projects

  • GitHub repo opensnitch

    OpenSnitch is a GNU/Linux port of the Little Snitch application firewall

    Project mention: How can we be sure that a FOSS did not hide malware in the binary that it ships? | reddit.com/r/linuxmasterrace | 2022-01-21

    With OpenSnitch is really easy. netdata, suricata or similar tools can also help, but are more servers oriented.

  • GitHub repo Twisted

    Event-driven networking engine written in Python.

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • GitHub repo trio

    Trio – a friendly Python library for async concurrency and I/O

    Project mention: Gunicorn | news.ycombinator.com | 2022-01-11

    Sounds like you need some structured concurrency. Check out Trio or AnyIO.

    https://trio.readthedocs.io/

    It's too bad we got asyncio as the standard library module, though some SC concepts are going to make it into the library in future Python versions.

  • GitHub repo curio

    Good Curio!

    Project mention: asyncio and concurrent.futures | reddit.com/r/Python | 2021-03-18

    If you are doing heavy IO (1k or more tasks), then it makes sense to use asyncio. There is controversy over asyncio so there are alternatives, but they work fundamentally the same, just with different interfaces. Some argue that you're better off with curio or gevent (my preference).

  • GitHub repo pyzmq

    PyZMQ: Python bindings for zeromq

    Project mention: ZMQ socket options — How do I? | reddit.com/r/learnpython | 2022-01-13
  • GitHub repo IVRE

    Network recon framework, published by @cea-sec & @ANSSI-FR. Build your own, self-hosted and fully-controlled alternatives to Shodan / ZoomEye / Censys and GreyNoise, run your Passive DNS service, collect and analyse network intelligence from your sensors, and much more!

    Project mention: Any recommendations for network scanner with web UI? | reddit.com/r/selfhosted | 2021-10-31
  • GitHub repo Crossbar

    Crossbar.io - WAMP application router

    Project mention: Jupyter data analytics on real-time trading data from crypto exchanges | reddit.com/r/ethereum | 2022-01-12

    This works by a WebSocket client written in AutobahnPython, which stores data in zLMDB and published data in WAMP via Crossbar.io. zLMDP is memory mapped from within Jupyter, which allows direct high performance access (millions of rows/sec on PyPy!).

  • OPS

    OPS - Build and Run Open Source Unikernels. Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.

  • GitHub repo NAPALM

    Network Automation and Programmability Abstraction Layer with Multivendor support

    Project mention: DevOps for network infrastructure? | reddit.com/r/devops | 2021-09-19

    Yes. My team uses ansible/NAPALM to automate network device mgmt and configs. Everything is automated and deployed with CI/CD.

  • GitHub repo gns3-gui

    GNS3 Graphical Network Simulator

    Project mention: Cannot upgrade GNS3 due to: "Download Request Received Thank you for your interest in the GNS3 software. We are processing your request and will get back to you with download details within 2 business days." | reddit.com/r/gns3 | 2021-10-23

    Hi, just download here

  • GitHub repo geneva

    automated censorship evasion for the client-side and server-side

    Project mention: AdBlocking as a Service | reddit.com/r/dns | 2021-09-12

    China just blocks ESNI entirely, possibly Iran too, and I'd assume once ECH becomes popular they'd do just that. The paper points out it's trivial to defeat the blocking, but there needs to be at least a client or server-side modification, which is kinda out of scope for your app & service. Would Cloudflare join the cat & mouse game? Probably not, considering in China they choose to cooperate with the local entity.

  • GitHub repo evillimiter

    Tool that monitors, analyzes and limits the bandwidth of devices on the local network without administrative access.

    Project mention: ULPT Request: how can I use up as much WiFi as possible while I’m at work? | reddit.com/r/UnethicalLifeProTips | 2021-09-22

    Just use netcut(https://arcai.com/ ), or evillimiter(https://github.com/bitbrute/evillimiter ). That way, you can slow down their wifi without affecting your speed at all

  • GitHub repo habu

    Hacking Toolkit

    Project mention: Awesome Penetration Testing | dev.to | 2021-10-06

    Habu - Python utility implementing a variety of network attacks, such as ARP poisoning, DHCP starvation, and more.

  • GitHub repo LDAP3

    a strictly RFC 4510 conforming LDAP V3 pure Python client. The same codebase works with Python 2. Python 3, PyPy and PyPy3

  • GitHub repo diesel

    Greenlet-based event I/O Framework for Python (by dieseldev)

  • GitHub repo gns3-server

    GNS3 server

    Project mention: Qemu behaving very weirdly as if it were 32 bits | reddit.com/r/linuxquestions | 2021-09-26
  • GitHub repo trigger

    Trigger is a robust network automation toolkit written in Python that was designed for interfacing with network devices.

    Project mention: Network to Code Nautobot | reddit.com/r/networking | 2021-02-25

    First of all: I am not a marketing guy. I'm a Python guy and a network guy, and I've been doing open source for many years with my projects [Trigger](https://github.com/trigger/trigger) and [NSoT](https://github.com/dropbox/nsot).

  • GitHub repo wg-meshconf

    WireGuard full mesh configuration generator.

    Project mention: Updated MinIO NVMe Benchmarks: 2.6Tpbs on Get and 1.6 on Put | news.ycombinator.com | 2022-01-04

    my experience, i dont know if this is comparable, but from my memory (i have not made any notes on that), i've tried min.io in december and switched to seaweed a weeks ago, because my usecase was transition from local file storage to DFS + also enable our developers to transition from local filesystem to s3. Since my resources are limited (vsphere VM) with 3 hosts + different disks, i tried to set up a 3 vm cluster with minio first, after i did some research on different systems (ceph, longhorn.io, ..) i wanted to have an easy setup-able system, which supports s3. I relied a lot on what people measured and chose min.io first because it supported mount via s3. Then i tried to copy over about 34 million files (mostly few bytes, but can also be 1Gbyte), with a mass of about 4.2TB. I tried different methods, rsync, cp, cp with parallelism,.. and i took me about 3 days to copy over 300GB of data at best. Then i also found out that it was impossible to list files. We have one single folder with over 300k projects (guid) beneath (growing). After that i gave seaweed a shot. Why i did not used it firsthand was documentation was a bit confusing and it did not gave me all the answers i needed as fast as minio did.

    Now, my seaweed setup is a 3 vm cluster with 3 disks per vm (1TB) each. I configured a wireguard mesh (https://github.com/k4yt3x/wg-meshconf) between the VMs and configured master and volumes server to talk to each other via wireguard IPs securely. I also configured ufw to only allow communication between http/gRPC ports. I also configured a filer (using leveldb3) to use wireguard IPs (master and volumes) and let it communicate with some specific servers on the outside (ufw).

    After that i mounted the filer via weed.mount on that specific server and tried to copy over the same files/folders. after 2 days i copied over about 1.5 TB of the data via rsync. There was also no problem with file listing and accessing the filer from different machines while uploading stuff. But there is a overhead when reading and creating lots of small files. File listing is even faster than local btrfs file listing.

    chris is also very nice and fast fixing bugs.

  • GitHub repo suzieq

    Using network observability to operate and design healthier networks

    Project mention: Show HN: Netpen.io Visual editor for Linux network scripts generation | news.ycombinator.com | 2021-10-21

    Do you mean that you'd create some network setup and it'd visualize it for you? in that case the current tool supports defining the setup as a yaml file and uploading it. maybe some tool can be written to build this yaml automatically for some scenarios.

    Or are you referring to something like a network observability tool like https://github.com/netenglabs/suzieq

  • GitHub repo nsot

    Network Source of Truth is an open source IPAM and network inventory database

  • GitHub repo dnxfirewall

    DNXFIREWALL (dad's next-generation firewall), a C/CPython hybrid next generation firewall built on top of Linux and bound to kernel/ netfilter hooks for packet control.

    Project mention: DNS over TLS Option - Not DoH | reddit.com/r/privacytoolsIO | 2021-08-03

    If you are curious you can check out the overarching firewall project (also FOSS) here: https://github.com/DOWRIGHTTV/dnxfirewall

  • GitHub repo py-ipv8

    Python implementation of Tribler's IPv8 p2p-networking layer

    Project mention: Is Tor Browser the only implementation of Onion routing? | reddit.com/r/onions | 2021-12-22
  • GitHub repo network

    An ansible role to configure networking (by linux-system-roles)

    Project mention: linux-system-roles/network with WPA Enterprise | reddit.com/r/ansible | 2021-12-08

    But where do phase2-auth, autoconnect-priority go? What about PEAP? The readme states, that only tls is supported atm - is this true? https://github.com/linux-system-roles/network How do I configure "ignore certificate" (don't judge me - I didn't set up the network ;-) )

  • GitHub repo amqpstorm

    Thread-safe Python RabbitMQ Client & Management library

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2022-01-21.

Python Networking related posts

Index

What are some of the best open-source Networking projects in Python? This list will help you:

Project Stars
1 opensnitch 6,784
2 Twisted 4,465
3 trio 4,463
4 curio 3,741
5 pyzmq 2,987
6 IVRE 2,375
7 Crossbar 1,959
8 NAPALM 1,808
9 gns3-gui 1,494
10 geneva 1,076
11 evillimiter 969
12 habu 723
13 LDAP3 715
14 diesel 577
15 gns3-server 561
16 trigger 534
17 wg-meshconf 503
18 suzieq 467
19 nsot 360
20 dnxfirewall 200
21 py-ipv8 181
22 network 165
23 amqpstorm 148
Find remote jobs at our new job board 99remotejobs.com. There are 29 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.
www.sonarlint.org