Metadata-Version: 2.4
Name: blobly
Version: 2026.10.1
Summary: Blobly Net's CAN test engine from Python: projects, buses and an event loop over libblobly
Author: Marten Hildell
License-Expression: MIT
Project-URL: Homepage, https://github.com/MartenH/blobly_net
Project-URL: Documentation, https://github.com/MartenH/blobly_net/blob/main/docs/scripting_python.md
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: Microsoft :: Windows
Classifier: Topic :: Software Development :: Testing
Classifier: Topic :: System :: Hardware
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# blobly

Blobly Net's CAN test engine from Python. `blobly` loads a Blobly Net project (`.blobnet`), brings
up its simulated ECUs, and gives you its channels — send, receive, the controller's health — and an
event loop with handlers for frames, health changes and timers.

```sh
pip install blobly
```

```python
import blobly

blobly.init()  # on the main thread
with blobly.Project("sim-demo.blobnet") as net:
    can1 = net.channels.CAN1
    net.on_message(can1, 0x102, print)
    net.on_timer(100, lambda: can1.send(0x101, b"\x05"))
    net.run(1000)
```

The wheel carries the engine (`libblobly`) for its platform: Linux x86_64 and Windows x64. No other
package is needed.

Documentation: [docs/scripting_python.md](https://github.com/MartenH/blobly_net/blob/main/docs/scripting_python.md)
in the Blobly Net repository.
