I\'m doing some queries in Python on a large database to get some stats out of the database. I want these stats to be in-memory so other programs can use them without going
Extremely late to the party, but pyfilesystem2 (with which I am not affiliated) seems to be a perfect fit:
https://pyfilesystem2.readthedocs.io
pip install fs
from fs import open_fs mem_fs = open_fs(u'mem://') ...