MAP Databasing System
MAP Databasing System © 2025 by Pixelated Dream — 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.
Context Manager
import mapdbsys as mdb # Import the library
with mdb.mapdb("map_file.map") as mapfile: # Context Manager
for key, values in mapfile.items():
print(f'Key \'{key}\' has {len(values)} values; {", ".join(values)}')
mapfile['myEntry'] = ['myValue'] # Set entry
Pull / Push Functions
import mapdbsys as mdb # Import the library
mapfile = mdb.pull('map_file.map') # Open a map file
for key, values in mapfile.entries.items():
print(f'Key \'{key}\' has {len(values)} values. ({", ".join(values)}')
mapfile.entries['myEntry'] = ['myValue'] # Set entry
mapfile.push() # Push changes back into database
Versions
0.1.1
Open BetaShow Changelog
- Added more detailed comments throughout the codebase
- Added
pull()andpush()functions for non-context-manager interaction - Revamped
dict_to_map()andmap_to_dict()— fixed parsing issues - Fixed entry splitting and value parsing bugs