Registry / data / broadbean

broadbean

JSON →
library0.15.0pypypi✓ verified 84d ago

A Python package for easily generating and manipulating signal pulses. Version 0.14.0 supports Python >=3.9, uses src layout, and has been modernized with ruff pre-commits. Release cadence is irregular.

pip install broadbean
INSTALL
IMPORT
SIG · BROADBEAN
B
broadbean
datapythonv0.15.0
Install
7.7s avg
Import
290ms
Disk
181MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.14.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.276s · 178.3MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 7.7s · import 0.304s · 171MB
181MB installed
● package 181MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

BluePrint
from broadbean import BluePrint
from broadbean.blueprint import BluePrint
BluePrint moved to top-level in recent versions.
Element
from broadbean import Element
from broadbean.element import Element
Element is available at top-level.
Sequence
from broadbean import Sequence
from broadbean.sequence import Sequence
Sequence is exported at top-level.

Demonstrates creating a Gaussian pulse blueprint, adding it to an element, building a sequence, and retrieving the waveform.

import numpy as np from broadbean import BluePrint, Element, Sequence # Create a simple Gaussian pulse bp = BluePrint() pulse = bp.setSRAmp('gaussian', amp=1, mu=0, sigma=1) # Add to element elem = Element() elem.addBluePrint(0, bp) # Build sequence seq = Sequence() seq.addElement(0, elem) # Get waveform waveform = seq.build() print(waveform)
Debug
Known issues
breakingBluePrint.plot was removed in v0.11.0. Use external plotting libraries like matplotlib instead.
fix
Use matplotlib or another plotting library to visualize your signals.
affects: >=0.11.0
breakingElement.plotElement and Sequence.plotSequence were removed in v0.11.0.
fix
Use matplotlib to plot your own data.
affects: >=0.11.0
breakingSequence.plotAWGOutput was removed in v0.11.0.
fix
Use sequence.build() to get the waveform and plot externally.
affects: >=0.11.0
gotchaIn v0.10.0, BluePrint was renamed and moved; ensure imports are from broadbean directly.
fix
Use 'from broadbean import BluePrint' instead of submodule imports.
affects: >=0.10.0
gotchaThe package does not install with pip on Python 3.13+ due to lack of support; Python 3.9-3.12 are supported.
fix
Use Python 3.9-3.12 for installation.
affects: >=0.14.0
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'broadbean'
Library not installed.
fix
Run 'pip install broadbean'
ImportError: cannot import name 'BluePrint' from 'broadbean'
BluePrint was not a top-level import in older versions (pre-0.10).
fix
Upgrade to broadbean >=0.10.0 and use 'from broadbean import BluePrint'
AttributeError: 'BluePrint' object has no attribute 'plot'
BluePrint.plot was removed in broadbean 0.11.0.
fix
Use external plotting libraries such as matplotlib to visualize the signal.
Upgrade
Version history
0.15.0latest on PyPI · released May 11, 2026
Audit
Dependencies
numpyrequiredCore dependency for array operations and signal generation.
Agent activity
10 hits · last 30 days
node
8
OpenAI (training)
1
Resources
broadbean — pip install broadbean · libregistry