|
|
|
|
|
by cgarciae
2827 days ago
|
|
Point taken! Thanks a lot for your feedback.
Just a few points:
* pypeline is already taken :(
* My main reason for this was because initially I was thinking that you did an `import pypeln as pl` and then called things like e.g. `pl.pr.map` since you cant abbreviate the module inside `pl` then I picked short names, but then I decided to go for and import the module kind of strategy. I am thinking about expanding the module names to their worker names:
* pr --> process
* th --> thread
* io --> task And then have the conventions
* from pypeln import process as pr
* from pypeln import thread as th
* from pypeln import task as io # as ta? This conversation is very valuable, thank you all for the feedback. |
|
I see your reasoning here (`import pypeln as pl`) but I still think where you have submodules you should use unabbreviated words for their names.
For me I'd be happy with `pl.process.map` in my code, but `pl.pr.map` feels a bit too obscure to have as the default.
These things are quite subjective of course, but part of that subjective judgement comes from the experience of what is commonly done in other Python libraries (the stdlib is a bit of a mixed bag in this regard unfortunately, riddled with CamelCase and other abominations).