amlibpy
This library is a collection of utilities that can be helpful when working with amLib software.
Surfboard (incl Surfride)
It also includes amlibpy.surf, for working with Surfboard files. This library allows both low-level modification of files, as well as providing a high-level interface to common structures. The high-level interface is very incomplete, but changes made through either interface reflect in the other.
Even though the high-level interface is incomplete, all reading and writing of Surfboard files is performed using the low-level interface, and lossless round-tripping is guaranteed. If you manage to cause losssy round-tripping, that's a bug!
The following is an example of how amlibpy.surf can be used to modify all strings in a given surfboard file:
surf = VTBF_Reader(open("example_input.srd", "rb")).load()
assert surf.type == "SRFF"
sr = surf.children[0]
all_text = sr.find_deep(surfride.SurfRide_TEXT)
for i in all_text:
i.text = b"Hello world!"
VTBF_Writer(open("example_output.srd", "wb")).dump(surf)
Release files for amlibpy 2025.10.5.post5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| amlibpy-2025.10.5.post5.tar.gz | 72.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| amlibpy-2025.10.5.post5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 147.4 kB
Release files / amlibpy-2025.10.5.post5.tar.gz
| Download URL | amlibpy-2025.10.5.post5.tar.gz |
|---|---|
| Size | 72.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
04d3b71b43fca0bc5cf67a58ce71b6a24c971abaac352802d7659161f29dd6c7
|
|
BLAKE2b-256 checksum How to use checksums |
5a7e3f46f7fce3ae87f0b27eec2d7ba23505e822e420b78a3e83e9581b525fc1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.0
|
Release files / amlibpy-2025.10.5.post5-py3-none-any.whl
| Download URL | amlibpy-2025.10.5.post5-py3-none-any.whl |
|---|---|
| Size | 74.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
53533e357be7bb1765e3498b26b6c9b10316bc1cdaa194e693120f47ebb3a536
|
|
BLAKE2b-256 checksum How to use checksums |
0a5c3c646d8339e2dbb1d7d93cf7276be880ec4caee8250f146ae1c2e8e0a898
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.0
|