published on

intro to python packaging

authors

how i got here

on my first programming job, when receive some common task, i quite shock when my leader told me to copy some util function from other task to reduce time solve the problem. i was like "wait, how about when something change then i have to change this piece of code in both place? what happened if i have another task, then i will copy this code over and over?".

dependency
package dependency. source: xkcd

don't repeat yourself

DRY is a software development principle, which stands for "don't repeat yourself". it means that you should not repeat the same code in multiple places. instead, you should create a single source of truth for that code and reuse it wherever needed. this helps to reduce duplication, improve maintainability, and make your code more readable.

abstraction layer

coming soon 🚧