A beginner guide to the folder structure generated by cookiecutter-pypackage

cookiecutter-pypackage offers a very well equipped standard project template to create a Python package. However for many first time users, the automatically generated folder structure can be quite intimidating. The typical folder structure generated by cookiecutter-pypackage (https://github.com/cheeyeelim/cookiecutter-pypackage) (v1.1.2) looks like this : Note that all mentions of {{cookiecutter.project_slug}} and {{cookiecutter.pkg_name}} will be replaced by the… Continue reading A beginner guide to the folder structure generated by cookiecutter-pypackage

Trying to use cookiecutter-pypackage and ended up contributing to it

cookiecutter-pypackage provides an amazing framework to develop a Python package with. The original version (https://github.com/audreyfeldroy/cookiecutter-pypackage) has been further extended by many contributors to include useful tools such as poetry and pre-commit. I decided to start using one of the newer versions of cookiecutter-pypackage (https://github.com/waynerv/cookiecutter-pypackage) (v1.1.1) before running into an error in one of the GitHub… Continue reading Trying to use cookiecutter-pypackage and ended up contributing to it

Loading child CSS style in WordPress

If you are a WordPress newbie and wanted to add your own CSS styles onto an existing WordPress theme using child template like me, you may also be following the instruction on WordPress. As I was working with the twenty-twenty-one theme, which uses get_template functions to load CSS styles, I added the following given code… Continue reading Loading child CSS style in WordPress