validator
validator copied to clipboard
Intra Package Referencing
https://docs.python.org/3/tutorial/modules.html,
part 6.4.2, after installing with pip i couldn't follow along with your example, i had to change the import lines in the modules for the imports to work.
before: import field (in colletion.py) import rule (in field.py and rules.py)
after: from validator import field from validator import rule
Also i had to run the 2to3 python conversion tool on rules.py