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
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
<https://bugs.python.org/issue38
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. Howe
Change by Juan Telleria :
--
type: -> enhancement
___
Python tracker
<https://bugs.python.org/issue38052>
___
___
Python-bugs-list mailing list
Unsubscrib
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