Python API and utilities for Batfish, a network configuration analysis tool. Current version 2025.7.7.2423, requires Python >=3.9. Released on a weekly cadence aligned with Batfish releases.
pip install pybatfishNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Connect to a Batfish service and verify the connection.
Use bf = Session(host='localhost', port=9999) without http://
Use load_questions() to load built-in questions, or provide a path.
Use a single session object for the duration of the script.
Use Session class instead.
Use 'from pybatfish.client.session import Session' instead of 'import pybatfish; pybatfish.client...'
Ensure Batfish is running on the specified host and port. Check with: bf.check_connection()
Use Session(host='localhost', port=9999) and ensure you import from correct module.
Run 'pip install pybatfish' and ensure the correct Python interpreter is used.
No dependency data recorded yet.