Skip to main content

Build Status codecov PyPI Python: 3.6+ Code style: black License: MIT Code quality: MyPy Security: bandit

VBF parser

vbf-parser is a Python library for parsing VBF files.

Installation

Use the package manager pip to install.

pip install vbf-parser

Usage

Simple parsing with converting to json:

import json
from vbf_parser import extract_header_body, jsonify_vbf_header
with open("file.vbf", "rb") as file:
    header_body = extract_header_body(file)
vbf = json.loads(jsonify_vbf_header(header_body))

Work in progress:

Proper lexing and manual parsing:

from vbf_parser import extract_header_body, lex_vbf_header, parse_vbf_tokens
with open("file.vbf", "rb") as file:
    header_body = extract_header_body(file)
vbf = parse_vbf_tokens(lex_vbf_header(header_body))

License

MIT

Metadata

Release files for vbf-parser 1.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vbf-parser 1.4.0
File Size Uploaded
vbf-parser-1.4.0.tar.gz 7.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vbf-parser 1.4.0
File Interpreter ABI Platform
vbf_parser-1.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 21.3 kB

Release files / vbf-parser-1.4.0.tar.gz

Download URL vbf-parser-1.4.0.tar.gz
Size 7.1 kB
Tags Source
SHA-256 checksum
How to use checksums
8e5369b676c516c4ac63d91241f2b8afd70bb6e3420cdfd2c268a8693111afff
BLAKE2b-256 checksum
How to use checksums
0ddbe0f98dd6e210ad5e50f225a3b3e50a350ef9b02c7cd45349a8c195d47a82
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.22.0

Release files / vbf_parser-1.4.0-py3-none-any.whl

Download URL vbf_parser-1.4.0-py3-none-any.whl
Size 14.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5329747fa58d580a1497e87f5bcb010563eab8af6fccd6f79a9d626de613f464
BLAKE2b-256 checksum
How to use checksums
319025379356ced191f587cdfc9590828dc3449edc80cc706ad69756b3efe1c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.22.0

Release history Release notifications | RSS feed

This release

1.4.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page