ThinkBayes2 icon indicating copy to clipboard operation
ThinkBayes2 copied to clipboard

add ThinkBayes2 to pypi

Open EricSchles opened this issue 7 months ago • 3 comments

Hello!

Would it be okay to add ThinkBayes2 to pypi? If so, happy to get things ready to go and document the commends to run. I think @AllenDowney should probably be the one to publish though, since he's the owner.

Does this seem fair?

EricSchles avatar Jun 10 '25 15:06 EricSchles

Hi Eric. Thanks for this suggestion and your willingness to work on it.

Currently ThinkBayes2 is not set up as a Python package, and I generally discourage readers from trying to install it -- it seems to cause a lot of problems, especially for beginners. Rather, I have set up the notebooks to download the utils.py module into the current directory and import it from there.

But maybe I am missing the goal -- what would be the benefit of putting the project on PyPI?

AllenDowney avatar Jun 10 '25 15:06 AllenDowney

I use it in one of my libraries because I couldn't find some of your functions implemented anywhere else, at least not correctly, lol. If you'd prefer I can just "steal" the functions and add them to my library

EricSchles avatar Jun 10 '25 15:06 EricSchles

Ah, ok. Yes, you can lift functions according to the license. Out of curiosity, which ones? Some of them could probably be moved into empiricaldist (and properly documented and tested :)

AllenDowney avatar Jun 11 '25 02:06 AllenDowney