For one of my tasks I need to create a Toolbox with three tools (python scripts).
Instead of ordinary tbx I've decided to write it as Python Toolbox (pyt).
Everything is clear except the "good" way to organize the code.
As I have three tools it is not good way to store them in one file (pyt). So, I've decided to keep each tool in a separate .py file.
Here is a problem: what is the good way to organize several files with PYT for distribution or deployment on ArcGIS for Server? Should I keep them on the same level with PYT file or should I place them in some subdirectory (i.e. "Tools")?
Can you recommend any Esri guidelines or reference "big PYT toolbox" sample?
I have not find anything on this topic. In version 10.0 there was so called ToolShare folder structure which I've used.
This is more a question of style of coding. Because the idea to create one PYT file with 500-1000 or more lines of code does not look good to me and I believe it is not "pythonic" way.