BAC0
BACnet Scripting Framework for testing DDC Controls
Decision gist · record as of 2026-08-14
Yes, if you work with BACnet devices or building automation systems. The package is actively maintained, has low install friction, carries no known vulnerabilities, and fills a specific niche for BAS programmers. The copyleft license requires you to share modifications but poses no barrier to using it as-is. Not relevant for general Python development outside building automation.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or over.
- BACnet/IP network access and proper network configuration are prerequisites for actual device communication.
- Low install friction with a pure-wheel distribution.
License · maintenance · safety
LGPL-3.0 (copyleft) — Licensed under LGPL-3.0 (copyleft). Any derivative work or distribution must preserve the copyleft terms and make source code available under the same license.
last release 2026-07-26 (19 days) · last repo commit 2026-07-26 · 243 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 98,010 downloads/mo, #13,115 on PyPI
Alternatives
Verify before relying
pip install bac0
import bac0
from bac0 import connect
# Connect to BACnet network
network = connect()- Whether the package works with Python versions beyond 3.10 or if 3.10 is a hard minimum.
- Specific BACnet device compatibility and any firmware version requirements.
- Whether aiosqlite is used for local data persistence or only for optional features.
What it is and what it does
BAC0 is a Python framework for building automation system (BAS) programmers who need to interact with BACnet devices, particularly DDC (Direct Digital Control) controllers. It wraps BACpypes3 to provide a high-level asynchronous interface for reading device properties, writing values, and browsing BACnet networks over IP. The library is designed for test-driven development of control sequences—allowing you to simulate sensor inputs using the out_of_service property even when hardware is not connected, making it practical for testing controller logic before deployment.
The package depends on BACpypes3 for protocol handling, colorama for terminal output, python-dotenv for configuration, pytz for timezone support, and aiosqlite for data operations. It targets Python 3.10 and over and has been actively maintained since 2016, with recent updates indicating ongoing development.
Use it for
- Test DDC controller sequences without physical sensors by writing simulated values to inputs.
- Automate BACnet device discovery and property inspection across a building network.
- Write integration tests for building automation control logic in Python.
- Monitor and log BACnet device state changes over time for diagnostics.
- Prototype building automation workflows before deploying to production controllers.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you work with BACnet devices or building automation systems.
The package is actively maintained, has low install friction, carries no known vulnerabilities, and fills a specific niche for BAS programmers. The copyleft license requires you to share modifications but poses no barrier to using it as-is. Not relevant for general Python development outside building automation.
Install
bac0 on PyPI
Before you install
Low install friction with a pure-wheel distribution. The package is actively maintained with a recent release (19 days old) and steady development activity. Five runtime dependencies are all well-established packages.
Requires Python 3.10 or over. BACnet/IP network access and proper network configuration are prerequisites for actual device communication.
License in practice
Licensed under LGPL-3.0 (copyleft). Any derivative work or distribution must preserve the copyleft terms and make source code available under the same license.
Quickstart
pip install bac0
import bac0
from bac0 import connect
# Connect to BACnet network
network = connect()
Verify before relying
- Whether the package works with Python versions beyond 3.10 or if 3.10 is a hard minimum.
- Specific BACnet device compatibility and any firmware version requirements.
- Whether aiosqlite is used for local data persistence or only for optional features.
Package facts
| License | LGPL-3.0 copyleft |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 5 packagesBACpypes3coloramapython-dotenvpytzaiosqlite |
| Maintenance | Actively maintained 19 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 98,010 / month, #13,115 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: bac0-2026.7.25-py3-none-any.whl
Tags
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 › “bacnet scripting python”
- BAC0BAC0 is an asynchronous Python scripting framework for interacting…
- bacpypes3BACpypes3 is a Python library for building BACnet applications with…
- bacpypesBACpypes implements the BACnet protocol stack in Python, enabling…
Give your agent the search over MCP, or paste the wish link into any chat.
More Testing packages
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
virtualenv creates isolated Python environments where packages can be installed independently without affecting the system Python or other projects.
Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.
Install it if you want to measure test completeness or enforce coverage thresholds in your project.
pytest-asyncio is a pytest plugin that enables writing and running async test functions using the asyncio library, allowing developers to await code directly within test cases.
Install it if you write tests for any asyncio-based code.
A pytest plugin that generates test reports in Common Test Report Format (CTRF) as JSON, compatible with pytest-xdist and pytest-playwright for distributed and browser-based testing.
Install it if you need CTRF-formatted test output for CI/CD integration or cross-tool reporting.
See also bacpypes3 · bacpypes · PyChromecast · pyisy · py-ccm15 · python-can · aiounifi · pyserial-asyncio · python-izone · ncclient