I want to know is there any to way to share my python code as library which people can use it but can't change it.
In ios, I can generate a static library and all .h file to other people. A programmer can get all methods he can use by viewing the .h file, but I don't know how to implement it in Python? how to tell a person which methods he can use like .h file?