RubyMarshal
RubyMarshal copied to clipboard
read and write serialized data from the Ruby Marshal library
last line says result = self.objects[link_id] file rubymarshal/reader.py line 169
Here's a simple program to parse rubygems index I've successfully used with rubymarshal 1.0.3: ```python #!/usr/bin/env python3 import gzip import requests import rubymarshal.reader data = requests.get('https://api.rubygems.org/latest_specs.4.8.gz').content data = gzip.decompress(data) for...
I ran into an error while reading ruby data: ``` Traceback (most recent call last): File "….py", line 5, in d = rubymarshal.reader.load(f) File "…/.local/lib/python3.8/site-packages/rubymarshal/reader.py", line 289, in load return...
Since tests are missing from source tarball distributed from PyPI, there's no way to use it for packaging the module and running tests. Please include tests into the distribution.
This repository misses all version tags. These are crucial for determining which code belongs to which version and what has changes since the last version.
Hi, I got an error while reading a .rxdata, `'unicodeescape' codec can't decode bytes in position 362-364: truncated \UXXXXXXXX escape`, I solved it by adding extra decoding type `latin-1`. ```python...