Category: Python

Bottle – Python micro framework

Bottle – Python micro framework

Like Flask, Bottle is a Python micro-framework. It is so micro that it only consists of a single file. Whilst Flask is already a fairly small framework, some developers prefer Bottle, mainly for its...

Flask and Angular on Heroku

Flask and Angular on Heroku

I am working my way through this excellent tutorial, covering Python3, Flask, Angular, Heroku, SQLAlchemy, Alembic, requests, Beautiful Soup, NLTK, Redis and D3. Here are some extra notes To stop me from blindly copying/pasting...

A simple Python Flask app on WebFaction

A simple Python Flask app on WebFaction

Flask is a popular Python-based micro framework. Here is how to install it on WebFaction. This is based on the Flask instructions and the WebFaction instructions. Log into your WebFaction control panel Domains/Websites ->...

Python, Bottle and websockets

Python, Bottle and websockets

Here is a simple websockets demo, using Python and Bottle, based on the example on the Bottle website Requirements: pip install bottle pip install python-dev pip install gevent-websocket Create websockets.py, from the source code...

Simple websocket client in Python

Simple websocket client in Python

If you’re developing a websocket app you may need to throw some tests at it. Whilst looking for a websocket client I came across this client,  which makes it very easy to generate websocket...