Greetings @Kalebu , so this just a suggestion on the package structure improvement. Suggestion list goes as follows;
- Use
__init__.py to only Import key classes | methods from modules directly into the package namespace. i.e the folder structure could then be;
pypesa/
__init__.py
mpesa.py
mpesa_execptions.py
service_urls.py
__init__.py could also include other important parameters like, version, author, release date, doc-string with a decent sample usage etc etc.
- Add a
tests folder with the following structure;
tests/
__init__.py
test_pypesa.py
Note, tests/__init__.py can/should be left empty.
- Any other structural improvements that i haven't listed/noticed yet.
So to sum up, i think i can working on this if you think it might be a good idea. Also, i think there other code related improvements suggestion(mostly on the OOD), that i will definitely create their own separate issues.
Greetings @Kalebu , so this just a suggestion on the package structure improvement. Suggestion list goes as follows;
__init__.pyto only Import key classes | methods from modules directly into the package namespace. i.e the folder structure could then be;__init__.pycould also include other important parameters like, version, author, release date, doc-string with a decent sample usage etc etc.testsfolder with the following structure;Note,
tests/__init__.pycan/should be left empty.So to sum up, i think i can working on this if you think it might be a good idea. Also, i think there other code related improvements suggestion(mostly on the OOD), that i will definitely create their own separate issues.