Skip to content

v0.1.3-alpha

Choose a tag to compare

@CosminBMemetea CosminBMemetea released this 26 Apr 10:45
· 51 commits to main since this release

Thrilled to launch canml v0.1.3-alpha—your new best friend for taming CAN bus logs! 🚀

What’s inside?

  • load_blf() magic
    Seamlessly decode Vector BLF files using your trusty DBC definitions into a tidy pandas DataFrame.
  • to_csv() simplicity
    One function call and your decoded data is ready to open in Excel, VS Code, or your favorite data tool.
  • Dual timing modes
    Preserve hardware timestamps or enforce a clean, uniform 10 ms spacing—perfect for testing and demos.
  • 'Rock-solid' testing
    Unit & integration tests cover everything from empty files to invalid DBCs and multi‐file workflows.
  • BLF generator example
    Check out examples/generate_blf.py to spin up your own sample logs in seconds.
  • CI/CD out-of-the-box
    ✔️ Multi-Python testing (3.9–3.12)
    ✔️ Auto-publish to PyPI on vX.Y.Z tags
    ✔️ Optional coverage reports

Quickstart

pip install canml
from canml import load_blf, to_csv

# Decode and save!
df = load_blf("output-0.blf", "path/to/test.dbc", force_uniform_timing=True)
to_csv(df, "decoded.csv")
print("Done! 🎊")

Thanks to everyone who helped make this shiny new release happen. If you hit any bumps or dream up new features, drop us an issue or PR. Now—go forth and decode those CAN logs with ease! 🏎️💨