Making your own Python package public available
In this post, I will note the general procedures for packaging my own Python projects/functions and upload to both Github and also Python Package Index (PyPI). As an example, I will simply build an Python package called PalAniSh (Palette of Animation of Shanghai) which contains color palette on those classical animations that Shanghai Animation Film Studio produced.
1. Color Palette generation
Herein, I used three screenshots from the animation called “The Proud General” made ub 1956. All raw images as source of color palette were derived from Bilibili with video links below. The extraction and combination of colors were implemented using web-based tool Adobe color or Colormind (http://colormind.io/image).
Then, I will save those color lists into json file for future uses.
Kommentare