Bookmarks tagged Python

22 Feb peps.python.org
Writing a program to become a well-behaved Unix daemon is somewhat complex and tricky to get right, yet the steps are largely similar for any daemon regardless of what else the program may need to do.
This PEP introduces a package to the Python standard library that provides a simple interface to the task of becoming a daemon process.
15 Feb github.com
This is a pure-MicroPython driver for the ST7789 / ST7735 / ILI9471 / ILI9472 display drivers, designed in order to use very little memory.
13 Feb github.com
This graphic library is dedicated to :
Lilygo T4-S3 AMOLED Lilygo T-Display S3 AMOLED Lilygo 1.43 inches SH8601 AMOLED Lilygo 1.75 inches SH8601 AMOLED Waveshare ESP32-S3 1.8 inches AMOLED Touch Waveshare ESP32-S3 2.41 inches AMOLED Touch This Micropython driver is created on behalf of nspsck RM67162 driver. It is also convergent with russhugues ST7789 driver. I also would like to thanks lewisxhe. Your advices helped me a lot. Finally, I must talk of tomolt. The libschrift TTF lightweight library truelly rocks ! My main goal was to adapt a driver library that would give the same functions thant ST7789 driver, in order to be able to get my micropythons projects working whether on PICO + ST7789 or ESP32 + RM690B0 or ESP32 + RM67162 The driver involves a frame buffer of 600x450, requiring 540ko of available ram (T4-S3 version). The driver involves a frame buffer of 536x240, requiring 280ko of available ram (TDisplay S3 version). In a more general way, requirements are WIDTH x HEIGHT x 2 bytes or ram.
#ESP32 + #Python
10 Feb github.com
This application performs a speech-to-text transcription using OpenAI's Whisper-tiny and Whisper-base model on the Hailo-8/8L/10H AI accelerators, on a Raspberry Pi 5
9 Feb github.com
Example of Python code to process chunks of sounds on a application loop
8 Feb github.com
Whisper is a general-purpose speech recognition model. It is trained on a large dataset of diverse audio and is also a multitasking model that can perform multilingual speech recognition, speech translation, and language identification.
8 Feb alexandra-zaharia.github.io
Suppose you are running a Python systemd service that opens some file descriptors (these can be regular files, named pipes, sockets, and so on). When the service is stopped, it needs to finish cleanly by closing and/or removing the associated resources. This post presents two manners in which the service may be stopped gracefully.
1 Feb medium.com
Because I had been previously using my Pi as a headless server, I hadn’t installed a desktop environment. I wanted to add a lightweight heads-up display to the server, and I wanted a graphical application that could operate without X, the usual graphical system on Linux.
Writing such a lightweight application required understanding how to interact more directly with my new screen, the learnings from which I’ll share here. This article is a summary of multiple sources I pieced together.
17 Jan suntechlite.com
Raspberry Pi controlling small LED array. Here is using a LED strip, but the chip may be the same to move the wished module:
https://amzn.eu/d/iVcOwJG
15 Jan github.com
Example in Python of a TTS server for Catalan ONNX models