Software development and beyond.
Software development and beyond.
Articles and notes by Petr Stříbný.
  • Twitter
Skip to content

Python

There are 4 posts tagged Python (this is page 1 of 1).

Debugging Python programs

There are different ways to debug Python programs, from printing information to the console using basic print() function to using a full-fledged debugger. In this article we will have a look at some basic tools that we can use, including less known tools like PySnooper or stackprinter. I have created an accompanying repository python-debugging with […]

3 Comments

Measuring Python code complexity with wily

It is good to have some idea about our code complexity. This is especially true for large codebases and large teams where complexity can seriously slow down development and introduce bugs. Every developer probably has some opinion whether a particular code or project is complex, but what if we want to express it with some […]

Comment

Flask API Quickstart Application with JSON Web Tokens, SQLAlchemy and Pytest

I created a sample Flask application that shows how to create HTTP API with authentication provided by JSON Web Tokens. It can be used to learn a bit about Flask, SQLAlchemy, JSON Web Tokens, Pytest and how it all works together. In particular, it shows how to: hash passwords using bcrypt issue and verify JWT […]

Comment

Rockets: Python-based launch page

It has been 2 years already since I first played with Python and Flask and ended up creating Rockets. At the time, I was learning the basics and wanted to create something useful. Rockets is a very simple, one file Flask application that shows a sign up form for collecting email addresses. It uses only […]

Comment

Topics

  • JavaScript
  • Vue.js
  • Python
  • Software development
  • Development tools
  • Testing