Is there a way in python to get the path to the in-memory file, so it'll behave as a normal file for methods which needs file path?
My objective is to protect the file, so avoiding dumping into /tmp.
Trying to read an encrypted file -> decrypt a file into memory -> use its path for other interfaces. 
mmap does not provide path or filename. 
Or any alternative solution for this problem ?
Can you elaborate a bit more what the "other interfaces" require? If the other interfaces just need a file-like object (read, write, etc), then you can use io.StringIO or io.BytesIO from the standard library.
Path to in-memory-file without dumping in tmp