pytest-dev / apipkg

MIT License
55 stars 16 forks source link

Can someone tell me the significance of the hidden folder with underscore.ie. in the example what is the requirement of _mypkg?? #11

Closed megumi123 closed 6 years ago

RonnyPfannschmidt commented 6 years ago

its simply the pattern in python for "private" objects

megumi123 commented 6 years ago

But will it make a difference or will it affect anything if we create modules and write apipkg in the same package??

RonnyPfannschmidt commented 6 years ago

its not quite clear what you are asking for - i believe if you set things up with a reasonable separation and naming you wont hit an problems

megumi123 commented 6 years ago

i am asking it there will be problems if we skip the _mypkg creation

RonnyPfannschmidt commented 6 years ago

@megumi123 i dont think so - its simply a pattern that helps you separate things sanely

megumi123 commented 6 years ago

separate what exactly??

RonnyPfannschmidt commented 6 years ago

@megumi123 things you consider private from things you want to publish

megumi123 commented 6 years ago

Thanks a lot for all our help and quick replies