$npx skillfedfor your agent

pybatfish

Python API and utilities for Batfish

With conditionsPyPI Python ModulesReleased Jul 2025101.7K downloads / moApache License 2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pybatfish-2025.7.7.2423-py3-none-any.whl
v2025.7.7.2423 · released 2025-07-07 · Python >=3.9 · 10 runtime deps: attrs, deepdiff, pandas, python-dateutil, PyYAML, requests, requests-toolbelt, setuptools

Yes, if you operate a network and need pre-deployment validation. Pybatfish is actively maintained, has low install friction, and solves a real gap in network automation by providing correctness guarantees without live device access. The permissive Apache 2.0 license poses no restriction. Caveat: Batfish server must be installed separately, which adds operational overhead; evaluate that dependency against your deployment model.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Batfish server must be installed and running separately; pybatfish is a client library only and cannot function standalone.
  • Low install friction with a pure-wheel distribution and common dependencies.
  • Actively maintained with recent releases; last commit 2026-08-12 and 242 repository stars indicate ongoing development.

License · maintenance · safety

Apache License 2.0 (permissive) — Licensed under Apache License 2.0 (permissive), allowing commercial and private use with minimal restrictions.

last release 2025-07-07 (403 days) · last repo commit 2026-08-12 · 242 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 101,747 downloads/mo, #12,919 on PyPI

Verify before relying

pip install pybatfish
import pybatfish
# Requires Batfish server running separately; see https://github.com/batfish/batfish
  • Whether Batfish server installation complexity or system requirements would affect typical adoption
  • Performance characteristics when analyzing large or complex network configurations
  • Availability of pre-built Batfish server distributions or containerized deployment options
Same gist for agents: .md · .json

What it is and what it does

Pybatfish provides a Python interface to Batfish, a network configuration analysis engine that validates device settings for correctness without needing live network access. It reads device configurations (from routers, switches, firewalls, etc.) and checks them against security policies, reliability requirements, and compliance rules—catching misconfigurations before deployment. The tool can verify end-to-end reachability, test how configurations behave after link or device failures, validate ACL and firewall rules, and compare configurations across vendors.

The package wraps Batfish's analysis capabilities in a Python API suitable for automation workflows, Jupyter notebooks, or integration into CI/CD pipelines. It depends on standard libraries like pandas, requests, and PyYAML for data handling and communication with a separate Batfish server instance. Network engineers use it to close the gap between configuration changes and deployment by proving correctness before changes go live.

Use it for

  • Validate network configuration changes before deployment to catch policy violations and misconfigurations early
  • Test end-to-end reachability and verify that single-link or single-device failures don't break critical paths
  • Verify that ACL and firewall rule changes are correct and don't inadvertently block legitimate traffic
  • Check configuration compliance against organizational standards (MTU, AAA, NTP, SSH settings, etc.)
  • Analyze network behavior across different vendor devices to ensure functional equivalence
  • Integrate network validation into automation workflows and CI/CD pipelines for continuous compliance

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you operate a network and need pre-deployment validation.

Pybatfish is actively maintained, has low install friction, and solves a real gap in network automation by providing correctness guarantees without live device access. The permissive Apache 2.0 license poses no restriction. Caveat: Batfish server must be installed separately, which adds operational overhead; evaluate that dependency against your deployment model.

Install

pybatfish on PyPI

Before you install

Low install friction with a pure-wheel distribution and common dependencies. Actively maintained with recent releases; last commit 2026-08-12 and 242 repository stars indicate ongoing development.

Batfish server must be installed and running separately; pybatfish is a client library only and cannot function standalone.

License in practice

Licensed under Apache License 2.0 (permissive), allowing commercial and private use with minimal restrictions.

Quickstart

pip install pybatfish
import pybatfish
# Requires Batfish server running separately; see https://github.com/batfish/batfish

Verify before relying

  • Whether Batfish server installation complexity or system requirements would affect typical adoption
  • Performance characteristics when analyzing large or complex network configurations
  • Availability of pre-built Batfish server distributions or containerized deployment options

Package facts

LicenseApache License 2.0 permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
10 packages
attrsdeepdiffpandaspython-dateutilPyYAMLrequestsrequests-toolbeltsetuptoolssimplejsonurllib3
MaintenanceActively maintained 403 days since the last release
Last repo commit
First released
Downloads101,747 / month, #12,919 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 3 - AlphaIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python Modules

Evidence: pybatfish-2025.7.7.2423-py3-none-any.whl

Tags

Capabilities
network configuration validationbatfish python clientnetwork policy verificationpre-deployment network testingnetwork compliance checkingconfiguration analysis toolnetwork security validation
Topics
network-validationconfiguration-analysispre-deployment-testing
PyPI keywords
networkconfigurationverification

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “network configuration validation”

  • pybatfishPybatfish is a Python client for Batfish, a network validation tool…
  • pyavd-utilsProvides Rust-based utility functions for PyAVD, handling data…
  • antaANTA is a Python framework that automates network validation tests…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also nbval · nbtoolbelt · bumble · nbmake · jupyterhub · nbdev · agent_governance_toolkit · pyobjc-framework-DeviceCheck · wafw00f · nbsphinx