Learn PyQt: Packaging PyQt5 & PySide2 applications for Windows, with PyInstaller — Turn your Qt5 application into a distributable installer for Windows
Link: https://www.learnpyqt.com/tutorials/packaging-pyqt5-pyside2-applications-windows-pyinstaller/
There is not much fun in creating your own desktop applications if you can't share them with other people — whether than means publishing it commercially, sharing it online or just giving it to someon
Link: https://www.learnpyqt.com/tutorials/packaging-pyqt5-pyside2-applications-windows-pyinstaller/
There is not much fun in creating your own desktop applications if you can't share them with other people — whether than means publishing it commercially, sharing it online or just giving it to someon
Martin Fitzpatrick
Packaging PyQt5 applications for Windows, with PyInstaller
Turn your Qt5 application into a distributable installer for Windows. There is not much fun in creating your own desktop applications if you can't share them with other people — whether than means publishing it commercially, sharing it online or just giving…
Learn PyQt: PasswordEdit — Password editing field, with Show/Hide toggle
Link: https://www.learnpyqt.com/tutorials/passwordedit/
When building applications which require a password (or some other secret) from a user you should use fields that hide the input. This prevents shoulder surfing passers by from being able to read off
Link: https://www.learnpyqt.com/tutorials/passwordedit/
When building applications which require a password (or some other secret) from a user you should use fields that hide the input. This prevents shoulder surfing passers by from being able to read off
Learn PyQt
Custom PyQt5/PySide2 PasswordEdit field with Show/Hide toggle
Password editing field, with Show/Hide toggle. The hands-on guide to building PyQt5 apps. Rapid GUI development with Python.
Learn PyQt: Creating Dialogs With Qt Designer — Using the drag and drop editor to build PyQt5 dialogs
Link: https://www.learnpyqt.com/tutorials/creating-dialogs-qt-designer/
Most PyQt GUI applications consist of a main window and several dialogs. Dialogs are small-sized windows that allow you to communicate with your users, either by showing messages on the screen or by t
Link: https://www.learnpyqt.com/tutorials/creating-dialogs-qt-designer/
Most PyQt GUI applications consist of a main window and several dialogs. Dialogs are small-sized windows that allow you to communicate with your users, either by showing messages on the screen or by t
Learn PyQt
Creating Dialogs With Qt Designer
Using the drag and drop editor to build PyQt5 dialogs Most PyQt GUI applications consist of a main window and several dialogs.
Two Bit Arcade: Scroll pHAT Tetris
Link: https://www.chipperbits.com/article/scrollphat-tetris/
The Scroll pHAT is a little 11x5 (55) white LED matrix pHAT which you can control easily from a Raspberry Pi. In this project we'll squeeze a tiny-yet-playable game of Tetris onto the Scroll pHAT.
Link: https://www.chipperbits.com/article/scrollphat-tetris/
The Scroll pHAT is a little 11x5 (55) white LED matrix pHAT which you can control easily from a Raspberry Pi. In this project we'll squeeze a tiny-yet-playable game of Tetris onto the Scroll pHAT.
chipperbits
Scroll pHAT Tetris
The Scroll pHAT is a little 11x5 (55) white LED matrix pHAT which you can control easily from a Raspberry Pi. In this project we'll squeeze a tiny-yet-playable game of Tetris onto the Scroll pHAT. Requirements Raspberry Pi Zero / Zero W You don't need wireless…
Two Bit Arcade: KropBot — Multiplayer internet-controlled robot
Link: https://www.chipperbits.com/article/kropbot-multiplayer-internet-remote-control-raspberry-pi-robot/
KropBot is a little multiplayer robot you can control over the internet. Co-operate with random internet strangers to drive around
in circles and into walls.
If it is online, you can drive the KropBo
Link: https://www.chipperbits.com/article/kropbot-multiplayer-internet-remote-control-raspberry-pi-robot/
KropBot is a little multiplayer robot you can control over the internet. Co-operate with random internet strangers to drive around
in circles and into walls.
If it is online, you can drive the KropBo
chipperbits
KropBot | Multiplayer internet-controlled robot
KropBot is a little multiplayer robot you can control over the internet. Co-operate with random internet strangers to drive around in circles and into walls. If it is online, you can drive the KropBot yourself! Requirements Raspberry Pi Zero W amazon Pi Zero…
Two Bit Arcade: Heart rate (HR) sensors — Photoplethysmography, because that's a real word
Link: https://www.chipperbits.com/article/heartrate-sensor-modules/
Pulse sensors are a common feature of fitness monitors, used to track your activity and cardiac fitness over time. These external monitors use the reflection and absorption of bright green/infra-red l
Link: https://www.chipperbits.com/article/heartrate-sensor-modules/
Pulse sensors are a common feature of fitness monitors, used to track your activity and cardiac fitness over time. These external monitors use the reflection and absorption of bright green/infra-red l
chipperbits
Heart rate (HR) sensors | Photoplethysmography, because that's a real word
Pulse sensors are a common feature of fitness monitors, used to track your activity and cardiac fitness over time. These external monitors use the reflection and absorption of bright green/infra-red light to detect the pulse wave travelling down the artery…
Two Bit Arcade: Building a MicroPython heart rate monitor — Finding the beat in HR sensor data
Link: https://www.chipperbits.com/article/wemos-heart-rate-sensor-display-micropython/
Pulse sensors have become popular due to their use in health-monitors like the Fitbit. The sensors used are cheap, simple and pretty reliable at getting a reasonable indication of heart rate in daily
Link: https://www.chipperbits.com/article/wemos-heart-rate-sensor-display-micropython/
Pulse sensors have become popular due to their use in health-monitors like the Fitbit. The sensors used are cheap, simple and pretty reliable at getting a reasonable indication of heart rate in daily
chipperbits
Building a MicroPython heart rate monitor | Finding the beat in HR sensor data
Pulse sensors have become popular due to their use in health-monitors like the Fitbit. The sensors used are cheap, simple and pretty reliable at getting a reasonable indication of heart rate in daily use. They work by sensing the change in light absorption…
Two Bit Arcade: Wemos D1 pin numbers & functions — Pin mapping and I2C/SPI from MicroPython
Link: https://www.chipperbits.com/article/wemos-d1-pins-micropython/
Below is a quick reference guide to Wemos D1 pin mapping for GPIO, I2C and SPI when working from MicroPython.
Pin mapping
The visible pin numbers written on the Wemos D1 does not relate to the interna
Link: https://www.chipperbits.com/article/wemos-d1-pins-micropython/
Below is a quick reference guide to Wemos D1 pin mapping for GPIO, I2C and SPI when working from MicroPython.
Pin mapping
The visible pin numbers written on the Wemos D1 does not relate to the interna
chipperbits
Wemos D1 pin numbers & functions | Pin mapping and I2C/SPI from MicroPython
Below is a quick reference guide to Wemos D1 pin mapping for GPIO, I2C and SPI when working from MicroPython. Pin mapping The visible pin numbers written on the Wemos D1 does not relate to the internal pin numbering. In MicroPython you need to use the internal…
Two Bit Arcade: Mozarella Ashbadger — A tabbed web-browser in Python, using PyQt
Link: https://www.chipperbits.com/article/web-browser-tabbed-pyqt5/
Mozarella Ashbadger is the latest revolution in web browsing! Go back
and forward! Print! Save files! Get help! (you'll need it). Any similarity to other browsers is entirely coincidental.
This is an
Link: https://www.chipperbits.com/article/web-browser-tabbed-pyqt5/
Mozarella Ashbadger is the latest revolution in web browsing! Go back
and forward! Print! Save files! Get help! (you'll need it). Any similarity to other browsers is entirely coincidental.
This is an
Learnpyqt
MooseAche
Simple web-browser in Python, using PyQt. The hands-on guide to building PyQt5 apps. Rapid GUI development with Python.
Two Bit Arcade: Lucky Cat Spinning-arm Display — Python-powered Maneki-neko persistence of vision scroller
Link: https://www.chipperbits.com/article/lucky-spinning-arm-message-cat/
This build started as something simple: a lucky cat which would
turn on and off automatically in response to some event. Since lucky cats are
associated with good fortune the idea was to make one do
Link: https://www.chipperbits.com/article/lucky-spinning-arm-message-cat/
This build started as something simple: a lucky cat which would
turn on and off automatically in response to some event. Since lucky cats are
associated with good fortune the idea was to make one do
chipperbits
Lucky Cat Spinning-arm Display | Python-powered Maneki-neko persistence of vision scroller
This build started as something simple: a lucky cat which would turn on and off automatically in response to some event. Since lucky cats are associated with good fortune the idea was to make one do this every time I got paid. This was working pretty well…
Two Bit Arcade: Driving I2C OLED displays with MicroPython — I2C monochrome displays with SSD1306
Link: https://www.chipperbits.com/article/oled-displays-i2c-micropython/
These mini monochrome OLED screens make great displays for projects — perfect for data readout, simple UIs or monochrome games.
Requirements
Wemos D1 v2.2+ or good imitations.
amazon
0.91in
Link: https://www.chipperbits.com/article/oled-displays-i2c-micropython/
These mini monochrome OLED screens make great displays for projects — perfect for data readout, simple UIs or monochrome games.
Requirements
Wemos D1 v2.2+ or good imitations.
amazon
0.91in
chipperbits
Driving I2C OLED displays with MicroPython | I2C monochrome displays with SSD1306
These mini monochrome OLED screens make great displays for projects — perfect for data readout, simple UIs or monochrome games. Requirements Wemos D1 v2.2+ or good imitations. amazon 0.91in OLED Screen 128x32 pixels, I2c interface. amazon Breadboard Any size…
Two Bit Arcade: Displaying images on OLED screens — Using 1-bpp images in MicroPython
Link: https://www.chipperbits.com/article/displaying-images-oled-displays/
We've previously covered the basics of driving OLED I2C displays from MicroPython, including simple graphics commands and text. Here we look at displaying monochrome 1 bit-per-pixel images and animati
Link: https://www.chipperbits.com/article/displaying-images-oled-displays/
We've previously covered the basics of driving OLED I2C displays from MicroPython, including simple graphics commands and text. Here we look at displaying monochrome 1 bit-per-pixel images and animati
chipperbits
Displaying images on OLED screens | Using 1-bpp images in MicroPython
We've previously covered the basics of driving OLED I2C displays from MicroPython, including simple graphics commands and text. Here we look at displaying monochrome 1 bit-per-pixel images and animations using MicroPython on a Wemos D1. Processing the images…
Two Bit Arcade: 3D wireframe cube with MicroPython — Basic 3D model rotation and projection
Link: https://www.chipperbits.com/article/3d-rotating-cube-micropython-oled/
An ESP2866 is never going to compete with an actual graphics card. But it has more than enough oomph to explore the fundamentals of 3D graphics. In this short tutorial we'll go through the basics of c
Link: https://www.chipperbits.com/article/3d-rotating-cube-micropython-oled/
An ESP2866 is never going to compete with an actual graphics card. But it has more than enough oomph to explore the fundamentals of 3D graphics. In this short tutorial we'll go through the basics of c
chipperbits
3D wireframe cube with MicroPython | Basic 3D model rotation and projection
An ESP2866 is never going to compete with an actual graphics card. But it has more than enough oomph to explore the fundamentals of 3D graphics. In this short tutorial we'll go through the basics of creating a 3D scene and displaying it on an OLED screen…
Two Bit Arcade: 3-axis Accelerometer-Gyro — Measuring acceleration and orientation with an MPU6050
Link: https://www.chipperbits.com/article/3-axis-gyro-micropython/
Measuring acceleration and rotation has a lot of useful applications, from drone or rocket stablisation to making physically interactive handheld games.
An accelerometer measures proper acceleration,
Link: https://www.chipperbits.com/article/3-axis-gyro-micropython/
Measuring acceleration and rotation has a lot of useful applications, from drone or rocket stablisation to making physically interactive handheld games.
An accelerometer measures proper acceleration,
chipperbits
3-axis Accelerometer-Gyro | Measuring acceleration and orientation with an MPU6050
Measuring acceleration and rotation has a lot of useful applications, from drone or rocket stablisation to making physically interactive handheld games. An accelerometer measures proper acceleration, meaning the rate of change of velocity relative to it's…
Two Bit Arcade: Gyroscopic 3D wireframe cube — Using a 3-axis gyro for live 3D perspective
Link: https://www.chipperbits.com/article/gyroscopic-wireframe-cube/
This little project combines the previous accelerometer-gyroscope code with the 3D rotating OLED cube to produce a 3D cube which responds to gyro input, making it possible to "peek around" the cube wi
Link: https://www.chipperbits.com/article/gyroscopic-wireframe-cube/
This little project combines the previous accelerometer-gyroscope code with the 3D rotating OLED cube to produce a 3D cube which responds to gyro input, making it possible to "peek around" the cube wi
chipperbits
Gyroscopic 3D wireframe cube | Using a 3-axis gyro for live 3D perspective
This little project combines the previous accelerometer-gyroscope code with the 3D rotating OLED cube to produce a 3D cube which responds to gyro input, making it possible to
Two Bit Arcade: Etch-A-Snap — The Raspberry Pi powered Etch-A-Sketch camera
Link: https://www.chipperbits.com/article/etch-a-snap/
Etch-A-Snap is (probably) the worlds first Etch-A-Sketch Camera. Powered by a Raspberry Pi Zero (or Zero W) it snaps photos just like any other camera, but outputs them by drawing to an Pocket Etch-A-
Link: https://www.chipperbits.com/article/etch-a-snap/
Etch-A-Snap is (probably) the worlds first Etch-A-Sketch Camera. Powered by a Raspberry Pi Zero (or Zero W) it snaps photos just like any other camera, but outputs them by drawing to an Pocket Etch-A-
chipperbits
Etch-A-Snap | The Raspberry Pi powered Etch-A-Sketch camera
Etch-A-Snap is (probably) the worlds first Etch-A-Sketch Camera. Powered by a Raspberry Pi Zero (or Zero W) it snaps photos just like any other camera, but outputs them by drawing to an Pocket Etch-A-Sketch screen. Quite slowly. Photos are processed down…
Two Bit Arcade: Image Processing — Preparing the image to plot
Link: https://www.chipperbits.com/article/etch-a-snap--processing/
Etch-A-Sketch is a very simple 2D plotter which is limited to drawing a single unbroken line, of a single thickness and colour which is dark-ish on a silver-ish screen. To be able to plot a photo onto
Link: https://www.chipperbits.com/article/etch-a-snap--processing/
Etch-A-Sketch is a very simple 2D plotter which is limited to drawing a single unbroken line, of a single thickness and colour which is dark-ish on a silver-ish screen. To be able to plot a photo onto
chipperbits
Image Processing | Preparing the image to plot
Etch-A-Sketch is a very simple 2D plotter which is limited to drawing a single unbroken line, of a single thickness and colour which is dark-ish on a silver-ish screen. To be able to plot a photo onto the Etch-A-Sketch we need to transform the image so that…
Two Bit Arcade: Drawing — Converting the image to a line drawing
Link: https://www.chipperbits.com/article/etch-a-snap--drawing/
The image processing produces a 1 bit image (B&W) of 240x144 pixels. The next step is to take this image and convert it into movements for the motors.
The way this is done is governed largely by the
Link: https://www.chipperbits.com/article/etch-a-snap--drawing/
The image processing produces a 1 bit image (B&W) of 240x144 pixels. The next step is to take this image and convert it into movements for the motors.
The way this is done is governed largely by the
chipperbits
Drawing | Converting the image to a line drawing
The image processing produces a 1 bit image (B&W) of 240x144 pixels. The next step is to take this image and convert it into movements for the motors. The way this is done is governed largely by the design of the Etch-A-Sketch — any drawing must be made in…
Two Bit Arcade: Plotter — From drawing instructions to motor movements.
Link: https://www.chipperbits.com/article/etch-a-snap--plotter/
So far we've built the Etch-A-Snap and processed an image to produce a 1 bit image. In this part we’ll look at how to take this image and generate the draw instructions for the plotter.
Etch-A-Sketch
Link: https://www.chipperbits.com/article/etch-a-snap--plotter/
So far we've built the Etch-A-Snap and processed an image to produce a 1 bit image. In this part we’ll look at how to take this image and generate the draw instructions for the plotter.
Etch-A-Sketch
chipperbits
Plotter | From drawing instructions to motor movements.
So far we've built the Etch-A-Snap and processed an image to produce a 1 bit image. In this part we’ll look at how to take this image and generate the draw instructions for the plotter. Etch-A-Sketch is a very simple 2D plotter which is limited to drawing…
Talk Python to Me: #289 Discovering exoplanets with Python
Link: https://talkpython.fm/episodes/show/289/discovering-exoplanets-with-python
When I saw the headline "Machine learning algorithm confirms 50 new exoplanets in historic first" I knew the Python angle of this story had to be told! And that's how this episode was born. Join David
Link: https://talkpython.fm/episodes/show/289/discovering-exoplanets-with-python
When I saw the headline "Machine learning algorithm confirms 50 new exoplanets in historic first" I knew the Python angle of this story had to be told! And that's how this episode was born. Join David
talkpython.fm
Discovering exoplanets with Python
When I saw the headline 'Machine learning algorithm confirms 50 new exoplanets in historic first' I knew the Python angle of this story had to be told! And that's how this episode was born. Join David Armstrong and Jev Gamper as they tell us how they use…
Python⇒Speed: Optimizing your code is not the same as parallelizing your code
Link: https://pythonspeed.com/articles/do-you-need-cluster-or-multiprocessing/
You’re processing a large amount of data with Python, the processing seems easily parallelizable—and it’s sloooooooow.
The obvious next step is switch to some sort of multiprocessing, or even start pr
Link: https://pythonspeed.com/articles/do-you-need-cluster-or-multiprocessing/
You’re processing a large amount of data with Python, the processing seems easily parallelizable—and it’s sloooooooow.
The obvious next step is switch to some sort of multiprocessing, or even start pr
Python⇒Speed
Optimizing your code is not the same as parallelizing your code
To make your Python code faster, start with optimizing single-threaded versions, then consider multiprocessing, and only then think about a cluster.