Live data from Hacker News

Show HN: Pandashells – Bringing the Python data stack to the shell prompt

github.com

1–10 of 19 posts

Re: Show HN: Pandashells – Bringing the Python data stack to the shell prompt

#3
> There is no requirements file with pandashells because some of the tools only require the standard library, and there's no sense installing unnecessary packages if you only want to use that subset of tools.

This is a terrible idea. One of the main features of package managers is dependency management. If you want to be as minimalistic as possible, separate the tools into further packages (some of which have their requirements laid out properly, and some of which only require the standard library).

Re: Show HN: Pandashells – Bringing the Python data stack to the shell prompt

#4
post #2

Pandashells is a set of cli tools that opens up the power of the python data stack to the bash prompt. Brings dataframe manipulation, visualization and statistical modeling to the unix pipeline workflow.

Since you created this tool, you can put "Show HN:" at the beginning of your submission's title. That will make it show up on https://news.ycombinator.com/show

Re: Show HN: Pandashells – Bringing the Python data stack to the shell prompt

#5

> There is no requirements file with pandashells because some of the tools only require the standard library, and there's no sense installing unnecessary packages if you only want to use that subset of tools. This is a terrible idea. One of the main features of package managers is dependency management. If you want to be as minimalistic as possible, separate the tools into further packages (some of which have their r…

Try the extra capabilities parameters in setup.py, so the user can selectively install what they'd like:

    extras_require = {
         'param_name': ['pkg1', 'pkg2'],
     },

They then can be used like so:

    pip install package[param_name]

Re: Show HN: Pandashells – Bringing the Python data stack to the shell prompt

#6

> There is no requirements file with pandashells because some of the tools only require the standard library, and there's no sense installing unnecessary packages if you only want to use that subset of tools. This is a terrible idea. One of the main features of package managers is dependency management. If you want to be as minimalistic as possible, separate the tools into further packages (some of which have their r…

Thanks for the feedback. As you may know, getting matplotlib to work properly with backends like TkAgg can be quite a chore when installing using pip (non-python libraries are needed). The Pandashells install process could be improved. I intend on creating a conda package for Pandashells that should handle the dependency issue you raise, but I just haven't had time to do so yet. I am hoping the detailed examples in the docs will suffice until I do.

Re: Show HN: Pandashells – Bringing the Python data stack to the shell prompt

#7

> There is no requirements file with pandashells because some of the tools only require the standard library, and there's no sense installing unnecessary packages if you only want to use that subset of tools. This is a terrible idea. One of the main features of package managers is dependency management. If you want to be as minimalistic as possible, separate the tools into further packages (some of which have their r…

Try the extra capabilities parameters in setup.py, so the user can selectively install what they'd like: extras_require = { 'param_name': ['pkg1', 'pkg2'], }, They then can be used like so: pip install package[param_name]

thanks mixmastamyk. That's a good suggestion.

Re: Show HN: Pandashells – Bringing the Python data stack to the shell prompt

#8
post #4
post #2

Pandashells is a set of cli tools that opens up the power of the python data stack to the bash prompt. Brings dataframe manipulation, visualization and statistical modeling to the unix pipeline workflow.

Since you created this tool, you can put "Show HN:" at the beginning of your submission's title. That will make it show up on https://news.ycombinator.com/show

I'm a total HN noob. Don't see an option for editing the post. Am I just blind?

Re: Show HN: Pandashells – Bringing the Python data stack to the shell prompt

#10
post #8
post #4

Earlier quoted context omitted.

Since you created this tool, you can put "Show HN:" at the beginning of your submission's title. That will make it show up on https://news.ycombinator.com/show

I'm a total HN noob. Don't see an option for editing the post. Am I just blind?

No...after the first X minutes, the option to change the title is lost. Maybe a mod will change it though.
Post reply on HN