Read & write JavaScript values from Python with the V8 serialization format.
Project description
v8serialize
Read & write JavaScript values in 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.0a1.tar.gz
(80.9 kB
view hashes)
Built Distribution
Close
Hashes for v8serialize-0.1.0a1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b31e16e29c19929ff35a9e5981d2cd3f0c4f3af104f98af5e2891ff3ba37302 |
|
MD5 | 87ae64606f4cd1cef319dfd8178ca367 |
|
BLAKE2b-256 | a55089ccae30c7a26837df16cc82eb45c2e8a6735b3aae13fc8da712214fc52d |