[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

(
  np.linspace(0, pi, 100) 
  | p({'x': px, 'y': np.sin(px)}) 
  | p(pd.DataFrame)
  | px[px.x > px.y].head()
  | p(print, "Example 6: pandas and numpy support:\n", px)
)

--
components: Extension Modules
messages: 351307
nosy: Juan Telleria2
priority: normal
severity: normal
status: open
title: Include sspipe Module with Core Python
versions: Python 3.9

___
Python tracker 
<https://bugs.python.org/issue38052>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38052] Include sspipe Module with Core Python

2019-09-07 Thread Juan Telleria


Change by Juan Telleria :


--
type:  -> enhancement

___
Python tracker 
<https://bugs.python.org/issue38052>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 think if we want to propose it as a PEP, we should 
plan for a 1.0.0 release with some improvements on the API and documentation 
and tests.

>> does it have an FOSS licence compatible with Python, and if not, are the 
>> authors willing to re-licence it?
I am willing to re-licence it.

>> are the authors willing to donate the module to Python?
Yes

>> are the authors happy to change their release schedule to match Python?
Yes

>> are they happy to adhere to Python's policy on backwards compatibility and 
>> new functionality?
Yes

>> are you (or the authors) willing to write a PEP proposing to add this module 
>> to the standard library? https://www.python.org/dev/peps/
Yes, with your contribution.

>> can you find a Core Developer willing to sponsor this PEP? (You can probably 
>> ask on the Python-Dev or Python-Ideas mailing lists, or the Python Discuss, 
>> or face-to-face in person at a sprint, etc.)
We may try.

I will request support for this project in Python-Dev and Pytgon-Ideas during 
this week by sending an e-mail.

Thank you also Steven for your bullet points to complete!

Juan

--

___
Python tracker 
<https://bugs.python.org/issue38052>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 
<https://bugs.python.org/issue38052>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 reference is passed forward).

--

___
Python tracker 
<https://bugs.python.org/issue38052>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com