Countly Two Factor Authentication Plugin

Sticky Post

Countly is an enterprise grade Web and Mobile Analytics platform which provides a 360° view of your customer journey on mobile and web. Countly’s unique plugin architecture, rich default feature set, deployment flexibility and tailored SLA coverage makes it the… Continue Reading →

Top five reasons why Engineers should use Python (instead of Matlab / MathCAD / Excel)

Sticky Post

Before getting into programming, I worked as a Mechanical Engineer in the steel and rail industry. Whilst a lot of engineering inevitably involves boring bits like finance and project management, we do spend a fair amount of time doing mathematical… Continue Reading →

AndyPi WordPress & Landing Page Hosting

Sticky Post

AndyPi offers managed WordPress hosting and single-landing page / events page web hosting. Our customized service is specifically for people who want the hassle taken out of their web presence – we don’t give you have loads of different logins… Continue Reading →

Python for Mechanical Engineers – Rail Brake distance calculations

In the second post in this series on Python for Mechanical Engineers, we’ll do an example calculation to show the flexibility of Python and Jupyter labs. You can follow this tutorial with the code available on github.   1. Problem… Continue Reading →

Python for Mechanical Engineers – Introduction

In this series you’ll find walk-throughs of several different projects which show how Python can be used effectively in mechanical engineering. The purpose of these walk-throughs is to give mechanical engineers a vision of how they can use Python in… Continue Reading →

Publishing a Python Package on pypi (warehouse)

One of the great advantages of Python is the ecosystem of thousands of packages that you can easily add functionality to a project – and these packages are very easy to install – just: pip install package_name In this tutorial… Continue Reading →

Make code easier to read with explicitly named parameters in Python 3

One of the (few!) frustrating things I find when I’m either reading my own or someone else’s Python code is when I come across a function call like this(1): Arrrgh! Unless you are sufficiently up to speed with the function… Continue Reading →

Restoring tables to multiple columns after paste from PDF dumps into one column

During a recent project I had to take a number of tables from a PDF into a spreadsheet. PDFs are great for viewing but with tables they don’t always preserve the structure. Unfortunately my spreadsheet software could not split the… Continue Reading →

5. Use a version control system (Python: beginner to pro in five steps)

Top five things to improve your coding (in no particular order): 1. Document your code (automatically) 2. Write Object Oriented code 3. Get acquainted with useful packages 4. Write tests for your code 5. Use a version control system (This… Continue Reading →

How to Deploy Multiple WordPress Sites Using Virtualmin and Ansible on Ubuntu 16

Digital Ocean and Vultr and other VPS providers have an ability to create a snapshot of a server to be reused, and easily spin up a server with your particular configuration – however that locks you in to their platform…. Continue Reading →

4. Write tests for your code (Python: beginner to pro in five steps)

Top five things to improve your coding (in no particular order): 1. Document your code (automatically) 2. Write Object Oriented code 3. Get acquainted with useful packages 4. Write tests for your code (This post) 5. Use a version control… Continue Reading →

Contributing to an Open Source Python project

A few weeks ago I wrote an Ansible module for Fly. To give you some background, Fly is an application delivery network which I mainly use for auto provisioning SSL certificates for static websites, and Ansible is an open source… Continue Reading →

3. Get acquainted with useful packages (Python: beginner to pro in five steps)

Top five things to improve your coding (in no particular order): 1. Document your code (automatically) 2. Write Object Oriented code 3. Get acquainted with useful packages (This post) 4. Write tests for your code 5. Use a version control… Continue Reading →

« Older posts

© 2018 AndyPi — Powered by WordPress

Theme by Anders NorenUp ↑