Read & write JavaScript values from Python with the V8 serialization format.
Project description
v8serialize
Read & write the V8 serialization format with Python.
Byte order/endianness
V8 uses the native byte order when serialising data. This library explicitly uses little endian. This is because:
- The vast majority of systems using V8 are little endian
- Because the serialized byte order is native, when people use it to store persistent data they are probably assuming little-endian systems will read it later.
- I don't have a big-endian system or VM to test against
In principle there's no thing to stop prevent adding big endian support though.
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
v8serialize-0.1.0a0.tar.gz
(64.9 kB
view hashes)
Built Distribution
Close
Hashes for v8serialize-0.1.0a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd05244b63ec2bb3cc2d71e0c761a1d66321a0c85c1c913523592ebff111da83 |
|
MD5 | a45f2ddb972b3e8a7d19fc1909f7085d |
|
BLAKE2b-256 | d480f857e136600f295512696f0e59bafb2b382b6caeaa24ecedcceed7a342d8 |