Fully-typed Arma 3 PBO extractor library
Project description
PBOkit
Fully-typed Arma 3 PBO extractor library for Python 3.10 and up.
Usage
Load PBOkit
import pbokit
Read the contents of a PBO file
pbo = pbokit.PBO.from_file("pbofile.pbo")
Read a PBO file from bytes
pbo = pbokit.PBO.from_bytes(b"bytes_go_here")
Check if a file exists in the PBO
pbo = pbokit.PBO.from_file("pbofile.pbo")
pbo.has_file("description.ext")
Read the contents of a file in the PBO
Binary Files
pbo = pbokit.PBO.from_file("pbofile.pbo")
pbo["loadscreen.paa"].as_bytes()
Text Files
pbo = pbokit.PBO.from_file("pbofile.pbo")
pbo["description.ext"].as_str()
Read header values from the PBO
pbo = pbokit.PBO.from_file("pbofile.pbo")
pbo.headers["prefix"]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pbokit-0.2.0.tar.gz
(4.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pbokit-0.2.0.tar.gz.
File metadata
- Download URL: pbokit-0.2.0.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
536dd0526df5a1e307be203c1d1b036e3d958e3d56ded34e33ab04b0253dd315
|
|
| MD5 |
51c32627e01ddfc42e521b41e1a9b33b
|
|
| BLAKE2b-256 |
061492c0d67272aba1f65d9464857b81c7ff2ce5fd5a2bc8a6306b16996b7332
|
File details
Details for the file pbokit-0.2.0-py3-none-any.whl.
File metadata
- Download URL: pbokit-0.2.0-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
04f94ee9b74aecf11720a15614e217d1bc68be3cc46ee3144aaf098cb51e1169
|
|
| MD5 |
ba5a79e0b2303b1952d689db6ecea20b
|
|
| BLAKE2b-256 |
35017361c356f8d216b5c88b707d3c7626d794165910a8002ba4a748e89e8aa3
|