Hi
I have written a python module wich consists of several .py
files which contain classes and so on. I want to expose it to client using "Facade" pattern. So I don't want clients learn all internal classes but they only need methods exposed by this API interface.
Question is: where do I put this api ? Have I to define a file api.py
inside the module of can I put this api in the __init__.py
of the module?
I explain better with an example
<my_module>\
__init__.py
core.py
submodule1.py
submodule2.py
util.py
........
so where do I put the public API of ?