Sam Hooke

Showing all content tagged with "Python".

View all tags.

Replacing Tox with Poetry and pre-commit for CI linting

NiceGUI with async classes

Poetry: install alpha builds

GitLab CI and poetry-dynamic-versioning

How to set up Ansible and Vagrant in WSL

Testing Vector and Clickhouse

Python log storage

Using structlog and journald

Run Poetry command as systemd service

Reading from and writing to journald in Python

Installing systemd-python on Ubuntu

python-systemd != python-systemd

PlantUML in Sphinx (using MyST Markdown) and GitLab

Poetry: Offline installation of packages

NiceGUI: Change threshold for binding propagation warning

NiceGUI: Bind visibility to arbitrary value

NiceGUI: tkinter error when updating pyplot

Django REST framework performance (part 2: techniques)

NiceGUI with Click, Poetry, auto-reload and classes

FastAPI: Pretty print JSON

Django REST framework performance (part 1: profiling)

NiceGUI: File upload and download

NiceGUI: Show a confirmation popup

NiceGUI: Always show main scrollbar

Poetry: Fixing permission error when upgrading dulwich

Python: Using isort with Black to improve your code base

Poetry: Running Black and isort with pre-commit hooks

Poetry: Fix warning about sources

Poetry: Automatically generate package version from git commit

Poetry: build.py example

Poetry: Fixing dubious ownership error

Installing Cartopy on Ubuntu

Memory allocation error in WAV files created by arecord

Celery and systemd: how to avoid a restart loop

Collecting Netlify Analytics data with Python

Decimal error when upgrading from Django 3.1 to Django 3.2

Setting up Emscripten with CMake on Linux

Setting up Emscripten with CMake in Git Bash on Windows 10

Removing a third-party Django app and its tables

mypy tips

mypy and verbose logging

Migrating from Tastypie to Django REST Framework

Python abi3 wheels

Configure Python package to install dependencies only for specific combinations of Python version and platform

Python click: allow user to retry input upon validation failure

Call Python script from pylint init-hook

Python DEPRECATION warning and pip --no-cache-dir breakage

libusb usb_open error -4

Bootstrapping pip

Invalid handle error from Coverage inside Tox

Run Django makemigrations as tox task

Calling iPerf3 from Python

Debugging a Python process not terminating due to active threads

Lightweight Python SIP library

Attach shell to running Python process

Calling MPSSE over FTDI from Python on CentOS 7

Calling C from Python

Get errno from Python requests `ConnectionError`

Python logging: %s vs format

Captured `SystemExit` with pytest and tox

Tastypie "TypeError of type 'NoneType' is not iterable"

Using a non-pk as a foreign key in a Tastypie endpoint

pytest and functools decorator

Celery pinging

Kombu "timed out" bug: connection hangs forever in Kombu 4.1.0

Manually invoking Celery app control commands from a Python package

Using a different port with Fabric