Hi Jaun,


With installing 3rd party libraries being very easy thanks to pip, PyPI, wheels etc., the bar for inclusion in the stdlib is higher than it was before: being generally useful is usually not enough. Mostly, there needs to be a specific reason why a library *needs* to be in the stdlib rather than simply up on PyPI.

For example, some stdlib libraries were added mainly so that they could be used in the rest of the stdlib: unittest.mock and dataclasses come to mind as examples.

IMO, it would be very unlikely that the devs would be convinced to add it to the stdlib.


P.S. Posting to Python-Dev, Python-Ideas and creating an issue is excessive and splits conversation, making it difficult to follow. In the future, such proposals should begin by being posted only in Python-Ideas, please.

- Tal

On Sat, Sep 14, 2019 at 12:28 AM Juan Telleria <jtelleriar@gmail.com> wrote:
Could sspipe module be included as part of Python's Standard Library?

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)
)
The issue in Python's Bug Tracker is:
https://bugs.python.org/issue38052
Any Core Python Developer willing to support this PEP?
Thank you,
Juan Telleria 
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-leave@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/2MUGDTKV5CFRXZ5LKLIBW5XB7Y3QZV6A/