A blog post looking at using Python to create or read QR Codes.
Category: Python
An Asset WebApp (Flask / Python)
The Software Engineering & Agile module of my degree apprenticeship is coming to a close. With that in mind I think I can now share the coding I've done for the assignment especially as I needed to store it in a public repository (it's on my GitHub at https://github.com/geektechdude/qa-se-webapp ) as part of the submissions … Continue reading An Asset WebApp (Flask / Python)
Running Flask As A Linux Service (Linux / Python)
Continuing on with the Software Engineering & Agile module of my degree, I need to be able to show my Flask web application running. After picking a cloud platform (in this case Azure) I git cloned my repository to the Linux Ubuntu instance that will be running it and realised that I've not included a … Continue reading Running Flask As A Linux Service (Linux / Python)
Using GitHub Actions To Add Continuous Integration (CI) To A Project (GitHub / Python)
In this blog post I will be discussing Continuous Integration (CI) with GitHub Actions. Readers of previous blog entries may remember that I’ve tackled Continuous Integration (CI) with GitLab previously (see: https://geektechstuff.com/2021/04/05/python-unit-test-and-some-ci-via-gitlab-python/ ) and that last autumn (2021) I got into more testing (see: https://geektechstuff.com/2021/10/06/personal-update-django-and-mvc-mtv/ ). Thankfully both have helped as the current module of my degree apprenticeship is … Continue reading Using GitHub Actions To Add Continuous Integration (CI) To A Project (GitHub / Python)
AttributeError: ‘FlaskClientTestCase’ object has no attribute ‘app_context’ – Unit Testing (Python)
Less of blog post and more of a reminder to myself. When using Flask and Unit Testing with Python, if either of the below errors occur (or something similar): AttributeError: 'FlaskClientTestCase' object has no attribute 'client' AttributeError: 'FlaskClientTestCase' object has no attribute 'app_context' Then it may be because the setUp function of the test class … Continue reading AttributeError: ‘FlaskClientTestCase’ object has no attribute ‘app_context’ – Unit Testing (Python)
Jupyter Notebook via Docker on Raspberry Pi (Python, Raspberry Pi)
With my Data Analytics learnings continuing at a fair pace I need to be able to turn data into something nice (e.g., plot it onto charts). I could use Power BI or R , but as regular readers may know my preference for most tasks is Python. Python offers several libraries that are great for … Continue reading Jupyter Notebook via Docker on Raspberry Pi (Python, Raspberry Pi)
Docker – Environment Variables, Env File & A Little Django (Python)
Why Use Environment Variables? Whilst building my Django project I replaced several of the values within settings.py with an option for them to be read from environment variables, rather than storing them in plain text within settings.py. This change allows me to store the settings.py file within a source control repository (e.g. Git) and also … Continue reading Docker – Environment Variables, Env File & A Little Django (Python)
Personal Update, Django and MVC / MTV
Last autumn (2020) I started a university degree apprenticeship to make up for that fact that I don't currently have a degree and that I enjoy learning a lot more now than I did in my late teens/early 20s. One of the modules I'm undertaking is Web Application Development, which I'm going to expand on … Continue reading Personal Update, Django and MVC / MTV
AWS DeepRacer – Reinforcement Learning (Machine Learning)
My interest in machine learning has continued to grow and this week I had the opportunity to attend an AWS DeepRacer event. As I'm taking a look at DeepRacer I decided to write this blog post to store my notes and hopefully help me with some of the options. The aim of DeepRacer is to … Continue reading AWS DeepRacer – Reinforcement Learning (Machine Learning)
Practical Deep Learning – Book Review (Python)
Machine learning is a very big field for both amateur and professional computer scientists. This depth can make accessing the topic, which is dynamic and fast moving, seem complicated. Thankfully Ronald T. Kneusel has stepped up with a book to not only introduce the topic but also to lay the groundwork with skills to help … Continue reading Practical Deep Learning – Book Review (Python)
You must be logged in to post a comment.