Weekly Shaarli

All links of one week in a single page.

Week 33 (August 14, 2023)

Document docker poetry best practices · python-poetry · Discussion #1879 · GitHub

Good discussion and examples on best practices for building/delivering python poetry projects with Docker: Dockerfile tips, which command line arguments/ env vars to use for poetry, and how to approach multi-stage builds.

Python and Poetry on Docker - Baptiste Maingret’s Homepage

Build a multi-stage Docker image from official Python images with support for Poetry projects.

A good (concise) example of multi-stage dockerizing if you already somewhat know about basic docker concepts.

beartype/beartype

'Static' and very low-overhead type checking for Python. Uses the standard python type hints, requires a simple decorator and will crash the program if inputs do not fit types hinted.

GitHub - Abscissa/scriptlike: Utility library to help you write script-like programs in D

Amazing little library making writing 'scripts' in D so much easier: user interaction, shell commands, dry-run mode, return fail codes, and some more.