cocotb-bus
What it is and what it does
cocotb-bus is a library of pre-packaged testbenching utilities and reusable bus interface models designed to work with cocotb, a Python framework for hardware verification. It sits on top of cocotb and scapy, providing abstraction layers for common bus protocols and simulation patterns to reduce boilerplate in hardware testbench development.
The package is no longer actively maintained, as stated in its own documentation. While the last commit is recent, the library itself has not had a release in 265 days. This means new features and bug fixes are unlikely, and compatibility with newer versions of cocotb or Python may drift over time.
Use it for:
- Building reusable testbenches for common hardware bus protocols without writing interface models from scratch
- Accelerating cocotb-based verification projects by leveraging pre-built bus abstractions
- Prototyping hardware simulation environments where standard bus interfaces are needed
- Learning cocotb verification patterns through example bus interface implementations
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
cocotb-bus provides pre-built testbenching tools and reusable bus interface models for cocotb, a Python-based hardware verification framework.
Yes, with strong conditions. The package is useful for cocotb users who need standard bus interfaces and can tolerate an unmaintained library. The unclear license is a significant blocker—verify licensing terms before use in commercial or proprietary projects. Low install friction and zero known vulnerabilities are positive, but the lack of active maintenance means you should expect to fork or patch it if issues arise.
Install
cocotb-bus on PyPI
pip
pip install cocotb-busuv
uv add cocotb-buspoetry
poetry add cocotb-busInstalling cocotb-bus
Before you install
Installation is straightforward with low friction—a pure Python wheel with only cocotb and scapy as runtime dependencies. However, the package is explicitly unmaintained per its own caution notice, and the last release was 265 days ago.
License in practice
License status is unclear—no SPDX identifier or raw license text is available in the package metadata, making it impossible to determine what terms govern use or redistribution.
Quickstart
pip install cocotb-bus
import cocotb_bus
Requires cocotb and scapy as runtime dependencies; requires Python >=3.6
Verify before relying
- What specific bus interfaces and testbenching tools are included in version 0.3.0
- Whether the unmaintained status affects compatibility with recent cocotb releases
- How the unmaintained status will affect long-term support and security updates
Package facts
| License | not declared (unclear) |
| Python support | supports the current Python release (>=3.6) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — cocotb, scapy |
| Maintenance | actively maintained — 265 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 437,152/month — #6,672 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: cocotb_bus-0.3.0-py3-none-any.whl
Tags
More Testing packages
Pluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
virtualenvvirtualenv creates isolated Python environments…
permissive · top 100 on PyPI
coverageCoverage.py measures which lines of Python code…
permissive · top 1,000 on PyPI
pytest-asynciopytest-asyncio is a pytest plugin that enables…
permissive · top 1,000 on PyPI
pytest-json-ctrfA pytest plugin that generates test reports in…
permissive · top 1,000 on PyPI
cocotbcocotb is a Python framework for writing…
permissive · top 15,000 on PyPI
cocotb-coverageAdds constrained randomization and functional…
permissive · top 15,000 on PyPI
cocotb-testcocotb-test wraps cocotb hardware simulations…
permissive · top 15,000 on PyPI
pyuvmImplements the IEEE 1800.2 Universal…
permissive · top 15,000 on PyPI
gdsfactoryplusGDSFactory+ extends the GDSFactory library with…
unclear · top 15,000 on PyPI
bluezooBlueZoo is a mock BlueZ D-Bus API service that…
copyleft · top 15,000 on PyPI
adafruit-circuitpython-busdeviceProvides I2CDevice and SPIDevice helper classes…
permissive · top 15,000 on PyPI
lambdalibLambdalib provides technology-agnostic hardware…
permissive · top 15,000 on PyPI
peakrdl-uvmGenerates UVM (Universal Verification…
copyleft · top 15,000 on PyPI
securesystemslibSecuresystemslib provides a cryptography…
permissive · top 5,000 on PyPI