May 2020
I am aggregating here some more or less interesting stuff of various IT related materials which I came across this month. Some of them are strictly related to the things I did or am currently doing.
Some thoughts
This month I managed to improve caching of the company website while also working on its CI/CD pipeline. Then I started to work on building python wheels on GitHub Actions for an Open Source project which occupied me in the last days of the month. Meanwhile I also investigated caching in an internal Django-based project and continued learning about core infrastructure and services of Google Cloud Platform on Coursera and Qwiklabs platforms.
Articles
Python libraries
rich: Rich Text and Beautiful Formatting in the Terminal
Rich is a Python library for rich text and beautiful formatting in the terminal.
Python
Sharing Your Labor of Love: PyPI Quick and Dirty
A completely incomplete guide to packaging a Python module and sharing it with the world on PyPI.
Django libraries
Django
How to serve private media files with Django (link not valid anymore)
Build a document manager with user-uploaded files and various permissions.
Using Webpack With Django: No Plugins Required!
Webpack is a popular JavaScript module bundler. Django is a popular web framework. Can the two play nicely together?
Caching in Django
Caching is a common technique for improving web app performance, and Django has a robust-built-in caching system.
Caching and scaling for Django
An overview with sample Github code on how/why to cache a Django site.
Database High Availability for Django
Simple Database High Availability for your Django app
GitHub Actions in action - Setting up Django and Postgres (link not valid anymore)
Go step by step through configuring Django & Postgres on GitHub Actions.
A Guide to ASGI in Django 3.0 and its Performance
A thorough overview of ASGI in Django.
djangohunter
Tool designed to help identify incorrectly configured Django applications that are exposing sensitive information.
Python Refactorings
Here are six ways you can refactor code to be more concise, more Pythonic, and more performant.
Tools
docker-gen
Generate files from docker container meta-data
github-push-action
GitHub actions to push back to repository eg. updated code
forego
Foreman in Go. Foreman: manage Procfile-based applications.
Cloud
Google Cloud – Understanding Gcloud Configurations
A gcloud configuration is a set of properties that govern the behavior of gcloud and other Google Cloud SDK tools.
Other stuff
How To Set Upstream Branch on Git
In this tutorial you learn more about upstream branches and how they are related to remote tracking branches in Git.
Semantic Versioning 2.0.0
Proposal of a simple set of rules and requirements that dictate how version numbers are assigned and incremented.