Pixelated Dream

Official Website



MAP Databasing System

MAP Databasing System © 2025 by Pixelated Dream is licensed under CC BY-ND 4.0


MAP Databasing System is an incredibly intuitive and simple system for databases that are flexible, fast, and robust. To get started, create a mapdb object either with a context manager or with the pull() and push() functions, then you can begin interacting with the object.


Context Manager

import mapdbsys as mdb # Import the library under the name 'mdb'

with mdb.mapdb("map_file.map") as mapfile: # Context Manager
    for key, values in mapfile.items(): # Iterate through the mapfile entries' keys and values
            print(f'Key \'{key}\' has {len(values)} values; {', '.join(values)') # Print data about entry

    mapfile['myEntry'] = ['myValue'] # Set 'myEntry' to 'MyValue

Pull/Push Function

import mapdbsys as mdb # Import the library under the name 'mdb'

mapfile = mdb.pull('map_file.map') # Open a map file and save the object representation to a variable

# Reference the contents through *.entries instead of just *
for key, values in mapfile.entries.items(): # Iterate through the mapfile entries' keys and values
    print(f'Key \'{key}\' has {len(values)} values. ({', '.join(values)}') # Print data about entry

mapfile.entries['myEntry'] = ['myValue'] # Set 'myEntry' to 'MyValue

mapfile.push() # Push changes back into database

Versions