https://github.com/cofob/autogenlib/blob/e21405af47fe4c90af3...
The library uses python dirty tricks, in this case using call stack, where the library looks for code from the user, gets the name of the file and reads it.