NickChapman / RequestNetwork.py

A python implementation of the Request Network API
MIT License
13 stars 5 forks source link

pythonic directory structure #10

Open ghost opened 6 years ago

ghost commented 6 years ago

Probably a discussion to be had after we've ported all the code, but wouldn't it be more pythonic to move servicesContracts.py to servicesContracts/__init__.py (same for servicesExtensions).

NickChapman commented 6 years ago

So this is something I have considered as well. My thought right now was that while we were copying things over from the original it would make more sense to keep things in the extremely verbose (and bad) from thing.what_i_want_to_import import what_i_want_to_import. In the future we can move the imports into an __init__.py and then at least you'll be able to do from thing import what_i_want_to_import.