Skip to main content

Pybrctl

Pybrctl is a pure Python library for managing bridges. It is a lightwight wrapper for the linux brctl command, included in the bridge-utils package. It requires Python, Linux, and the bridge-utils package.

It was written by Ido Nahshon at Jan 2015, and it was released under the GPL license.

Example Usage

This example shows how to set up a new bridge and remove it:

import pybrctl

brctl = pybrctl.BridgeController()

b = brctl.addbr("br0")
b.addif("eth0")
b.addif("eth1")
b.setmaxageing(0)

brctl.delbr("br0")

Source

Latest version on github: https://github.com/udragon/pybrctl Feel free to contribute. ;)

Release files for pybrctl 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pybrctl 0.1.4
File Size Uploaded
pybrctl-0.1.4.tar.gz 9.8 kB Details

Release files / pybrctl-0.1.4.tar.gz

Download URL pybrctl-0.1.4.tar.gz
Size 9.8 kB
Tags Source
SHA-256 checksum
How to use checksums
681c881aa595186fc94eb11091d6ba6470ec9d9aed748d6e6722a3a4bdc9a9f0
BLAKE2b-256 checksum
How to use checksums
ddc72604411e96f1096fd4aec93b6328a998bf096190cbaa166d578808943f5b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.6

Release history Release notifications | RSS feed

This release

0.1.4 This release

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page