Skip to content

devops

7 articles in this category.

devops

Publishing a Python Package with uv and a PyPI Token

Publishing a Python package used to feel like a small battle: setup.py rituals, half-forgotten twine commands, and the anxiety of accidentally pushing a broken release to PyPI. Thankfully, modern t…

Abdur-Rahmaan Janhangeer

Chef

devops

How to fix docker.errors.DockerException: Error while fetching server API version without using Docker Desktop

If you use Docker and get it running while using Docker Desktop, you might run into this error: docker.errors.DockerException: Error while fetching server API version: ('Connection a…

Abdur-Rahmaan Janhangeer

Chef

devops

Why I Prefer Rye: Rye v/s PDM v/s Poetry

Rye is impressive both as a package manager and as an onboarding tool for Python projects. I have done quite some workshops/sessions and one main pain point is getting Python up and running. Rye in…

Abdur-Rahmaan Janhangeer

Chef

devops

Installing pipx on Mint and Ubuntu

pipx allows you to use python projects on the commandline without using a virtual environment each time. Here’s how to install it on Ubuntu and Linux Mint …

Abdur-Rahmaan Janhangeer

Chef

devops

Python: Running makefile on windows using git mingw bash

Linux owners configure makefiles so as to have easy commands to perform operations such as make dependencies to pip install required packages. Here are the dry simple steps to run make…

Abdur-Rahmaan Janhangeer

Chef

devops

Upload your package to Pypi

To upload your project to Pypi, this assumes you have your setup.py ready cd into your package directory and type python setup.py sdist …

Abdur-Rahmaan Janhangeer

Chef

devops

Python Virtual Environments on Windows: A Complete Guide

If you’re starting multiple Python projects, you will quickly run into a problem: one project needs Version 1.0 of a library, while another needs Version 2.0. If you install everything globally, yo…

Abdur-Rahmaan Janhangeer

Chef