Binary Logging Format Library for Python
Introduction
A Python library for reading and writing BLF files, a proprietary binary logging format of Vector Informatik GmbH. BLF files are commonly used in automotive logging and testing scenarios.
Installation
pip install vblf
Usage
Reading BLF Files
from vblf.can import CanMessage, CanMessage2
from vblf.reader import BlfReader
# Open a BLF file
with BlfReader("example.blf") as reader:
# Iterate through all objects in the file
for obj in reader:
print(f"Type: {obj.header.base.object_type.name}")
print(f"Timestamp: {obj.header.object_time_stamp}")
# Handle CAN messages
if isinstance(obj, (CanMessage, CanMessage2)):
print(f"CAN ID: {obj.id}")
print(f"Data: {obj.data.hex()}")
Writing BLF Files
from vblf.can import CanMessage
from vblf.writer import BlfWriter
# Create a new BLF file
with BlfWriter("output.blf") as writer:
# Create a CAN message
msg = CanMessage(...)
# Write the message to the file
writer.write(msg)
License
This project is licensed under the MIT License.
Acknowledgments
- Vector Informatik GmbH for the BLF file format
- Tobias Lorenz for his C++ library vector_blf
Metadata
Release files for vblf 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| vblf-0.3.1.tar.gz | 50.1 kB | With provenance | Details for vblf-0.3.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vblf-0.3.1-py3-none-any.whl | Python 3 | none | any | Details for vblf-0.3.1-py3-none-any.whl |
Total release size: 70.5 kB
Release files / vblf-0.3.1.tar.gz
| Download URL | vblf-0.3.1.tar.gz |
|---|---|
| Size | 50.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4fd0f463668b8a456e75e1189836bf9e0120d5ca7ace42a8f9c193c0d538f5f5
|
|
BLAKE2b-256 checksum How to use checksums |
fe54f2c8f1c53c6e4b573487e672b2085720528d302599800df4cc3fcbfd2e98
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 19, 2026.
Transparency logRelease files / vblf-0.3.1-py3-none-any.whl
| Download URL | vblf-0.3.1-py3-none-any.whl |
|---|---|
| Size | 20.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f21a4acf44e0c79e66834f42f0256fdb1c3012ef9b8f71234aa12178ebba5acf
|
|
BLAKE2b-256 checksum How to use checksums |
5ffb09dc22f166272165d307e26123fa145980a01237016e35cafd8ee038a18b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 19, 2026.
Transparency logSecurity for vblf 0.3.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for vblf-0.3.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 19, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.