ctoth / area_reader

MUD area reader
9 stars 1 forks source link

Area Reader

A Python Library to parse MUD area files

This project reads area files from old MUDs and presents them as Python objects. The returned objects all use the Attrs package so it is very easy to do stuff like render out the entire tree of objects as JSON or similar.

Example Usage


>>> import area_reader
>>> area_file = area_reader.RomAreaFile('midgaard.are')
>>> area_file.load_area()
>>> area_file.area
RomArea(name='Midgaard', metadata='{ All } Diku    Midgaard', original_filename='midgaard.are', first_vnum=3000, last_vnum=3399, ... )