dargslan-iptables-export
Firewall Rule Exporter & Documenter — Export iptables/nftables rules to readable, JSON, and CSV formats. Auto-detects backend. Zero external dependencies.
Installation
pip install dargslan-iptables-export
CLI Usage
dargslan-iptexp report # Full firewall report
dargslan-iptexp readable # Human-readable export
dargslan-iptexp json # JSON export
dargslan-iptexp csv # CSV export
dargslan-iptexp raw # Raw iptables output
dargslan-iptexp stats # Rule statistics
dargslan-iptexp readable -o rules.txt # Export to file
Python API
from dargslan_iptables_export import IptablesExport
ie = IptablesExport()
rules = ie.parse_iptables_rules()
readable = ie.export_readable()
ie.print_report()
More from Dargslan
- Dargslan.com — Linux & DevOps eBook Store
- Free Cheat Sheets
- Blog & Tutorials
License
MIT — see LICENSE
Metadata
Release files for dargslan-iptables-export 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dargslan_iptables_export-1.0.0.tar.gz | 4.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dargslan_iptables_export-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.5 kB
Release files / dargslan_iptables_export-1.0.0.tar.gz
| Download URL | dargslan_iptables_export-1.0.0.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dc82e727b89f93473d905dcd90008530f7b55588b7f92f0561f84e60f4f0b9de
|
|
BLAKE2b-256 checksum How to use checksums |
27cc7f48beb1362cbcf78dd37e66641d7fc22e81d8e86b1ddddc8add01db36d5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|
Release files / dargslan_iptables_export-1.0.0-py3-none-any.whl
| Download URL | dargslan_iptables_export-1.0.0-py3-none-any.whl |
|---|---|
| Size | 5.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4efe303b4e30f703c0b37b73f3b631e46078e16c6a429a72765494e271617fa5
|
|
BLAKE2b-256 checksum How to use checksums |
0bc24239eb263e89a11d27596a423cbfece2d2b6cb9056a369cd826c28c0b38f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|