Skip to content

python

Python development patterns, libraries, performance optimization, and real-world applications across web, data, and automation.

4 articles

  • Fetch using Gitlab API

    TL;DR Python script that uses the GitLab API with a private token to automatically clone or fetch all your accessible repositories handling configuration via JSON and providing both argparse and config file versions for convenience.

    Between gitlab repos that need daily tracking and frequent machine changes, the manual cloning and sync process became exhausting. An automation script was the obvious next step to offload the boring tasks.

    Read more →
  • PyConDe & PyData 2019

    TL;DR Personal diary style recap of attending PyConDE and PyData 2019 in Berlin covering keynotes talks tutorials sprint days and personal highlights such as meeting core developers and contributing to Bokeh.

    Fresh back from PyConDe & PyData-2019, this post shares and documents the experience. Think of it as a diary more than a blog, covering:

    Read more →
  • Custom Selenium Webdrivers using Decorators

    TL;DR Learn how to dynamically create custom Selenium WebDriver classes for different browser versions using Python decorators and class factories so you can easily run tests with multiple Firefox and Chrome binaries in parallel.

    How to create custom selenium webdriver classes dynamically with a parametrized browser binary path?

    Read more →
  • Opencv on Openshift

    TL;DR This post provides a bash script and step by step instructions to successfully install OpenCV in a Python 2.7 cartridge on OpenShift Online while working around the strict 1GB quota limitation.

    When I wanted to intall opencv on my python-2.7 openshift online cartridge I faced the problem of quota limitation to 1GB.

    Read more →