Member-only story
How to Build Your First Python Package
Make your awesome code conveniently available to the world, because you’re awesome too
This blogpost is now available in Polish too, read it on BulldogJob.pl
About two years ago I published my very first data-science related blogpost. It was about Categorical Correlations, and I honestly thought no-one will find it useful. It was just experimental, and for myself. 1.7K claps later, I’ve learned that I cannot determine what other people will find useful, and I’m quite happy I can assist others on the web like others on the web assist me.
I was also quite new to Python and Github at that time, so I also experimented with writing the code to these categorical-correlations that I wrote about, and publishing it on Github. I gave that piece of code a name: Dython, as in Data tools for pYTHON.
But this isn’t what this blogpost is about — it’s about the last experimental thing I did after everything I just mentioned: I created a Python library and uploaded it to PyPI — which you might know as pip install
. Again, this all began just as a learning exercise — but with around 1.5K installs per month, I realized again that I underestimated my code ability to be useful to others.