[issue38052] Include sspipe Module with Core Python

2019-09-14 Thread Juan Telleria
Juan Telleria added the comment: And based on previous example, a more "pythonic" syntax would: MyObj = Class \ .method1() \ .f_function1() \ .method2() \ .f_function2(param1 = "A", param2 = .) So that any function preceded by a dot "." becomes a forward-pipe function (Object

[issue38052] Include sspipe Module with Core Python

2019-09-14 Thread Maria Alguea
Maria Alguea added the comment: Will discuss it on the Mailing Lists. Thank you. Yet is important it is important to understand this powerful concept, based on R's pipe: https://magrittr.tidyverse.org Eg: MyObj = Class \ .method1() %>% f_function1() \ # Obj is 1st argument

[issue38052] Include sspipe Module with Core Python

2019-09-13 Thread Guido van Rossum
Guido van Rossum added the comment: I'm going to close this. I find your example hard to understand. If you want to discuss this on python-ideas or discourse, go ahead, but this is not ready for a PEP or for stdlib inclusion. -- resolution: -> wont fix stage: -> resolved status:

[issue38052] Include sspipe Module with Core Python

2019-09-13 Thread Juan Telleria
Juan Telleria added the comment: Even if it is not currently mainstream, piping (tidy and readable code, left to right), should be a foundation, not just a module. -- ___ Python tracker

[issue38052] Include sspipe Module with Core Python

2019-09-13 Thread Guido van Rossum
Guido van Rossum added the comment: Sorry to burst your bubble, but I don't see a reason to include this in the stdlib. Is there any reason why it can't be a dependency living on PyPI just like the packages you used in the example (numpy, pandas)? Surely this isn't a category killer? You

[issue38052] Include sspipe Module with Core Python

2019-09-08 Thread Juan Telleria
Juan Telleria added the comment: There was a positive response from package mantainers for this issue :) See: https://github.com/sspipe/sspipe/issues/4 >> is the module mature and stable? I am using this module in my own projects for a while and it satisfies my own requirements. However, I

[issue38052] Include sspipe Module with Core Python

2019-09-07 Thread Steven D'Aprano
Steven D'Aprano added the comment: Before proposing a third party module for inclusion in the standard library, you should check: - is the module mature and stable? - does it have an FOSS licence compatible with Python, and if not, are the authors willing to re-licence it? - are the

[issue38052] Include sspipe Module with Core Python

2019-09-07 Thread Juan Telleria
Change by Juan Telleria : -- type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38052] Include sspipe Module with Core Python

2019-09-07 Thread Juan Telleria
New submission from Juan Telleria : Could sspipe be included as a Core Python module? https://sspipe.github.io/ https://github.com/sspipe/sspipe https://pypi.org/project/sspipe/ sspipe allows to use syntax such as: from sspipe import p, px import numpy as np import pandas as pd (